Date: Tue, 14 Jun 2016 09:24:59 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210273] graphics/py3-cairo - cannot find Python.h Message-ID: <bug-210273-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210273 Bug ID: 210273 Summary: graphics/py3-cairo - cannot find Python.h Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: tech-lists@zyxst.net Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org system in freebsd 11 alpha 3 ports is Last Changed Rev: 416881 Last Changed Date: 2016-06-14 09:29:32 +0100 (Tue, 14 Jun 2016) error: ../src/cairomodule.c:21:10: fatal error: 'Python.h' file not found #include <Python.h> Python.h is present: /storage/usr/local/include/python2.7/Python.h /storage/usr/local/include/python3.4m/Python.h <><><> full output <><><><><> root@pumpkin:/usr/ports/graphics/py3-cairo # make =3D=3D=3D> py34-cairo-1.10.0_3 depends on file: /usr/local/sbin/pkg - fou= nd =3D> pycairo-1.10.0.tar.bz2 doesn't seem to exist in /storage/usr/ports/distfiles/. =3D> Attempting to fetch http://cairographics.org/releases/pycairo-1.10.0.t= ar.bz2 pycairo-1.10.0.tar.bz2 100% of 240 kB 344 kBps 00m= 01s =3D=3D=3D> Fetching all distfiles required by py34-cairo-1.10.0_3 for build= ing =3D=3D=3D> Extracting for py34-cairo-1.10.0_3 =3D> SHA256 Checksum OK for pycairo-1.10.0.tar.bz2. =3D=3D=3D> Patching for py34-cairo-1.10.0_3 =3D=3D=3D> Applying FreeBSD patches for py34-cairo-1.10.0_3 =3D=3D=3D> py34-cairo-1.10.0_3 depends on package: pkgconf>=3D0.9.10 - fo= und =3D=3D=3D> py34-cairo-1.10.0_3 depends on file: /usr/local/bin/python3.4 = - found =3D=3D=3D> py34-cairo-1.10.0_3 depends on executable: python3 - found =3D=3D=3D> py34-cairo-1.10.0_3 depends on file: /usr/local/bin/ccache - f= ound =3D=3D=3D> py34-cairo-1.10.0_3 depends on shared library: libcairo.so - f= ound (/usr/local/lib/libcairo.so) =3D=3D=3D> Configuring for py34-cairo-1.10.0_3 ./options() Setting top to : /storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0=20 Setting out to : /storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory=20 ./configure() Checking for 'gcc' (c compiler) : ok=20 Checking for program python : /usr/local/bin/python3.4=20 Checking for python version : (3, 4, 4, 'final', 0)=20 Checking for library python3.4 in LIBDIR : not found=20 Checking for library python3.4 in python_LIBPL : not found=20 Checking for library python3.4 in $prefix/libs : not found=20 Checking for library python3.4m in LIBDIR : yes=20 Checking for program python3.4-config : /usr/local/bin/python3.4-config=20 command ['/usr/local/bin/python3.4', '/usr/local/bin/python3.4-config', '--includes'] returned 1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- a/waflib/Tools/python.py |+++ b/waflib/Tools/python.py -------------------------- Patching file waflib/Tools/python.py using Plan A... Hunk #1 succeeded at 169. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- a/waflib/Build.py |+++ b/waflib/Build.py -------------------------- Patching file waflib/Build.py using Plan A... Hunk #1 succeeded at 151. done ./options() Setting top to : /storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0=20 Setting out to : /storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory=20 ./configure() Checking for 'gcc' (c compiler) : ok=20 Checking for program python : /usr/local/bin/python3.4=20 Checking for python version : (3, 4, 4, 'final', 0)=20 Checking for library python3.4 in LIBPATH_PYEMBED : not found=20 Checking for library python3.4 in LIBDIR : not found=20 Checking for library python3.4 in python_LIBPL : not found=20 Checking for library python3.4 in $prefix/libs : not found=20 Checking for library python3.4m in LIBPATH_PYEMBED : yes=20 Checking for program python3.4-config : /usr/local/bin/python3.4-config=20 Checking for header Python.h : yes=20 Checking for program pkg-config : /usr/local/bin/pkg-con= fig=20 Checking for 'cairo' >=3D 1.10.0 : yes=20 Configuration: PREFIX : /usr/local LIBDIR : /usr/local/lib 'configure' finished successfully (0.223s) =3D=3D=3D> Building for py34-cairo-1.10.0_3 ./options() Waf: Entering directory `/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory' ./build() src/build() [1/9] c: src/cairomodule.c -> build_directory/src/cairomodule.c.1.o [2/9] c: src/context.c -> build_directory/src/context.c.1.o [3/9] c: src/font.c -> build_directory/src/font.c.1.o [4/9] c: src/path.c -> build_directory/src/path.c.1.o [5/9] c: src/pattern.c -> build_directory/src/pattern.c.1.o [6/9] c: src/matrix.c -> build_directory/src/matrix.c.1.o [7/9] c: src/surface.c -> build_directory/src/surface.c.1.o ../src/cairomodule.c:21:10: fatal error: 'Python.h' file not found #include <Python.h> ^ [8/9] subst: py3cairo.pc.in -> build_directory/py3cairo.pc ../src/context.c:21:10: ../src/font.c:21:10: fatal error: 'Python.h' file n= ot found #include <Python.h> ^ fatal error: 'Python.h' file not found #include <Python.h> ^ ../src/path.c:21:10: fatal error: 'Python.h' file not found #include <Python.h> ^ ../src/pattern.c:21:10: fatal error: 'Python.h' file not found #include <Python.h> ^ 1 error generated. 1 error generated. ../src/matrix.c:21:10: fatal error: 'Python.h' file not found #include <Python.h> ^ 1 error generated. 1 error generated. 1 error generated. 1 error generated. ../src/surface.c:21:10: fatal error: 'Python.h' file not found #include <Python.h> ^ 1 error generated. Waf: Leaving directory `/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory' Build failed -> task failed (exit status 1):=20 {task 34454353120: c cairomodule.c -> cairomodule.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/cairomodule.c', '-c', '-o', 'src/cairomodule.c.1.o'] -> task failed (exit status 1):=20 {task 34454353344: c font.c -> font.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/font.c', '-c', '-o', 'src/font.c.1.o'] -> task failed (exit status 1):=20 {task 34454353456: c path.c -> path.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/path.c', '-c', '-o', 'src/path.c.1.o'] -> task failed (exit status 1):=20 {task 34454353568: c pattern.c -> pattern.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/pattern.c', '-c', '-o', 'src/pattern.c.1.o'] -> task failed (exit status 1):=20 {task 34454353232: c context.c -> context.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/context.c', '-c', '-o', 'src/context.c.1.o'] -> task failed (exit status 1):=20 {task 34454353680: c matrix.c -> matrix.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/matrix.c', '-c', '-o', 'src/matrix.c.1.o'] -> task failed (exit status 1):=20 {task 34454353792: c surface.c -> surface.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/surface.c', '-c', '-o', 'src/surface.c.1.o'] =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /storage/usr/ports/graphics/py3-cairo root@pumpkin:/usr/ports/graphics/py3-cairo # make MAKE_JOBS_UNSAFE=3Dyes =3D=3D=3D> Building for py34-cairo-1.10.0_3 ./options() Waf: Entering directory `/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory' ./build() src/build() [1/9] c: src/cairomodule.c -> build_directory/src/cairomodule.c.1.o ../src/cairomodule.c:21:10: fatal error: 'Python.h' file not found #include <Python.h> ^ 1 error generated. Waf: Leaving directory `/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory' Build failed -> task failed (exit status 1):=20 {task 34454353176: c cairomodule.c -> cairomodule.c.1.o} ['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-fstack-protector', '-fstack-protector', '-fstack-protector', '-fno-strict-aliasing', '-fno-strict-aliasing', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_director= y/src', '-I/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src', '-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0', '-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include', '-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2', '-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm', '-I/storage/storage/usr/local/include/python3.4m', '-D_THREAD_SAFE', '-DNDEBUG', '../src/cairomodule.c', '-c', '-o', 'src/cairomodule.c.1.o'] *** Error code 1 Stop. make: stopped in /storage/usr/ports/graphics/py3-cairo --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210273-13>