Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893804 - net-misc/spice-gtk-0.42 fails to compile
Summary: net-misc/spice-gtk-0.42 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 08:00 UTC by Agostino Sarubbo
Modified: 2023-06-04 01:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,102.92 KB, text/plain)
2023-02-10 08:00 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-10 08:00:45 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-10 08:00:47 UTC
Created attachment 850318 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-10 08:00:48 UTC
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
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-06-03 22:31:39 UTC
$ 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.
Comment 4 Larry the Git Cow gentoo-dev 2023-06-04 01:27:49 UTC
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(-)