[MacPorts] #30974: virtualbox: build failure when curl is not installed universal
MacPorts
noreply at macports.org
Fri Aug 26 20:19:57 PDT 2011
#30974: virtualbox: build failure when curl is not installed universal
-------------------------------------------+--------------------------------
Reporter: macsforever2000@… | Owner: macports-tickets@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.0.99
Resolution: | Keywords:
Port: virtualbox |
-------------------------------------------+--------------------------------
Changes (by carsomyr@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
I am against the change of forcing VirtualBox to build only i386, feeling
that it is heavy-handed. The problem with cURL seems to be an interaction
of Snow Leopard with cURL and ''not'' with downstream Ports. 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.
Taking a long time aside, building universal for so many dependencies is a
potentially fertile source for more problems. After Googling extensively,
I made the following observations and inferences:
1. The problem only arose on Snow Leopard.
2. Snow Leopard is a transitionary OS from 32-bit to 64-bit.
3. The word length mismatch arises from LP64 being defined and
CURL_SIZEOF_LONG set to a value not matching sizeof(long).
4. Inference: Those building on 32-bit Snow Leopard are seeing this
problem.
Actually, I think the fix ''may'' be quite simple: Take out the offending
sanity checks in the cURL Port and maybe file a bug with upstream. I say
''may'' because the sanity checks might be preventing illegal operations
from happening.
--
Ticket URL: <https://trac.macports.org/ticket/30974#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list