[MacPorts] #28327: boost does not follow build_arch
#28327: boost does not follow build_arch --------------------------------------+------------------------------------- Reporter: andrebragareis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost --------------------------------------+------------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/28327> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28327: boost does not follow build_arch --------------------------------------+------------------------------------- Reporter: andrebragareis@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost --------------------------------------+------------------------------------- Changes (by jmr@…): * cc: adfernandes@… (removed) * owner: macports-tickets@… => adfernandes@… -- Ticket URL: <https://trac.macports.org/ticket/28327#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28327: boost does not follow build_arch --------------------------------------+------------------------------------- Reporter: andrebragareis@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost --------------------------------------+------------------------------------- Comment(by adfernandes@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/28327#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28327: boost does not follow build_arch --------------------------------------+------------------------------------- Reporter: andrebragareis@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost --------------------------------------+------------------------------------- Comment(by andrebragareis@…): Works flawlessly, thank you! I can't vouch for the PPC part, but it looks good to send upstream. Many thanks. -- Ticket URL: <https://trac.macports.org/ticket/28327#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28327: boost does not follow build_arch ---------------------------------------+------------------------------------ Reporter: andrebragareis@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: boost | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: This was committed in r75847. -- Ticket URL: <https://trac.macports.org/ticket/28327#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts