[MacPorts] #21408: boost 1.40.0 +universal build fails on Snow Leopard

MacPorts noreply at macports.org
Sat Oct 3 21:19:43 PDT 2009


#21408: boost 1.40.0 +universal build fails on Snow Leopard
-----------------------------------------+----------------------------------
  Reporter:  blakharaz@…                 |       Owner:  nox@…           
      Type:  defect                      |      Status:  closed          
  Priority:  Normal                      |   Milestone:                  
 Component:  ports                       |     Version:                  
Resolution:  fixed                       |    Keywords:                  
      Port:  boost                       |  
-----------------------------------------+----------------------------------

Comment(by dbsgeo@…):

 I can confirm that this now works for me as well on snow leopard building
 universal with {{{universal_archs             x86_64 i386}}} in
 macports.conf

 But now testing +universal on leopard(10.5) with {{{universal_archs
 x86_64 i386 ppc}} I get:

 {{{
 --->  Building boost
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_boost/work/boost_1_40_0"
 && bjam -j2 -d2 --layout=tagged --debug-configuration --ignore-site-config
 --user-config=user-config.jam --without-mpi
 -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib
 -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib
 -sICU_PATH=/opt/local pch=off architecture=combined --disable-long-double
 address-model=32_64 " returned error 1
 Command output: darwin.compile.c++
 bin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-multi/mapped_file.o

     "/usr/bin/g++-4.0"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -Wall -no-cpp-precomp -gdwarf-2 -Wno-long-double -arch i386 -arch
 ppc -arch x86_64 -arch ppc64 -m64  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"."
 -I"/opt/local/include" -c -o
 "bin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-multi/mapped_file.o"
 "libs/iostreams/src/mapped_file.cpp"

 lipo: /var/tmp//cc5bxv86.out and /var/tmp//ccMMEpCO.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++
 bin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-
 multi/mapped_file.o...
 darwin.compile.c++ bin.v2/libs/iostreams/build/darwin-4.0.1/release
 /address-model-32_64/architecture-combined/link-static/pch-off/threading-
 multi/zlib.o

     "/usr/bin/g++-4.0"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -Wall -no-cpp-precomp -gdwarf-2 -Wno-long-double -arch i386 -arch
 ppc -arch x86_64 -arch ppc64 -m64  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"."
 -I"/opt/local/include" -c -o
 "bin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-multi/zlib.o"
 "libs/iostreams/src/zlib.cpp"

 lipo: /var/tmp//ccIRtSRy.out and /var/tmp//cctm8NO9.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++
 bin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-multi/zlib.o...
 darwin.compile.c++ bin.v2/libs/iostreams/build/darwin-4.0.1/release
 /address-model-32_64/architecture-combined/link-static/pch-off/threading-
 multi/bzip2.o

     "/usr/bin/g++-4.0"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -Wall -no-cpp-precomp -gdwarf-2 -Wno-long-double -arch i386 -arch
 ppc -arch x86_64 -arch ppc64 -m64  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"."
 -I"/opt/local/include" -c -o
 "bin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-multi/bzip2.o"
 "libs/iostreams/src/bzip2.cpp"

 lipo: /var/tmp//ccEJ4jNt.out and /var/tmp//ccTgGc5Q.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++
 bin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-multi/bzip2.o...
 ...skipped <pbin.v2/libs/iostreams/build/darwin-4.0.1/release/address-
 model-32_64/architecture-combined/link-static/pch-off/threading-multi
 >libboost_iostreams-mt.a for lack of
 <pbin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-
 multi>file_descriptor.o...
 ...skipped <pstage/lib>libboost_iostreams-mt.a for lack of
 <pbin.v2/libs/iostreams/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/link-static/pch-off/threading-multi
 >libboost_iostreams-mt.a...
 darwin.compile.c++ bin.v2/libs/graph/build/darwin-4.0.1/release/address-
 model-32_64/architecture-combined/pch-off/threading-
 multi/read_graphviz_new.o

     "/usr/bin/g++-4.0"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -arch
 i386 -arch ppc -arch x86_64 -arch ppc64 -fPIC -m64  -DBOOST_ALL_NO_LIB=1
 -DBOOST_GRAPH_DYN_LINK=1 -DBOOST_GRAPH_NO_LIB=1 -DNDEBUG  -I"."
 -I"libs/graph/src" -c -o "bin.v2/libs/graph/build/darwin-4.0.1/release
 /address-model-32_64/architecture-combined/pch-off/threading-
 multi/read_graphviz_new.o" "libs/graph/src/read_graphviz_new.cpp"

 lipo: /var/tmp//ccLvrxsQ.out and /var/tmp//ccACpR1p.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++ bin.v2/libs/graph/build/darwin-4.0.1/release
 /address-model-32_64/architecture-combined/pch-off/threading-
 multi/read_graphviz_new.o...
 ...skipped <pstage/lib>libboost_graph-mt.dylib for lack of
 <pbin.v2/libs/graph/build/darwin-4.0.1/release/address-model-32_64
 /architecture-combined/pch-off/threading-multi>read_graphviz_new.o...
 ...failed updating 453 targets...
 ...skipped 69 targets...
 ...updated 181 targets...

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21408#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list