#30974: virtualbox: build failure when curl is not installed universal -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: Port: virtualbox | -------------------------------------------+-------------------------------- Comment(by carsomyr@…): Replying to [comment:11 ryandesign@…]:
Replying to [comment:10 carsomyr@…]:
I am against the change of forcing VirtualBox to build only i386, feeling that it is heavy-handed.
I did not force virtualbox to build i386. Virtualbox forces itself to build i386. I merely updated the portfile to correspond to the reality of how virtualbox builds itself. Requests to have a 64-bit build of virtualbox must be met by the developers of virtualbox, unless there's a configuration switch they've already built in to do that, but I doubt it, since they're deliberately ignoring and overwriting MacPorts' existing request to build 64-bit (which happens by setting `-arch` flags in CFLAGS, CPPFLAGS, and LDFLAGS, which works on most other software).
The VirtualBox binaries are showing up as 64-bit for me (see the attachment "word_size"). Perhaps you mean not so much as forcing i386 as building whatever the default architecture is?
The problem with cURL seems to be an interaction of Snow Leopard with cURL and ''not'' with downstream Ports.
Only because as of Snow Leopard the compiler builds 64-bit by default instead of 32-bit as before.
By forcing the i386 variant, that essentially means that all dependencies (I'm looking at you, qt4-mac) are forced to build universal on 64-bit kernels.
The bitness of your kernel is irrelevant to everything except what bitness of kernel extensions you can run. Apple produced years worth of 64-bit Intel Macs that boot to a 32-bit kernel, which again is no detriment to being able to run 64-bit software on those machines.
VirtualBox was been building fine for me on 64-bit Snow Leopard. If it's not bitness, then what would you identify as the cause of the build failure?
Taking a long time aside, building universal for so many dependencies
is a potentially fertile source for more problems.
If you find problems building ports universal (or any other manner),
file bug reports. I have been building ports universal for two years, since Snow Leopard came out; the dependencies of virtualbox build universal without problems. -- Ticket URL: <https://trac.macports.org/ticket/30974#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS