pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52992: graphics/py-matplotlib-gtk2 2.1.2 does not build



>Number:         52992
>Category:       pkg
>Synopsis:       graphics/py-matplotlib-gtk2 2.1.2 does not build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 08 08:10:00 +0000 2018
>Originator:     Andreas Gustafsson
>Release:        NetBSD 7.1.1
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

Trying to build graphics/py-matplotlib-gtk2 on a NetBSD 7.1.1/amd64
system, with PYTHON_VERSION_DEFAULT=27 in /etc/mk.conf, I get the
following error:

  gcc -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/pkg/lib/python2.7/site-packages/numpy/core/include -I/usr/pkg/lib/python2.7/site-packages/numpy/core/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include -I/usr/pkg/include/libpng16 -I/usr/X11R7/include/freet
 ype2 -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/cairo -I/usr/pkg/include -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include -I/usr/pkg/include/libpng16 -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/pygtk-2.0 -I/usr/include -I. -Iextern/agg24-svn/include -I/usr/pkg/include/python2.7 -c src/py_converters.cpp -o build/temp.netbsd-7.1_STABLE-amd64-2.7/src/py_converters.o
  In file included from src/py_converters.h:17:0,
                   from src/py_converters.cpp:3:
  src/numpy_cpp.h:39:33: fatal error: numpy/ndarrayobject.h: No such file or directory
   #include <numpy/ndarrayobject.h>
                                   ^
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  *** Error code 1

>How-To-Repeat:

See above.

>Fix:



Home | Main Index | Thread Index | Old Index