https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-misc/spice-gtk-0.42 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 850318 [details] build.log build log and emerge --info
Error(s) that match a know pattern: FAILED: src/vncdisplaykeymap_osx2xtkbd.h FAILED: src/vncdisplaykeymap_win322xtkbd.h FAILED: src/vncdisplaykeymap_x112xtkbd.h FAILED: src/vncdisplaykeymap_xorgevdev2xtkbd.h FAILED: src/vncdisplaykeymap_xorgkbd2xtkbd.h FAILED: src/vncdisplaykeymap_xorgxquartz2xtkbd.h FAILED: src/vncdisplaykeymap_xorgxwin2xtkbd.h FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/net-misc/spice-gtk-0.42/work/spice-gtk-0.42/subprojects/keycodemapdb/tools/keymap-gen' Program gtkdoc-scan found: NO Run-time dependency libcap-ng found: NO (tried pkgconfig and cmake) Run-time dependency libphodav-3.0 found: NO (tried pkgconfig and cmake) Run-time dependency libva-x11 found: NO (tried pkgconfig and cmake) Run-time dependency usbutils found: NO (tried pkgconfig and cmake) spice-common| Program asciidoc found: NO
$ curl -s "https://893804.bugs.gentoo.org/attachment.cgi?id=850318" | grep keymap-gen keycodemapdb| Program tools/keymap-gen found: YES (/var/tmp/portage/net-misc/spice-gtk-0.42/work/spice-gtk-0.42/subprojects/keycodemapdb/tools/keymap-gen) Program tools/keymap-gen found: YES (overridden) [8/135] /usr/lib/python-exec/python3.11/meson --internal exe --capture src/vncdisplaykeymap_xorgxwin2xtkbd.h -- /var/tmp/portage/net-misc/spice-gtk-0.42/work/spice-gtk-0.42/subprojects/keycodemapdb/tools/keymap-gen code-map --lang glib2 --varname keymap_xorgxwin2xtkbd ../spice-gtk-0.42/subprojects/keycodemapdb/data/keymaps.csv xorgxwin xtkbd /usr/lib/python-exec/python3.11/meson --internal exe --capture src/vncdisplaykeymap_xorgxwin2xtkbd.h -- /var/tmp/portage/net-misc/spice-gtk-0.42/work/spice-gtk-0.42/subprojects/keycodemapdb/tools/keymap-gen code-map --lang glib2 --varname keymap_xorgxwin2xtkbd ../spice-gtk-0.42/subprojects/keycodemapdb/data/keymaps.csv xorgxwin xtkbd FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/net-misc/spice-gtk-0.42/work/spice-gtk-0.42/subprojects/keycodemapdb/tools/keymap-gen' So how is it there when the build checks for it, then not there when it wants to use it? So either the script isn't there, or its shebang is bad. python-exec was built with -native-symlinks, so... dev-lang/python-exec-2.4.10:2 -native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test $ head -1 subprojects/keycodemapdb/tools/keymap-gen #!/usr/bin/python3 Needs a shebang fix.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a798fcc2e2ce381ab5bcf73c075f013be635d980 commit a798fcc2e2ce381ab5bcf73c075f013be635d980 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2023-06-04 00:39:15 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2023-06-04 01:27:41 +0000 net-misc/spice-gtk: add missing gtk-doc bdep, fix internal python shebang Closes: https://bugs.gentoo.org/893804 Closes: https://bugs.gentoo.org/906904 Signed-off-by: John Helmert III <ajak@gentoo.org> net-misc/spice-gtk/spice-gtk-0.42.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)