-
Bug
-
Resolution: Fixed
-
Severe (Ebuild)
-
None
-
None
-
None
-
This potentially impacts about 6 packages in next-release.
dev-python/notify-python as a dependency of terminator fails to build.
next branch
Looks like it is searching for a non existent path?
can't open file '/lib64/python2.7/site-packages/gtk-2.0/codegen
>>> Verifying ebuild manifests
>>> Emerging (1 of 2) dev-python/notify-python-0.1.1-r3::python-modules-kit
* Fetching files in the background.
* To view fetch progress, run in another terminal:
* tail -f /var/log/emerge-fetch.log
* notify-python-0.1.1.tar.bz2 BLAKE2B SHA512 size ... [ ok ]
>>> Unpacking source...
>>> Unpacking notify-python-0.1.1.tar.bz2 to /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work
>>> Source unpacked in /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work
>>> Preparing source in /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1 ...
* Applying notify-python-0.1.1-libnotify-0.7.patch ... [ ok ]
* Running elibtoolize in: notify-python-0.1.1/
* Applying install-sh/1.5.4 patch ...
* Applying portage/1.5.10 patch ...
* Applying max_cmd_len/1.5.20 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/1.5 patch ...
* Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1 ...
* python2_7: running autotools-utils_src_configure
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7"
* econf: updating notify-python-0.1.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating notify-python-0.1.1/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-g+... x86_64-pc-linux-gnu-g+
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-ifc... no
checking for x86_64-pc-linux-gnu-efc... no
checking for x86_64-pc-linux-gnu-pgf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes
checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether /usr/bin/python2.7 version >= 2.3.5... yes
checking for /usr/bin/python2.7 version... 2.7
checking for /usr/bin/python2.7 platform... linux2
checking for /usr/bin/python2.7 script directory... ${prefix}/lib64/python2.7/site-packages
checking for /usr/bin/python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NOTIFY_PYTHON... yes
checking for pygtk defs... /usr/share/pygtk/2.0/defs
checking for pygtk codegen... /usr/bin/python2.7 /lib64/python2.7/site-packages/gtk-2.0/codegen/codegen.py
configure: creating ./config.status
config.status: creating notify-python.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
notify-python v0.1.1
Now type make to compile
Then su to root and type: make install
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1 ...
* python2_7: running autotools-utils_src_compile
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7"
make -j16
make all-recursive
make[1]: Entering directory '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7'
Making all in src
make[2]: Entering directory '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7/src'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src -I.. -DG_LOG_DOMAIN=\"pynotify-python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/python2.7 -march=skylake-avx512 -O2 -pipe -c -o pynotifymodule.lo /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c
(cd /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src \
&& /usr/bin/python2.7 /lib64/python2.7/site-packages/gtk-2.0/codegen/codegen.py \
--register /usr/share/pygtk/2.0/defs/gtk-types.defs \
--register /usr/share/pygtk/2.0/defs/gdk-types.defs \
--override pynotify.override \
--prefix pypynotify pynotify.defs) > gen-pynotify.c \
&& cp gen-pynotify.c pynotify.c \
&& rm -f gen-pynotify.c
/usr/bin/python2.7: can't open file '/lib64/python2.7/site-packages/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory
make[2]: *** [Makefile:543: pynotify.c] Error 2
make[2]: *** Waiting for unfinished jobs....
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src -I.. -DG_LOG_DOMAIN=\"pynotify-python\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/python2.7 -march=skylake-avx512 -O2 -pipe -c /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c -fPIC -DPIC -o .libs/pynotifymodule.o
In file included from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:1:
/usr/include/pygtk-2.0/pygobject.h:153:40: warning: 'GParameter' is deprecated [-Wdeprecated-declarations]
153 | GParameter *params,
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/pygtk-2.0/pygobject.h:8,
from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:1:
/usr/include/glib-2.0/gobject/gparam.h:273:8: note: declared here
273 | struct _GParameter /* auxiliary structure for _setv() variants */
| ^~~~~~~~~~~
In file included from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:1:
/usr/include/pygtk-2.0/pygobject.h:187:40: warning: 'GParameter' is deprecated [-Wdeprecated-declarations]
187 | GParameter *parameters);
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/pygtk-2.0/pygobject.h:8,
from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:1:
/usr/include/glib-2.0/gobject/gparam.h:273:8: note: declared here
273 | struct _GParameter /* auxiliary structure for _setv() variants */
| ^~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:2:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/pygtk-2.0/pygobject.h:8,
from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:1:
/usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here
698 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:2:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/pygtk-2.0/pygobject.h:7,
from /var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:1:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c: In function 'init_pynotify':
/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:19:9: warning: implicit declaration of function 'pypynotify_register_classes'; did you mean 'pynotify_register_classes'? [-Wimplicit-function-declaration]
19 | pypynotify_register_classes(d);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| pynotify_register_classes
/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1/src/pynotifymodule.c:20:9: warning: implicit declaration of function 'pypynotify_add_constants'; did you mean 'pyg_enum_add_constants'? [-Wimplicit-function-declaration]
20 | pypynotify_add_constants(m, "NOTIFY_");
| ^~~~~~~~~~~~~~~~~~~~~~~~
| pyg_enum_add_constants
make[2]: Leaving directory '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7/src'
make[1]: *** [Makefile:299: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7'
make: *** [Makefile:209: all] Error 2
* ERROR: dev-python/notify-python-0.1.1-r3::python-modules-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-python/notify-python-0.1.1-r3::python-modules-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-python/notify-python-0.1.1-r3::python-modules-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7'
* S: '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1'
>>> Failed to emerge dev-python/notify-python-0.1.1-r3, Log file:
>>> '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/temp/build.log'
* Messages for package dev-python/notify-python-0.1.1-r3:
* ERROR: dev-python/notify-python-0.1.1-r3::python-modules-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-python/notify-python-0.1.1-r3::python-modules-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-python/notify-python-0.1.1-r3::python-modules-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1-python2_7'
* S: '/var/tmp/portage/dev-python/notify-python-0.1.1-r3/work/notify-python-0.1.1'