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

MacPorts noreply at macports.org
Tue Sep 15 15:58:59 PDT 2009


#21408: boost 1.40.0 +universal build fails on Snow Leopard
----------------------------------------+-----------------------------------
 Reporter:  blakharaz@…                 |       Owner:  nox@…           
     Type:  defect                      |      Status:  new             
 Priority:  Normal                      |   Milestone:                  
Component:  ports                       |     Version:  1.8.0           
 Keywords:                              |        Port:  boost           
----------------------------------------+-----------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => nox@…


Old description:

> I wanted to build boost for both 32bit and 64bit, but the build fails
> with the error
>
> --->  Building boost
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_40_0"
> && bjam -j2 -d2 --layout=tagged --debug-configuration --ignore-site-
> config --user-config=user-config.jam --without-python --without-mpi
> -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib
> -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib
> architecture=x86 address-model=32_64 " returned error 1
> Command output: lipo: /var/tmp//ccjstpEy.out and /var/tmp//cc3dMZ8C.out
> have the same architectures (x86_64) and can't be in the same fat output
> file
> ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
> /address-model-32_64/architecture-x86/link-static/threading-
> multi/token_ids.o...
> darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/wave_config_constant.o
>
>     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
> inline -Wall -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
> -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
> "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/wave_config_constant.o" "libs/wave/src/wave_config_constant.cpp"
>
> lipo: /var/tmp//cc5GRoAa.out and /var/tmp//cccShCx4.out have the same
> architectures (x86_64) and can't be in the same fat output file
> ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
> /address-model-32_64/architecture-x86/link-static/threading-
> multi/wave_config_constant.o...
> darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/cpplexer/re2clex/aq.o
>
>     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
> inline -Wall -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
> -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
> "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/cpplexer/re2clex/aq.o" "libs/wave/src/cpplexer/re2clex/aq.cpp"
>
> lipo: /var/tmp//cczeDfyu.out and /var/tmp//cchFEdEO.out have the same
> architectures (x86_64) and can't be in the same fat output file
> ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
> /address-model-32_64/architecture-x86/link-static/threading-
> multi/cpplexer/re2clex/aq.o...
> darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/instantiate_re2c_lexer_str.o
>
>     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
> inline -Wall -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
> -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
> "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/instantiate_re2c_lexer_str.o"
> "libs/wave/src/instantiate_re2c_lexer_str.cpp"
>
> lipo: /var/tmp//ccvNF8h9.out and /var/tmp//ccSLZ03L.out have the same
> architectures (x86_64) and can't be in the same fat output file
> ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
> /address-model-32_64/architecture-x86/link-static/threading-
> multi/instantiate_re2c_lexer_str.o...
> darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/cpplexer/re2clex/cpp_re.o
>
>     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
> inline -w -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
> -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
> "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi/cpplexer/re2clex/cpp_re.o"
> "libs/wave/src/cpplexer/re2clex/cpp_re.cpp"
>
> lipo: /var/tmp//cc0C1Ip9.out and /var/tmp//ccCBTh1t.out have the same
> architectures (x86_64) and can't be in the same fat output file
> ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
> /address-model-32_64/architecture-x86/link-static/threading-
> multi/cpplexer/re2clex/cpp_re.o...
> ...skipped <pbin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-multi>libboost_wave-
> mt.a for lack of <pbin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-
> multi>instantiate_cpp_exprgrammar.o...
> ...skipped <pstage/lib>libboost_wave-mt.a for lack of
> <pbin.v2/libs/wave/build/darwin-4.2.1/release/address-
> model-32_64/architecture-x86/link-static/threading-multi>libboost_wave-
> mt.a...
> ...failed updating 233 targets...
> ...skipped 338 targets...

New description:

 I wanted to build boost for both 32bit and 64bit, but the build fails with
 the error

 {{{
 --->  Building boost
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_40_0"
 && bjam -j2 -d2 --layout=tagged --debug-configuration --ignore-site-config
 --user-config=user-config.jam --without-python --without-mpi
 -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib
 -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib
 architecture=x86 address-model=32_64 " returned error 1
 Command output: lipo: /var/tmp//ccjstpEy.out and /var/tmp//cc3dMZ8C.out
 have the same architectures (x86_64) and can't be in the same fat output
 file
 ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
 /address-model-32_64/architecture-x86/link-static/threading-
 multi/token_ids.o...
 darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/wave_config_constant.o

     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -Wall -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
 -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
 "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/wave_config_constant.o" "libs/wave/src/wave_config_constant.cpp"

 lipo: /var/tmp//cc5GRoAa.out and /var/tmp//cccShCx4.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
 /address-model-32_64/architecture-x86/link-static/threading-
 multi/wave_config_constant.o...
 darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/cpplexer/re2clex/aq.o

     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -Wall -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
 -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
 "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/cpplexer/re2clex/aq.o" "libs/wave/src/cpplexer/re2clex/aq.cpp"

 lipo: /var/tmp//cczeDfyu.out and /var/tmp//cchFEdEO.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
 /address-model-32_64/architecture-x86/link-static/threading-
 multi/cpplexer/re2clex/aq.o...
 darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/instantiate_re2c_lexer_str.o

     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -Wall -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
 -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
 "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/instantiate_re2c_lexer_str.o"
 "libs/wave/src/instantiate_re2c_lexer_str.cpp"

 lipo: /var/tmp//ccvNF8h9.out and /var/tmp//ccSLZ03L.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
 /address-model-32_64/architecture-x86/link-static/threading-
 multi/instantiate_re2c_lexer_str.o...
 darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/cpplexer/re2clex/cpp_re.o

     "/usr/bin/g++-4.2"  -ftemplate-depth-128 -O3 -finline-functions -Wno-
 inline -w -no-cpp-precomp -gdwarf-2 -arch i386 -arch x86_64 -m64
 -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o
 "bin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi/cpplexer/re2clex/cpp_re.o"
 "libs/wave/src/cpplexer/re2clex/cpp_re.cpp"

 lipo: /var/tmp//cc0C1Ip9.out and /var/tmp//ccCBTh1t.out have the same
 architectures (x86_64) and can't be in the same fat output file
 ...failed darwin.compile.c++ bin.v2/libs/wave/build/darwin-4.2.1/release
 /address-model-32_64/architecture-x86/link-static/threading-
 multi/cpplexer/re2clex/cpp_re.o...
 ...skipped <pbin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-multi>libboost_wave-
 mt.a for lack of <pbin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-
 multi>instantiate_cpp_exprgrammar.o...
 ...skipped <pstage/lib>libboost_wave-mt.a for lack of
 <pbin.v2/libs/wave/build/darwin-4.2.1/release/address-
 model-32_64/architecture-x86/link-static/threading-multi>libboost_wave-
 mt.a...
 ...failed updating 233 targets...
 ...skipped 338 targets...
 }}}

--

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


More information about the macports-tickets mailing list