Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pythia6m rhel7 %[email protected] #4

Open
wdconinc opened this issue Jun 26, 2020 · 3 comments
Open

Pythia6m rhel7 %[email protected] #4

wdconinc opened this issue Jun 26, 2020 · 3 comments
Labels
ftbfs Fails to build from source upstream Reported and tracking upstream

Comments

@wdconinc
Copy link
Contributor

Fails to link (removed a page of colons):

[100%] Linking CXX executable pythia6m
cd /tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-build/program && /cvmfs/eic.opensciencegrid.org/packages/cmake/3.17.1/linux-rhel7-x86_64-gcc-9.3.0-oa7fsj3x432pdckfv5lqlpevghrp42mc/bin/cmake -E cmake_link_script CMakeFiles/pythia6m.dir/link.txt --verbose=1
/cvmfs/eic.opensciencegrid.org/packages/spack/rollout/lib/spack/env/gcc/g++   -fomit-frame-pointer -std=c++14 -O2 -g -DNDEBUG -fomit-frame-pointer -std=c++14  -rdynamic CMakeFiles/pythia6m.dir/pythia6m.cc.o  -o pythia6m-2.1.0  -Wl,-rpath,:::: ../pythia6m/core/libpythia6m_core.a ../pythia6m/interface/libpythia6m_interface.a ../pythia6m/fmotion/libpythia6m_fmotion.a ../pythia6m/gmc/libpythia6m_gmc.a ../pythia6m/radiator/libpythia6m_radiator.a ../pythia6m/radgen/libpythia6m_radgen.a ../pythia6m/pythia6/libpythia6m_pythia.a ../pythia6m/core/libpythia6m_core.a ../pythia6m/interface/libpythia6m_interface.a ../pythia6m/fmotion/libpythia6m_fmotion.a ../pythia6m/gmc/libpythia6m_gmc.a ../pythia6m/radiator/libpythia6m_radiator.a ../pythia6m/radgen/libpythia6m_radgen.a ../pythia6m/pythia6/libpythia6m_pythia.a -L/cvmfs/eic.opensciencegrid.org/packages/root/6.18.04/linux-rhel7-x86_64-gcc-9.3.0-ptbktat3aqixga3zk4wsvvlju42z5zii/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -Wl,-rpath,/cvmfs/eic.opensciencegrid.org/packages/root/6.18.04/linux-rhel7-x86_64-gcc-9.3.0-ptbktat3aqixga3zk4wsvvlju42z5zii/lib -lm -ldl -rdynamic -lEG -lTreePlayer -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt ../nanocernlib/packlib/libnanocernlib_packlib.a ../nanocernlib/mathlib/libnanocernlib_mathlib.a ../nanocernlib/mclibs/libnanocernlib_mclibs.a ../nanocernlib/geant321/libnanocernlib_geant321.a ../nanocernlib/packlib/libnanocernlib_packlib.a ../nanocernlib/mathlib/libnanocernlib_mathlib.a ../nanocernlib/mclibs/libnanocernlib_mclibs.a ../nanocernlib/geant321/libnanocernlib_geant321.a -lgfortran -lquadmath 
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `pythia6m::framework::parse_arguments(int, char**) const':
/tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-src/pythia6m/core/framework.cc:109: undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::typed_value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>::xparse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) const':
/usr/include/boost/program_options/detail/value_semantic.hpp:170: undefined reference to `boost::program_options::validate(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int)'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::typed_value<int, char>::name[abi:cxx11]() const':
/usr/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to `boost::program_options::arg[abi:cxx11]'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::typed_value<unsigned int, char>::name[abi:cxx11]() const':
/usr/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to `boost::program_options::arg[abi:cxx11]'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::typed_value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>::name() const':
/usr/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to `boost::program_options::arg[abi:cxx11]'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > boost::program_options::to_internal<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
/usr/include/boost/program_options/detail/convert.hpp:79: undefined reference to `boost::program_options::to_internal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*)':
/usr/include/boost/program_options/detail/parsers.hpp:43: undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
/usr/include/boost/program_options/variables_map.hpp:155: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
/usr/include/boost/program_options/errors.hpp:372: undefined reference to `boost::program_options::validation_error::get_template[abi:cxx11](boost::program_options::validation_error::kind_t)'
/usr/include/boost/program_options/errors.hpp:372: undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/usr/include/boost/program_options/errors.hpp:372: undefined reference to `boost::program_options::validation_error::get_template[abi:cxx11](boost::program_options::validation_error::kind_t)'
/usr/include/boost/program_options/errors.hpp:372: undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `void boost::program_options::validate<int, char>(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, int*, long)':
/usr/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to `boost::program_options::invalid_option_value::invalid_option_value(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../pythia6m/core/libpythia6m_core.a(framework.cc.o): In function `void boost::program_options::validate<unsigned int, char>(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, unsigned int*, long)':
/usr/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to `boost::program_options::invalid_option_value::invalid_option_value(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x38): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x38): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30): more undefined references to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' follow
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE[_ZTVN5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost15program_options11typed_valueIicEE[_ZTVN5boost15program_options11typed_valueIicEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
../pythia6m/core/libpythia6m_core.a(framework.cc.o):(.rodata._ZTVN5boost15program_options11typed_valueIjcEE[_ZTVN5boost15program_options11typed_valueIjcEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
../pythia6m/radgen/libpythia6m_radgen.a(radgen.F.o): In function `strf_':
/tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-src/pythia6m/radgen/radgen.F:1426: undefined reference to `mkasym_'
/tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-src/pythia6m/radgen/radgen.F:1431: undefined reference to `fdilut_'
/tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-src/pythia6m/radgen/radgen.F:1432: undefined reference to `fdilut_'
/tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-src/pythia6m/radgen/radgen.F:1438: undefined reference to `mkasym_'
collect2: error: ld returned 1 exit status
make[2]: *** [program/pythia6m-2.1.0] Error 1
make[2]: Leaving directory `/home/tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-build'
make[1]: *** [program/CMakeFiles/pythia6m.dir/all] Error 2
make[1]: Leaving directory `/home/tmp/wdconinc/spack-stage/spack-stage-pythia6m-master-6rmeymsx3acu7ac6voqf5fmi77h72jva/spack-build'
make: *** [all] Error 2
@wdconinc wdconinc added the ftbfs Fails to build from source label Jun 26, 2020
@wdconinc
Copy link
Contributor Author

Argh, cxx11 strings, probably means boost cxxstd needs to be inherited.

@wdconinc
Copy link
Contributor Author

@wdconinc wdconinc added the upstream Reported and tracking upstream label Jun 26, 2020
@wdconinc
Copy link
Contributor Author

wdconinc commented Jul 1, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ftbfs Fails to build from source upstream Reported and tracking upstream
Projects
None yet
Development

No branches or pull requests

1 participant