After upgrade of boost to 1.65.0, re-emerging visual-5.74-r1 leads to: libtool: compile: x86_64-pc-linux-gnu-g++ -I/usr/include/python2.7 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -DHAVE_CONFIG_H -I../dependencies/threadpool/include -I../include -I../include -pthread -I/usr/include/gtkglextmm-1.2 -I/usr/lib64/gtkglextmm-1.2/include -I/usr/include/gtkglext-1.0 -I/usr/lib64/gtkglext-1.0/include -I/usr/include/libdrm -I/usr/include/gtkglext-1.0 -I/usr/lib64/gtkglext-1.0/include -I/usr/include/libdrm -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/libglademm-2.4 -I/usr/lib64/libglademm-2.4/include -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -I../include/gtk2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -fpic -DPIC -O2 -march=native -pipe -I/usr/include/boost-1_65 -std=c++11 -ftemplate-depth-120 -DNDEBUG -MMD -MF icososphere.d -MT "icososphere.d icososphere.lo" -c ./core/util/icososphere.cpp -fPIC -DPIC -o .libs/icososphere.o In file included from /usr/include/boost/signals.hpp:9:0, from ../include/util/gl_free.hpp:4, from ./core/util/gl_free.cpp:1: /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp] # warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." ^~~~~~~ In file included from ../include/util/tmatrix.hpp:9:0, from ./core/util/quadric.cpp:7: ../include/util/vector.hpp:10:36: fatal error: boost/python/numeric.hpp: No such file or directory #include <boost/python/numeric.hpp> ^ In file included from ../include/util/extent.hpp:9:0, from ../include/renderable.hpp:10, from ../include/display_kernel.hpp:9, from ./core/util/gl_extensions.cpp:2: ../include/util/vector.hpp:10:36: fatal error: boost/python/numeric.hpp: No such file or directory #include <boost/python/numeric.hpp> ^ In file included from ../include/util/extent.hpp:9:0, from ./core/util/extent.cpp:6: ../include/util/vector.hpp:10:36: fatal error: boost/python/numeric.hpp: No such file or directory #include <boost/python/numeric.hpp> ^ compilation terminated. compilation terminated. compilation terminated. make[1]: *** [Makefile:232: extent.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:232: quadric.lo] Error 1 make[1]: *** [Makefile:232: gl_extensions.lo] Error 1 In file included from /usr/include/boost/signals.hpp:9:0, from ../include/util/gl_free.hpp:4, from ./core/util/displaylist.cpp:6: /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp] # warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." ^~~~~~~ make[1]: Leaving directory '/var/tmp/portage/dev-python/visual-5.74-r1/work/visual-5.74_release/src' make: *** [Makefile:351: all-recursive] Error 1
Same error with sci-libs/rdkit missing numeric.hpp.
This is because numeric.hpp was dropped in Boost 1.65. Code should now migrate to the classes from boost::python::numpy. See #631590 for this.
See https://github.com/laomaiweng/vpython-wx/tree/boost-1.65-numpy-port for an attempt at porting =dev-python/visual-6.11 (latest version, not in tree!) to Boost 1.65 with Numpy. Compiles fine (after applying the patches from #631590, and some slight modifications to match the Gentoo setup in the setup.py/makefiles), but segfaults on `import visual`, and I can't figure out why as I'm on a grsec kernel (with severely limited debugging capacities). If anyone's willing to take a look at this, help is most welcome.
As this is now broken in stable and the only *optional* consumer is net-analyzer/scapy maybe we could use.mask that one and treeclean this :/ (also nobody was able to bump this for many time) and current ebuild relies also in dead libs like gtkglextmm or libglademm
As far as python@ is concerned, I don't think we really want to maintain this package, so feel free to do what you want with it. But maybe scapy maintainers want to take it?
removed