Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861086 - app-text/libgepub-0.6.0 - Couldn't find include 'WebKit2-4.0.gir' (search path: '['/usr/share/gir-1.0', '/usr/share', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
Summary: app-text/libgepub-0.6.0 - Couldn't find include 'WebKit2-4.0.gir' (search pat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 884327
Blocks:
  Show dependency tree
 
Reported: 2022-07-25 22:02 UTC by ernsteiswuerfel
Modified: 2022-12-04 17:15 UTC (History)
0 users

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


Attachments
build.log (ppc64) (libgepub-0.6.0:20220725-214417.log,20.92 KB, text/plain)
2022-07-25 22:02 UTC, ernsteiswuerfel
Details
emerge --info (file_861086.txt,6.53 KB, text/plain)
2022-07-25 22:02 UTC, ernsteiswuerfel
Details
build.log (ppc, 0.6.0) (libgepub-0.6.0:20221204-163847.log,18.90 KB, text/plain)
2022-12-04 16:49 UTC, ernsteiswuerfel
Details
build.log (ppc, 0.7.0) (libgepub-0.7.0:20221204-164131.log,10.27 KB, text/plain)
2022-12-04 16:49 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-07-25 22:02:00 UTC
Created attachment 794408 [details]
build.log (ppc64)

[...]
FAILED: libgepub/Gepub-0.6.gir 
/usr/bin/g-ir-scanner --no-libtool --namespace=Gepub --nsversion=0.6 --warn-all --output libgepub/Gepub-0.6.gir --c-include=gepub.h --warn-all -I/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0/libgepub -I/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0-build/libgepub -I/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0/. -I/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0-build/. --filelist=/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0-build/libgepub/libgepub-0.6.so.0.0.0.p/Gepub_0.6_gir_filelist --include=GObject-2.0 --include=libxml2-2.0 --include=WebKit2-4.0 --cflags-begin -I/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0/. -I/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0-build/. -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0-build/libgepub --library gepub-0.6 --extra-library=webkit2gtk-4.0 --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=soup-2.4 --extra-library=gmodule-2.0 --extra-library=glib-2.0 --extra-library=gio-2.0 --extra-library=javascriptcoregtk-4.0 --extra-library=gobject-2.0 --extra-library=xml2 --extra-library=archive --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0/subprojects/ --sources-top-dirs /var/tmp/portage/app-text/libgepub-0.6.0/work/libgepub-0.6.0-build/subprojects/
Couldn't find include 'WebKit2-4.0.gir' (search path: '['/usr/share/gir-1.0', '/usr/share', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
ninja: build stopped: subcommand failed.
 * ERROR: app-text/libgepub-0.6.0::gentoo failed (compile phase):
 *   compile failed
Comment 1 ernsteiswuerfel archtester 2022-07-25 22:02:42 UTC
Created attachment 794411 [details]
emerge --info
Comment 2 Matt Turner gentoo-dev 2022-07-27 15:54:44 UTC
Sounds like it needs [introspection?] added to some dependencies, and probably more than just for webkit-gtk.
Comment 3 ernsteiswuerfel archtester 2022-12-04 16:49:09 UTC
Created attachment 839863 [details]
build.log (ppc, 0.6.0)

Stumbled over this again on ppc.

I can confirm this is an USE=introspection. Without USE=introspection 0.6.0 just builds fine.

Seems fixed in 0.7.0 which builds with USE=introspection. So probably easiest 'fix' is to stabilize 0.7.0.
Comment 4 ernsteiswuerfel archtester 2022-12-04 16:49:37 UTC
Created attachment 839865 [details]
build.log (ppc, 0.7.0)
Comment 5 Larry the Git Cow gentoo-dev 2022-12-04 17:15:41 UTC
The bug has been closed via the following commit(s):

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

commit d89b10f9fb1b3bd8cc888323e877c5d381df4d47
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-12-04 17:08:26 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-12-04 17:15:35 +0000

    app-text/libgepub: Depend on webkit-gtk[introspection?]
    
    Closes: https://bugs.gentoo.org/861086
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-text/libgepub/libgepub-0.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)