Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667636 - x11-libs/libxklavier-5.4 : /.../sh:line <snip>: glib-mkenums: command not found
Summary: x11-libs/libxklavier-5.4 : /.../sh:line <snip>: glib-mkenums: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glib-utils
  Show dependency tree
 
Reported: 2018-10-03 07:49 UTC by Toralf Förster
Modified: 2021-05-05 03:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.15 KB, text/plain)
2018-10-03 07:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,273.63 KB, text/plain)
2018-10-03 07:49 UTC, Toralf Förster
Details
environment (environment,82.54 KB, text/plain)
2018-10-03 07:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.35 KB, application/x-bzip)
2018-10-03 07:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.60 KB, application/x-bzip)
2018-10-03 07:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.99 KB, application/x-bzip)
2018-10-03 07:50 UTC, Toralf Förster
Details
x11-libs:libxklavier-5.4:20181003-074330.log (x11-libs:libxklavier-5.4:20181003-074330.log,10.65 KB, text/plain)
2018-10-03 07:50 UTC, Toralf Förster
Details
environment (environment,64.48 KB, text/plain)
2021-05-05 02:45 UTC, John L. Poole
Details
build.log (build.log,10.61 KB, text/x-log)
2021-05-05 02:45 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-10-03 07:49:48 UTC
&& rm -f new-xkl-enum-types.h \
&& echo timestamp > stamp-xkl-enum-types.h
/bin/sh: line 2: glib-mkenums: command not found
make[2]: *** [Makefile:855: stamp-xkl-enum-types.h] Error 127
make[2]: Leaving directory '/var/tmp/portage/x11-libs/libxklavier-5.4/work/libxklavier-5.4/libxklavier'
make[1]: *** [Makefile:461: all-recursive] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_test_20180924-211226

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpv x11-libs/libxklavier
[ebuild  N    ] x11-libs/libxklavier-5.4  USE="introspection -vala"
Comment 1 Toralf Förster gentoo-dev 2018-10-03 07:49:51 UTC
Created attachment 549134 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-03 07:49:54 UTC
Created attachment 549136 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-03 07:49:57 UTC
Created attachment 549138 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-03 07:50:00 UTC
Created attachment 549140 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-03 07:50:03 UTC
Created attachment 549142 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-03 07:50:05 UTC
Created attachment 549144 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-10-03 07:50:08 UTC
Created attachment 549146 [details]
x11-libs:libxklavier-5.4:20181003-074330.log
Comment 8 Larry the Git Cow gentoo-dev 2018-10-03 08:55:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1631e7f07f185074564e74e3844bb9e1e58f886d

commit 1631e7f07f185074564e74e3844bb9e1e58f886d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-10-03 08:10:44 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-03 08:10:44 +0000

    x11-libs/libxklavier: Add explicit dep on glib-utils
    
    Closes: https://bugs.gentoo.org/667636
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 x11-libs/libxklavier/libxklavier-5.4.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 9 John L. Poole 2021-05-05 02:43:04 UTC
Although /usr/portage/x11-libs/libxklavier/libxklavier-5.4.ebuild has:
...
DEPEND="${RDEPEND}"
BDEPEND="
	dev-util/glib-utils
...

I'm still getting a failures with 

Making all in libxklavier
make[2]: Entering directory '/var/tmp/portage/x11-libs/libxklavier-5.4/work/libxklavier-5.4/libxklavier'
(cd . \
&& glib-mkenums \
	--fhead "#ifndef __XKL_ENUM_TYPES_H__\n#define __XKL_ENUM_TYPES_H__\n" \
	--fprod "/* enumerations from \"@filename@\" */\n" \
	--vhead "GType @enum_name@_get_type (void);\n#define XKL_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
	--ftail "#endif /* __XKL_ENUM_TYPES_H__ */" \
	xkl_engine.h xkl_config_item.h xkl_config_registry.h xkl_config_rec.h xkl_engine_marshal.h xklavier.h) > new-xkl-enum-types.h \
&& (cmp -s new-xkl-enum-types.h xkl-enum-types.h || cp new-xkl-enum-types.h xkl-enum-types.h) \
&& rm -f new-xkl-enum-types.h \
&& echo timestamp > stamp-xkl-enum-types.h
/bin/sh: line 2: glib-mkenums: command not found
make[2]: *** [Makefile:855: stamp-xkl-enum-types.h] Error 127


emerge --info '=x11-libs/libxklavier-5.4::gentoo'
Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r7, 5.4.97-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.2.5
KiB Mem:    16329620 total,   8495688 free
KiB Swap:   20971516 total,  20971516 free
Timestamp of repository gentoo: Tue, 04 May 2021 14:00:01 +0000
Head commit of repository gentoo: 17d912ff9ad0a450e9250e8224866ca172926b60
Head commit of repository sakaki-tools: 571e34870d665e98677caecbd56cf0d399ee4b3c

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p8::gentoo, 3.7.10_p1::gentoo, 3.8.8_p1::gentoo, 3.9.2_p1::gentoo
dev-lang/rust-bin:        1.51.0::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.22::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

localrepo
    location: /usr/local/portage
    masters: gentoo

sakaki-tools
    location: /usr/local/portage/sakaki-tools
    sync-type: git
    sync-uri: https://github.com/sakaki-/sakaki-tools.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=9 --load-average=8"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ares http://gentoo.osuosl.org/ http://gentoo.cs.utah.edu/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

taurus /home/jlpoole # 


taurus /home/jlpoole # emerge -pqv '=x11-libs/libxklavier-5.4::gentoo'
[ebuild   R   ] x11-libs/libxklavier-5.4 [5.4] USE="introspection -vala" 

!!! The following installed packages are masked:
- sys-kernel/linux-firmware-20210315::gentoo (masked by: || ( ) linux-fw-redistributable license(s))
A copy of the 'linux-fw-redistributable' license is located at '/usr/portage/licenses/linux-fw-redistributable'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

taurus /home/jlpoole # 

Will attached build and log file.
Comment 10 John L. Poole 2021-05-05 02:45:13 UTC
Created attachment 706077 [details]
environment
Comment 11 John L. Poole 2021-05-05 02:45:47 UTC
Created attachment 706080 [details]
build.log
Comment 12 John L. Poole 2021-05-05 03:33:03 UTC
For what it is worth, I'm also having a failure apparently related to glib-genmarshal:

...
Program glib-genmarshal found: NO

../gdk-pixbuf-2.42.4/gdk-pixbuf/meson.build:86:0: ERROR: Program 'glib-genmarshal' not found
...

So whatever bundle has glib-genmarshal and glib-mkenums is the culprit.
Comment 13 John L. Poole 2021-05-05 03:44:14 UTC
RESOLVED:  I emerged dev-util/glib-utils and that fixed my problem as I then
 successfully emerged x11-libs/gdk-pixbuf-2.42.4::gentoo and x11-libs/libxklavier-5.4::gentoo

I re-emerged dev-util/glib-utils on the suggestion of this Gentoo forum posting:
https://forums.gentoo.org/viewtopic-t-1116458-highlight-glibmkenums+glibgenmarshal.html?sid=d1cf57bde131c1f1a5487048f833b6e3

It looks like some of the scripts within dev-util/glib-utils were broken, but there was no indication that they were so broken other than when they are called upon by a build script.  I had tried looking around to determine what Gentoo package contained glib-mkenums and was not too successful.  Is there some place that lists all the executables and/or shell scripts a package installs?