Opened 13 months ago
Last modified 13 months ago
#72322 new defect
oofcanvas does not pass required cppflags and fails to build: guicanvas.C: fatal error: pygobject.h: No such file or directory
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | snarkhunter (Steve Langer) | |
| Port: | oofcanvas |
Description
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_oofcanvas/oofcanvas/work/build'
[ 80%] Building CXX object oofcanvas/CMakeFiles/oofcanvas.dir/CMakeFiles/oofcanvas.dir/oofcanvasPYTHON_wrap.cxx.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_oofcanvas/oofcanvas/work/build/oofcanvas && /opt/local/bin/g++-mp-14 -DOOFCANVAS_USE_IMAGEMAGICK -DOOFCANVAS_USE_PYTHON=3 -Doofcanvas_EXPORTS -DOOFCANVAS_USE_IMAGEMAGICK -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_oofcanvas/oofcanvas/work/oofcanvas-1.1.2/oofcanvas -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_oofcanvas/oofcanvas/work/oofcanvas-1.1.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_oofcanvas/oofcanvas/work/build -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/fribidi -I/opt/local/include/atk-1.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/ImageMagick-6 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -O3 -DNDEBUG -std=c++11 -arch ppc -mmacosx-version-min=10.6 -fPIC -Wno-deprecated-register -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/fribidi -I/opt/local/include -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/local/include/ImageMagick-6 -MD -MT oofcanvas/CMakeFiles/oofcanvas.dir/CMakeFiles/oofcanvas.dir/oofcanvasPYTHON_wrap.cxx.o -MF CMakeFiles/oofcanvas.dir/CMakeFiles/oofcanvas.dir/oofcanvasPYTHON_wrap.cxx.o.d -o CMakeFiles/oofcanvas.dir/CMakeFiles/oofcanvas.dir/oofcanvasPYTHON_wrap.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_oofcanvas/oofcanvas/work/build/oofcanvas/CMakeFiles/oofcanvas.dir/oofcanvasPYTHON_wrap.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_oofcanvas/oofcanvas/work/oofcanvas-1.1.2/oofcanvas/oofcanvasgui/guicanvas.C:26:10: fatal error: pygobject.h: No such file or directory
26 | #include <pygobject.h>
| ^~~~~~~~~~~~~
compilation terminated.
It is present, but not found by the build.
$ port installed py311-gobject3 The following ports are currently installed: py311-gobject3 @3.50.0_1 (active) $ file /opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pygobject/pygobject-3.0/pygobject.h /opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pygobject/pygobject-3.0/pygobject.h: ASCII c program text
Change History (3)
comment:1 follow-ups: 2 3 Changed 13 months ago by snarkhunter (Steve Langer)
comment:2 Changed 13 months ago by barracuda156
Replying to snarkhunter:
This is the same problem as #72209. The .pc file can't be found because py311-gobject3 no longer provides it. I'm not sure what to do about it right now.
A poor-man’s fix is to pass the cppflag by hand.
comment:3 Changed 13 months ago by barracuda156
Replying to snarkhunter:
This is the same problem as #72209. The .pc file can't be found because py311-gobject3 no longer provides it. I'm not sure what to do about it right now.
And yeah, all dependents of py-gobject are broken now.
Note: See
TracTickets for help on using
tickets.

This is the same problem as #72209. The .pc file can't be found because py311-gobject3 no longer provides it. I'm not sure what to do about it right now.