Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630252 - dev-python/visual-5.74-r1 with dev-libs/boost-1.65.0: fatal error: boost/python/numeric.hpp: No such file or directory
Summary: dev-python/visual-5.74-r1 with dev-libs/boost-1.65.0: fatal error: boost/pyth...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard: Pending removal: 2018-04-18
Keywords: PMASKED
Depends on: 547174 631590
Blocks:
  Show dependency tree
 
Reported: 2017-09-07 15:23 UTC by Andrey Grozin
Modified: 2018-04-29 17:23 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2017-09-07 15:23:12 UTC
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
Comment 1 Tom Daff 2017-09-18 12:44:57 UTC
Same error with sci-libs/rdkit missing numeric.hpp.
Comment 2 Quentin Minster 2017-09-20 22:09:25 UTC
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.
Comment 3 Quentin Minster 2017-09-20 23:15:58 UTC
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.
Comment 4 Pacho Ramos gentoo-dev 2018-02-27 22:17:39 UTC
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
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-27 22:38:15 UTC
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?
Comment 6 Pacho Ramos gentoo-dev 2018-04-29 17:23:30 UTC
removed