[MacPorts] #23796: no support for build_arch in boost
MacPorts
noreply at macports.org
Sat Feb 20 05:44:41 PST 2010
#23796: no support for build_arch in boost
-------------------------------------+--------------------------------------
Reporter: johannes.behr@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: build_arch i386 32 | Port: boost
-------------------------------------+--------------------------------------
I tried to install a pure 32-bit version on snow leopard but failed since
boost does not support the build_arch since boost. To verify this bug do
the following:
1) install macports pkg
2) edit etc/macports/macports.conf and activate "build_arch i386"
3) sudo port install boost
The (attached) errot output says:
ld: warning: in /opt/local/lib/libbz2.dylib, file is not of required
architecture
ld: warning: in /opt/local/lib/libz.dylib, file is not of required
architecture
So the bzip2 and zlib ports are not installed for the same architecture as
that for which the system tries to build boost.
guessed reason: bzip2 and zlib are built for i386, since build_arch is set
to i386 in macports.conf and they suport build_arch. boost does not
support changing build_arch and is therefore still trying to build for
x86_64. A quick glance in the portfile shows that it doesn't use the
standard configure phase (which is how ports automatically acquire support
for changing build_arch) and searching the portfile for "arch" doesn't
show any code that would cause the port to respect build_arch.
--
Ticket URL: <http://trac.macports.org/ticket/23796>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list