[MacPorts] #34018: boost fails to build +universal i386,x86_64,ppc
#34018: boost fails to build +universal i386,x86_64,ppc ---------------------------------------------------+------------------------ Reporter: jeremyhu@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: universal muniversal merger_dont_diff | Port: boost ---------------------------------------------------+------------------------ If you have universal_archs set to i386 x86_64 ppc, boost will try to build for ppc64 which will cause it to fail to link due to missing dependencies. It seems this is a deficiency in boost's logic. It has a switch for ppc/intel/both and a switch for 32/64/both, so you can't represent this configuration accurately with those options. -- Ticket URL: <https://trac.macports.org/ticket/34018> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34018: boost fails to build +universal i386,x86_64,ppc ---------------------------------------------------+------------------------ Reporter: jeremyhu@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: universal muniversal merger_dont_diff | Port: boost ---------------------------------------------------+------------------------ Comment(by jeremyhu@…): This patch looks like it should do the trick, I'm testing it now... {{{ Index: Portfile =================================================================== --- Portfile (revision 91896) +++ Portfile (working copy) @@ -281,6 +281,11 @@ if {[lsearch ${universal_archs} *64] != -1} { if {[lsearch ${universal_archs} i386] != -1 || [lsearch ${universal_archs} ppc] != -1} { build.args-append address-model=32_64 + if {[lsearch ${universal_archs} ppc64] == -1} { + post-patch { + reinplace "/local support-ppc64 =/s/= 1/= /" ${worksrcpath}/tools/build/v2/tools/darwin.jam + } + } } else { build.args-append address-model=64 } }}} -- Ticket URL: <https://trac.macports.org/ticket/34018#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34018: boost fails to build +universal i386,x86_64,ppc ---------------------------------------------------+------------------------ Reporter: jeremyhu@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: universal muniversal merger_dont_diff | Port: boost ---------------------------------------------------+------------------------ Comment(by jeremyhu@…): Yep, that worked. -- Ticket URL: <https://trac.macports.org/ticket/34018#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34018: boost fails to build +universal i386,x86_64,ppc ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: universal muniversal merger_dont_diff Port: boost | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r92444 -- Ticket URL: <https://trac.macports.org/ticket/34018#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts