Summary: | =x11-misc/colord-1.4.5-r1: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick <nickAristocrates> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | admnd, conikost, dschridde+gentoobugs, fordfrog, harrisl, ikelos, ionen, phobosk, proteuss, realnc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/hughsie/colord/pull/132 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=784272 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
meson-log.txt |
Description
Nick
2021-04-29 16:09:06 UTC
Created attachment 703965 [details]
build.log
Created attachment 703968 [details]
meson-log.txt
This is happening on my system as well As a temporary workaround, enable USE=introspection on x11-misc/colord and dev-libs/libgusb Seems this is what the removed patch was intended for, builds fine on a no-introspection system if I revert 2a99448fde4dd9e790ae7381a466d332bc3812ec wrt libgusb, I tried to emerge it on a no-introspection system with only USE=introspection on colord and I further ran into: https://github.com/hughsie/colord/issues/90 Correcting summary, given noticed have introspection enabled which is having me confused. (In reply to Ionen Wolkens from comment #5) > Correcting summary, given noticed have introspection enabled which is having > me confused. Oh, believe it both fails if gobject-introspection is missing entirely (USE=-introspection, could reproduce that), or with USE=abi_x86_32 same here Same here. Latest in the tree as of today is 1.68.0. According to my logs, the last time colord was built was in January (version 1.3.5). At this time, the version of dev-libs/gobject-introspection was 1.66.1 on my system. Same here, but USE="-introspection -vala" on libgusb does not work here and I fail with the same error. ``` $ equery f dev-libs/gobject-introspection|grep pkg /usr/lib64/gobject-introspection/giscanner/__pycache__/pkgconfig.cpython-38.opt-1.pyc /usr/lib64/gobject-introspection/giscanner/__pycache__/pkgconfig.cpython-38.opt-2.pyc /usr/lib64/gobject-introspection/giscanner/__pycache__/pkgconfig.cpython-38.pyc /usr/lib64/gobject-introspection/giscanner/pkgconfig.py /usr/lib64/pkgconfig /usr/lib64/pkgconfig/gobject-introspection-1.0.pc /usr/lib64/pkgconfig/gobject-introspection-no-export-1.0.pc $ ls -l /usr/lib64/pkgconfig/gobject-introspection-1.0.pc -rw-r--r-- 1 root root 554 30/04/2021 19:41:23 /usr/lib64/pkgconfig/gobject-introspection-1.0.pc pkg-config --libs /usr/lib64/pkgconfig/gobject-introspection-1.0 Package /usr/lib64/pkgconfig/gobject-introspection-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `/usr/lib64/pkgconfig/gobject-introspection-1.0.pc' to the PKG_CONFIG_PATH environment variable No package '/usr/lib64/pkgconfig/gobject-introspection-1.0' found ``` Just to make sure we need the version number. ``` pkg-config --libs /usr/lib64/pkgconfig/gobject-introspection Package /usr/lib64/pkgconfig/gobject-introspection was not found in the pkg-config search path. Perhaps you should add the directory containing `/usr/lib64/pkgconfig/gobject-introspection.pc' to the PKG_CONFIG_PATH environment variable No package '/usr/lib64/pkgconfig/gobject-introspection' found ``` The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0890de6628081a72295a74c84622bc2042b1fc commit 6b0890de6628081a72295a74c84622bc2042b1fc Author: David Michael <fedora.dm0@gmail.com> AuthorDate: 2021-04-30 20:25:51 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-05-01 18:25:44 +0000 x11-misc/colord: make introspection optional in meson Closes: https://bugs.gentoo.org/786873 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-misc/colord/colord-1.4.5-r1.ebuild | 9 +-- .../files/1.4.5-optional-introspection.patch | 64 ++++++++++++++++++++++ 2 files changed, 67 insertions(+), 6 deletions(-) *** Bug 787689 has been marked as a duplicate of this bug. *** |