Bug#1098546: multiple FTBFS: tracker-sparql-3.0, tracker-sparql-0.10 not found
Simon McVittie
smcv at debian.org
Sat Feb 22 13:50:57 GMT 2025
Control: reassign -1 libtracker-sparql-3.0-dev 3.8.2-3
Control: retitle -1 libtracker-sparql-3.0-dev: missing dependency on libtinysparql-dev
Control: forcemerge 1098545 1098546 1098537
Control: affects 1098545 + src:brasero src:gnome-music src:gnome-photos
I believe the FTBFSs Santiago recently reported in brasero, gnome-music
and gnome-photos are all consequences of the same root cause.
Reproducer:
$ podman run --rm -it debian:sid-slim # or debian:trixie-slim for comparison
# apt update
# apt full-upgrade
# apt install perl # workaround for #1098508
# apt install libtracker-sparql-3.0-dev
# pkg-config --cflags --libs tracker-sparql-3.0; echo 0
Expected result, as seen in debian:trixie-slim: something similar to
-I/usr/include/tracker-3.0 [etc.]
0
Actual result, as seen in debian:sid-slim:
Package tinysparql-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `tinysparql-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'tinysparql-3.0', required by 'tracker-sparql-3.0', not found
1
An autopkgtest for each of the -dev packages similar to
https://sources.debian.org/src/libsoup3/3.6.4-2/debian/tests/build/
would have detected this.
On Fri, 21 Feb 2025 at 23:26:44 +0000, Santiago Vila wrote:
> Package: src:gnome-music
...
> Called: `/usr/bin/pkg-config --modversion tracker-sparql-3.0` -> 1
> stderr:
> Package tinysparql-3.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `tinysparql-3.0.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'tinysparql-3.0', required by 'tracker-sparql-3.0', not found
This is definitely a consequence of what I described above.
On Fri, 21 Feb 2025 at 23:26:46 +0000, Santiago Vila wrote:
> Package: src:gnome-photos
...
> Called: `/usr/bin/pkg-config --modversion tracker-sparql-3.0` -> 1
> stderr:
> Package tinysparql-3.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `tinysparql-3.0.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'tinysparql-3.0', required by 'tracker-sparql-3.0', not found
This is definitely a consequence of what I described above.
On Fri, 21 Feb 2025 at 23:26:27 +0000, Santiago Vila wrote:
> Package: src:brasero
...
> dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --disable-cdrtools --disable-caches --enable-search --enable-introspection --enable-gtk-doc --disable-nautilus returned exit code 1
...
> If required, the full build log is available here:
>
> https://people.debian.org/~sanvila/build-logs/202502/
The quoted section of log doesn't show the real error, which appears to be:
> checking for tracker-sparql-0.10 >= 0.10.0... no
> configure: error: Package requirements (tracker-sparql-0.10 >= 0.10.0) were not met:
>
> Package 'tracker-sparql-0.10', required by 'virtual:world', not found
This one (#1098537) is less obviously a consequence of what I described
above, but it seems that the brasero build system checks for multiple
versions of the Tracker API, oldest first, and will be happy if any
of them exists; so I believe adding the missing dependency would fix
this too.
smcv
More information about the pkg-gnome-maintainers
mailing list