When dev-libs/json-glib is merged with USE=-introspection, it does not install /usr/share/gir-1.0/Json-1.0.gir, which is required for dev-libs/libgusb-0.4.2[introspection] to compile and install clean. Reproducible: Always Steps to Reproduce: 1. USE="-introspection" emerge -1 dev-libs/json-glib 2. USE="introspection" emerge -1 dev-libs/libgusb Actual Results: dev-libs/libgusb fails to build. Expected Results: dev-libs/libgusb should have requested dev-libs/json-glib to be merged with USE=introspection, in which case the build completes clean. $ emerge --info Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.35-r8, 5.15.75-gentoo x86_64) ================================================================= System uname: Linux-5.15.75-gentoo-x86_64-Intel-R-_Core-TM-_i7-7600U_CPU_@_2.80GHz-with-glibc2.35 KiB Mem: 16252216 total, 7851076 free KiB Swap: 33554428 total, 30945380 free Timestamp of repository gentoo: Tue, 08 Nov 2022 01:45:02 +0000 Head commit of repository gentoo: 9e31f300c271105246eff16f2ec30e61d8754876 Head commit of repository qownnotes-overlay: 97880523d92ac027351c46c35b4bdcd01021a5de Head commit of repository palemoon: 96ab135f0b707cc5ed16c098ecb3b4b34cbf41cf sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.38 p4) 2.38 distcc 3.4 x86_64-pc-linux-gnu [enabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r4::gentoo dev-lang/python: 3.10.8_p2::gentoo, 3.11.0_p1::gentoo dev-lang/rust-bin: 1.64.0-r1::gentoo dev-util/cmake: 3.24.2::gentoo dev-util/meson: 0.63.2-r1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.45.2-r1::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo, 15.0.3::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 15.0.3::gentoo sys-devel/llvm: 14.0.6-r2::gentoo, 15.0.3::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://server.office.pc-tiede.de/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: --ignore-errors sync-rsync-verify-max-age: 24 local location: /usr/local/portage masters: gentoo priority: 0 qownnotes-overlay location: /usr/local/overlays/qownnotes sync-type: git sync-uri: https://github.com/pbek/qownnotes-overlay.git masters: gentoo palemoon location: /usr/local/overlays/palemoon sync-type: git sync-uri: https://github.com/deu/palemoon-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -maes -mavx -mcx16 -mfxsr -mpclmul -mpopcnt -msahf -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -mxsave -mxsaveopt -O2 -pipe -fomit-frame-pointer -fforce-addr -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/fax /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /var/spool/fax/etc" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/spool/fax/etc/xferfaxlog" CXXFLAGS="-march=native -maes -mavx -mcx16 -mfxsr -mpclmul -mpopcnt -msahf -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -mxsave -mxsaveopt -O2 -pipe -fomit-frame-pointer -fforce-addr -ftracer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --with-bdeps=y" 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en en_US" MAKEOPTS="-j13 -l3" PKGDIR="/var/tmp/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--ignore-errors" 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" SHELL="/bin/bash" USE="X Xaw3d a52 aac aalib acl acpi activities alsa amd64 avx avx2 blake2 bluetooth branding bzip2 c++0x c++11 cairo caps cdda cdr cli crypt cups cxx dbus declarative dga dri dts dvd dvdr elogind encode evdev exif fbcon ffmpeg flac gif glamor gmp gpm gstreamer gui htmlhandbook http2 iconv icu imlib ipv6 jpeg kde kms kwallet latex lcms libglvnd libnotify libtirpc live lzma mad marble markdown mikmod mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp opus pam pango pcap pcre pdf pgo pipewire plasma png policykit ppds privsep pulseaudio qml qt5 quicktime readline sdl seccomp semantic-desktop share speech spell split-usr sse sse2 sse3 sse4_1 ssl ssse3 startup-notification static-pie svg tcpd test-rust theora threads tiff truetype udev udisks unicode upower usb v4l verify-sig vidstab vim-syntax vorbis wacom wayland widgets x264 xattr xcb xcomposite xinerama xml xprint xrandr xscreensaver xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel" 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="braindump flow gemini karbon kexi krita plan stage tables sheets words" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev libinput synaptics wacom" KERNEL="linux" L10N="de de-1901 en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LLVM_TARGETS="BPF NVPTX X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" SANE_BACKENDS="dell1600n_net net" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 828569 [details] dev-libs/libgusb-0.4.2 build.log
Created attachment 830265 [details, diff] Patch for dev-libs/libgusb to enforce dev-libs/json-glib[introspection] if required After cross-checking with dev-libs/json-glib[-introspection] and dev-libs/libgusb[-introspection] it became clear that dev-libs/libgusb[introspection] requires dev-libs/json-glib[introspection] while it otherwise does not matter. As such I have created and attached a patch to the latest dev-libs/libgusb ebuild which should solve this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e22f22c5b385b7d2ea48a1df3f34cac7bafdef commit 16e22f22c5b385b7d2ea48a1df3f34cac7bafdef Author: Felix Tiede <info@pc-tiede.de> AuthorDate: 2022-11-11 19:45:34 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-11-11 19:46:37 +0000 dev-libs/libgusb: Depend on dev-libs/json-glib[introspection?] Closes: https://bugs.gentoo.org/880311 Signed-off-by: Matt Turner <mattst88@gentoo.org> dev-libs/libgusb/libgusb-0.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)