Hi Helmut, On Thu, Aug 01, 2019 at 08:12:34AM +0200, Helmut Grohne wrote: > aevol fails to cross build from source, because it ships a broken, > outdated, embedded copy of AX_BOOST_BASE. The actual bug #872256 is > already fixed for a while in autoconf-archive, but aevol happens to ship > a copy of the bug. Please remove your embedded copy or - failing that - > update it and register it with the security tracker. This bug report > comes without a patch, because the actual bug is already fixed.
I have removed m4/ax_boost* in Git[1]. Unfortunately this leaded to some configure errors. I was able to work around 1. error: possibly undefined macro: AC_MSG_ERROR by adding m4_pattern_allow([AC_MSG_ERROR]) despite I'm quite sceptical about this error. A websearch uncovers several instances of this error with no pattern that really applied here. No idea whether there is a better fix. 2. AX_BOOST_BASE([1.55],...) created syntax error in configure script Thus I simply removed all arguments since I assumed that no actual version needs to be really checked since we have modern boost in all relevant releases. Unfortunately this endedt up in: g++ -fopenmp -O3 -ffast-math -pipe -fexpensive-optimizations -g -O2 -fdebug-prefix-map=/build/aevol-5.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -Wl,-z,relro -Wl,-z,now -o aevol_propagate aevol_propagate-aevol_propagate.o ../src/libaevol/libaevol.a ../src/libaevol/SFMT-src-1.4/libsfmt.a -lX11 -lz -lm /usr/bin/ld: aevol_propagate-aevol_propagate.o: in function `boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': /usr/include/boost/system/error_code.hpp:733: undefined reference to `boost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:736: undefined reference to `boost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:748: undefined reference to `boost::system::generic_category()' /usr/bin/ld: aevol_propagate-aevol_propagate.o: in function `boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': /usr/include/boost/system/error_code.hpp:703: undefined reference to `boost::system::generic_category()' /usr/bin/ld: /usr/include/boost/system/error_code.hpp:706: undefined reference to `boost::system::generic_category()' /usr/bin/ld: aevol_propagate-aevol_propagate.o: in function `boost::filesystem::create_directories(boost::filesystem::path const&)': /usr/include/boost/filesystem/operations.hpp:566: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)' collect2: error: ld returned 1 exit status I have no clue any more how to fix this. I'd be really happy about any hint how to fix the current state in Git[1]. Kind regards Andreas. [1] https://salsa.debian.org/med-team/aevol -- http://fam-tille.de