Broken boost builds

532 views
Skip to first unread message

Jim Galarowicz

unread,
Mar 14, 2016, 12:01:10 AM3/14/16
to sp...@googlegroups.com
Hi all,

I'm trying to build the components needed for building OpenSpeedShop, but the build of boost is failing with the new devel branch.
It looks like the old boost package.py file didn't list all the specific libraries explicitly, but the new boost package file does.  
That might be problematic, as my failed builds are complaining about specific packages not being valid:
   1.50.0 ---> error: wrong library name 'atomic' in the --with-<library> option.
   1.53.0 -->  error: wrong library name 'log' in the --with-<library> option.

I was able to build boost-1.57.0, but I'm not sure how many other versions are broken.  I only tried three.
Just letting people know.

Thanks,
Jim G

1.50.0 failed build output:

[jeg@localhost cbtf]$ cat /tmp/jeg/spack-stage/spack-stage-bzm9O0/boost_1_50_0/spack-build.out
==> ./bootstrap.sh --prefix=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/boost-1.50.0-xnpaaeglcwue63jdc35d7ioqsvpmj4yn --with-toolset=gcc --with-libraries=locale,random,wave,atomic,serialization,iostreams,regex,date_time,log,thread,chrono,graph,system,signals,program_options,filesystem,test,math
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Unicode/ICU support for Boost.Regex?... /usr
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2
   
To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
    
   - Getting started guide:
     http://www.boost.org/more/getting_started/unix-variants.html
    
   - Boost.Build documentation:
     http://www.boost.org/boost-build2/doc/html/index.html

==> ./b2 install threading=multi -j 8 variant=release -s BZIP2_INCLUDE=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/bzip2-1.0.6-nmju5kl2e6q2ehr5kkxayzkd3eaa5pm4/include -s BZIP2_LIBPATH=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/bzip2-1.0.6-nmju5kl2e6q2ehr5kkxayzkd3eaa5pm4/lib -s ZLIB_INCLUDE=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/zlib-1.2.8-lxtvpw7f36ctdaolhy3iki63kcdy3kjw/include -s ZLIB_LIBPATH=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/zlib-1.2.8-lxtvpw7f36ctdaolhy3iki63kcdy3kjw/lib toolset=gcc link=static,shared --layout=tagged
error: wrong library name 'atomic' in the --with-<library> option.

[jeg@localhost cbtf]$

1.53.0 failed build output:

[jeg@localhost cbtf]$ cat /tmp/jeg/spack-stage/spack-stage-zzF_vw/boost_1_53_0/spack-build.out
==> ./bootstrap.sh --prefix=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/boost-1.53.0-7l5rh2wn6depq3ndre4c3oxror3eekoi --with-toolset=gcc --with-libraries=locale,random,wave,atomic,serialization,iostreams,regex,date_time,log,thread,chrono,graph,system,signals,program_options,filesystem,test,math
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Unicode/ICU support for Boost.Regex?... /usr
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2
    
To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
     
   - Getting started guide:
     http://www.boost.org/more/getting_started/unix-variants.html
     
   - Boost.Build documentation:
     http://www.boost.org/boost-build2/doc/html/index.html

==> ./b2 install threading=multi -j 8 variant=release -s BZIP2_INCLUDE=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/bzip2-1.0.6-nmju5kl2e6q2ehr5kkxayzkd3eaa5pm4/include -s BZIP2_LIBPATH=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/bzip2-1.0.6-nmju5kl2e6q2ehr5kkxayzkd3eaa5pm4/lib -s ZLIB_INCLUDE=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/zlib-1.2.8-lxtvpw7f36ctdaolhy3iki63kcdy3kjw/include -s ZLIB_LIBPATH=/home/jeg/clean_spack/spack/opt/spack/Linux-x86_64/gcc-4.8.3/zlib-1.2.8-lxtvpw7f36ctdaolhy3iki63kcdy3kjw/lib toolset=gcc link=static,shared --layout=tagged
error: wrong library name 'log' in the --with-<library> option.





luigi calori

unread,
Mar 14, 2016, 4:17:04 AM3/14/16
to Spack
I can confirm I had the same error building on intel:
the list of variant is independent from boost version:
1.47.0 ---> remove ['atomic','locale','log']

I did not found a way to make variant dependent on version, so probably the right thing is to check the variant is compatible with the version

I found also  that when installing with debug  the name of the log file is too long, probably due to the long variant list
Reply all
Reply to author
Forward
0 new messages