#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 | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: reopened => closed * cc: carsomyr@… (added) * resolution: => fixed Comment: 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 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.
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:11> MacPorts <http://www.macports.org/> Ports system for Mac OS