Skip to content

Installation issue: boost #31237

@payerle

Description

@payerle

Steps to reproduce the issue

$ spack spec -I boost
Input spec
--------------------------------
boost

Concretized
--------------------------------
jahffyi  [email protected]%[email protected]+atomic+chrono~clanglibcpp+container+context+contract+coroutine+date_time~debug+exception+fiber+filesystem+graph+graph_parallel~icu+iostreams+json+locale+log+math~mpi+multithreaded+nowide~numpy+pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded+stacktrace+system~taggedlayout+test+thread+timer+type_erasure~versionedlayout+wave context-impl=fcontext cxxstd=11 patches=5da7ad2,e13cca1 visibility=hidden arch=linux-rhel8-zen
ntqbk4r      ^[email protected]%[email protected]~debug+pic+shared arch=linux-rhel8-zen
xt7llpb          ^[email protected]%[email protected] arch=linux-rhel8-zen
pzvi3uo              ^[email protected]%[email protected] libs=shared,static arch=linux-rhel8-zen
utajygi      ^[email protected]%[email protected]+optimize+pic+shared patches=0d38234 arch=linux-rhel8-zen

Error message

Error message
==> boost: Executing phase: 'install'
==> [2022-06-22-12:01:32.693438] './bootstrap.sh' '--prefix=/cvmfs/hpcsw.umd.edu/spack-software/2022.06.15/linux-rhel8-zen/gcc-8.4.0/boost-1.72.0-jahffyijqqtsivirjwh34v7gfjy7j23c' '--with-toolset=gcc' '--with-libraries=atomic,chrono,container,context,contract,coroutine,date_time,exception,fiber,filesystem,graph,graph_parallel,iostreams,locale,log,math,nowide,program_options,random,regex,serialization,stacktrace,system,test,thread,timer,type_erasure,wave' '--without-icu'
Building Boost.Build engine with toolset gcc... tools/build/src/engine/b2
Unicode/ICU support for Boost.Regex?... disabled.
Generating Boost.Build configuration in project-config.jam for gcc...

Bootstrapping is done. To build, run:

./b2

To generate header files, run:

./b2 headers

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

==> [2022-06-22-12:01:39.037709] FILTER FILE: /tmp/devspackswinst/spack-stage/spack-stage-boost-1.72.0-jahffyijqqtsivirjwh34v7gfjy7j23c/spack-src/project-config.jam [replacing "^\susing gcc."]
==> [2022-06-22-12:01:39.042658] './b2' '--clean' '-j' '16' '--user-config=/tmp/devspackswinst/spack-stage/spack-stage-boost-1.72.0-jahffyijqqtsivirjwh34v7gfjy7j23c/spack-src/user-config.jam' 'variant=release' '--disable-icu' '-s' 'BZIP2_INCLUDE=/cvmfs/hpcsw.umd.edu/spack-software/2022.06.15/linux-rhel8-zen/gcc-8.4.0/bzip2-1.0.8-ntqbk4r4tosrcs7rdf37qucmzy6fdcbl/include' '-s' 'BZIP2_LIBPATH=/cvmfs/hpcsw.umd.edu/spack-software/2022.06.15/linux-rhel8-zen/gcc-8.4.0/bzip2-1.0.8-ntqbk4r4tosrcs7rdf37qucmzy6fdcbl/lib' '-s' 'ZLIB_INCLUDE=/cvmfs/hpcsw.umd.edu/spack-software/2022.06.15/linux-rhel8-zen/gcc-8.4.0/zlib-1.2.12-utajygisfk2k4ly6omwczvmmykj66xkq/include' '-s' 'ZLIB_LIBPATH=/cvmfs/hpcsw.umd.edu/spack-software/2022.06.15/linux-rhel8-zen/gcc-8.4.0/zlib-1.2.12-utajygisfk2k4ly6omwczvmmykj66xkq/lib' '-s' 'NO_LZMA=1' '-s' 'NO_ZSTD=1' 'context-impl=fcontext' 'link=static,shared' '--layout=system' 'toolset=gcc' 'cxxstd=11' 'cxxflags="-fPIC"' 'visibility=hidden'
error: wrong library name 'nowide' in the --with- option.

Information on your system

spack debug report
* **Spack:** 0.19.0.dev0 (0205fefe0c80dc1fe03b9ec5da93bf24b1c9103f)
* **Python:** 3.6.8
* **Platform:** linux-rhel8-zen2
* **Concretizer:** clingo

Additional information

spack-build-out.txt
spack-build-env.txt

Maintainers: @hainest

Basically, I am building an old version of boost which predates support for the json and nowide libraries (seem to have been introduced in 1.75.0 and 1.73.0, respectively). Either spack recipe should conflict, or as done in other cases in boost, remove libraries not supported by the version.

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions