Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 883619

Summary: media-libs/gexiv2-0.14.0 - ninja: build stopped: subcommand failed.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
media-libs:gexiv2-0.14.0:20221129-160352.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-29 18:08:03 UTC
/usr/bin/vapigen-0.56 --quiet --library=gexiv2 --directory=/var/tmp/portage/media-libs/gexiv2-0.14.0/work/gexiv2-0.14.0-build/gexiv2 --pkg=glib-2.0 --pkg=gobject-2.0 --pkg=gio-2.0 --metadatadir=/var/tmp/portage/media-libs/gexiv2-0.14.0/work/gexiv2-0.14.0/gexiv2 /var/tmp/portage/media-libs/gexiv2-0.14.0/work/gexiv2-0.14.0-build/gexiv2/GExiv2-0.10.gir
error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
[20/20] /usr/bin/g-ir-compiler gexiv2/GExiv2-0.10.gir --output gexiv2/GExiv2-0.10.typelib --includedir=/usr/share/gir-1.0
ninja: build stopped: subcommand failed.
 * ERROR: media-libs/gexiv2-0.14.0::gentoo failed (compile phase):
 *   compile failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221124-120022

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
4)	Eclipse Temurin JRE 8.352_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-8 
  [4]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 657997ed112b2aed7db504cbba895bbe43d7a6ab
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 29 15:02:01 2022 +0000

    2022-11-29 15:02:00 UTC

emerge -qpvO media-libs/gexiv2
[ebuild  N    ] media-libs/gexiv2-0.14.0  USE="introspection vala -gtk-doc -python -static-libs -test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-11-29 18:08:04 UTC
Created attachment 838129 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-29 18:08:06 UTC
Created attachment 838131 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-29 18:08:08 UTC
Created attachment 838133 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-29 18:08:08 UTC
Created attachment 838135 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-29 18:08:10 UTC
Created attachment 838137 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-29 18:08:11 UTC
Created attachment 838139 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-29 18:08:12 UTC
Created attachment 838141 [details]
media-libs:gexiv2-0.14.0:20221129-160352.log
Comment 8 Toralf Förster gentoo-dev 2022-11-29 18:08:14 UTC
Created attachment 838143 [details]
temp.tar.bz2
Comment 9 Matt Turner gentoo-dev 2022-11-29 22:34:40 UTC
> error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
> error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories

Both GObject-2.0.gir and Gio-2.0.gir are provided by dev-libs/gobject-introspection, which I see is listed as a dependency of gexiv2 when USE=introspection is set.

Your build sets USE="introspection vala", and I see dev-libs/gobject-introspection in your emerge history.

Can you show the output of this command?

> qlist -e dev-libs/gobject-introspection | grep -e '\(GObject-2.0\|Gio-2.0\)'

For me it shows

> /usr/lib64/girepository-1.0/GObject-2.0.typelib
> /usr/lib64/girepository-1.0/Gio-2.0.typelib
> /usr/share/gir-1.0/GObject-2.0.gir
> /usr/share/gir-1.0/Gio-2.0.gir
Comment 10 Toralf Förster gentoo-dev 2022-11-30 10:56:34 UTC
# qlist -e dev-libs/gobject-introspection | grep -e '\(GObject-2.0\|Gio-2.0\)'
/usr/lib64/girepository-1.0/GObject-2.0.typelib
/usr/lib64/girepository-1.0/Gio-2.0.typelib
/usr/share/gir-1.0/GObject-2.0.gir
/usr/share/gir-1.0/Gio-2.0.gir