Ticket #23796 (closed defect: duplicate)
no support for build_arch in boost
|Reported by:||johannes.behr@…||Owned by:||adfernandes@…|
Description (last modified by macsforever2000@…) (diff)
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:
- install macports pkg
- edit etc/macports/macports.conf and activate "build_arch i386"
- 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.
- Keywords build_arch i386 32 removed
- Owner changed from macports-tickets@… to nox@…
- Description modified (diff)
- Owner changed from macports-tickets@… to adfernandes@…
- Cc johannes.behr@… removed