kernsuite / packaging

Use this repository to report issues with packages or request new packages
13 stars 4 forks source link

wsclean 2.10.1 compilation issues on ubuntu 20.04 #244

Closed gijzelaerr closed 3 years ago

gijzelaerr commented 3 years ago
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/build/wsclean-2.10.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -O3 -Wall -DNDEBUG   -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic CMakeFiles/wsclean.dir/wscleanmain.cpp.o  -o wsclean  -Wl,-rpath,/build/wsclean-2.10.1/obj-x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/hdf5/serial: libwsclean.so.2 -lcasa_ms -lcasa_fits -lcfitsio -lm -lcasa_scimath -lcasa_measures -lcasa_scimath_f -lcasa_tables -lcasa_casa /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so -lpthread -lsz -lz -ldl -lm -lm -ldl -lboost_system -lcasa_scimath -lcasa_measures -lcasa_scimath_f -lcasa_tables -lcasa_casa /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so -lpthread -lsz -lz -ldl -ldl -lboost_system 
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::options_description::m_default_line_length'
/usr/bin/ld: libwsclean.so.2: undefined reference to `idg::api::BufferSet::get_memory_per_timestep(unsigned long, unsigned long)'
/usr/bin/ld: libwsclean.so.2: undefined reference to `typeinfo for boost::program_options::error_with_option_name'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::error_with_option_name::what() const'
/usr/bin/ld: libwsclean.so.2: undefined reference to `idg::api::BufferSet::create(idg::api::Type)'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::arg[abi:cxx11]'
/usr/bin/ld: libwsclean.so.2: undefined reference to `vtable for boost::program_options::variables_map'
/usr/bin/ld: libwsclean.so.2: 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)'
/usr/bin/ld: libwsclean.so.2: 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/bin/ld: libwsclean.so.2: undefined reference to `typeinfo for boost::program_options::value_semantic_codecvt_helper<char>'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, boost::program_options::value_semantic const*, char const*)'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::validators::check_first_occurrence(boost::any const&)'
/usr/bin/ld: libwsclean.so.2: 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'
/usr/bin/ld: libwsclean.so.2: undefined reference to `vtable for boost::program_options::error_with_option_name'
/usr/bin/ld: libwsclean.so.2: 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/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::variables_map::variables_map()'
/usr/bin/ld: libwsclean.so.2: 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'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::basic_parsed_options<char> boost::program_options::parse_config_file<char>(std::basic_istream<char, std::char_traits<char> >&, boost::program_options::options_description const&, bool)'
/usr/bin/ld: libwsclean.so.2: 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&)'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::validation_error::get_template[abi:cxx11](boost::program_options::validation_error::kind_t)'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool)'
/usr/bin/ld: libwsclean.so.2: undefined reference to `boost::program_options::options_description::add_options()'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/wsclean.dir/build.make:118: 
gijzelaerr commented 3 years ago

I think this was caused by a patch imported from Debian but breaking the cmake logic.