#28327 closed defect (fixed)
boost does not follow build_arch
Reported by: | andrebragareis@… | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | boost |
Description
I'm trying to build boost with 'build_arch i386' in my macports.conf, but the linker complains that it's trying to link x86_64 objects with the i386 dependencies:
ld: warning: in /opt/local/lib/libbz2.dylib, file was built for i386 which is not the architecture being linked (x86_64) ld: warning: in /opt/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
My best guess is that boost is ignoring build_arch. This macports installation was deployed from the start with the i386 arch, and boost is the first package to exhibit this kind of problem.
I'm attaching boost's build log in a bit.
Attachments (2)
Change History (8)
Changed 14 years ago by andrebragareis@…
Attachment: | log-boost.txt added |
---|
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Cc: | adfernandes@… removed |
---|---|
Owner: | changed from macports-tickets@… to adfernandes@… |
comment:2 Changed 14 years ago by adfernandes (Andrew Fernandes)
I think I say the same thing every time I need to build boost... I hate boost's bjam build system... :-)
Please try the attached patch and let me know if the build_arch is being correctly honoured.
Changed 14 years ago by adfernandes (Andrew Fernandes)
Attachment: | Portfile.diff added |
---|
comment:3 Changed 14 years ago by andrebragareis@…
Works flawlessly, thank you! I can't vouch for the PPC part, but it looks good to send upstream. Many thanks.
comment:4 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was committed in r75847.
Note: See
TracTickets for help on using
tickets.
Log of
port -dv install boost