If x11-libs/goocanvas-2.0.4-r1 is built without "introspection" use flag, executing gscan2pdf program from media-gfx/gscan2pdf-2.10.2 fails: $ gscan2pdf Typelib file for namespace 'GooCanvas', version '2.0' not found at /usr/lib64/perl5/vendor_perl/5.32.0/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 108. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.32.0/Gscan2pdf/Dialog/Scan.pm line 12. Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.32.0/Gscan2pdf/Dialog/Scan/CLI.pm line 8. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.32.0/Gscan2pdf/Dialog/Scan/CLI.pm line 8. Compilation failed in require at /usr/bin/gscan2pdf line 58. BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 58. That's because =dev-perl/GooCanvas2-0.60.0 is missing the introspection flag at x11-libs/goocanvas:2 atom in RDEPENDS. The introspection is obvious from a description of dev-perl/GooCanvas2 ("Perl binding for GooCanvas2 widget using Glib::Object::Introspection"). Proposed fix: --- /var/db/repos/gentoo/dev-perl/GooCanvas2/GooCanvas2-0.60.0.ebuild 2019-12-11 00:41:52.000000000 +0100 +++ GooCanvas2-0.60.0.ebuild 2021-01-29 19:05:20.994724758 +0100 @@ -14,7 +14,7 @@ RESTRICT="!test? ( test )" RDEPEND=" - x11-libs/goocanvas:2.0 + x11-libs/goocanvas:2.0[introspection] dev-perl/Gtk3 " DEPEND="${RDEPEND}
Could reproduce with a simple test.pl that only "use GooCanvas2;" if gooconvas[-introspection]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a344440d3ed4874975a510d6487cc3b099b476af commit a344440d3ed4874975a510d6487cc3b099b476af Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2021-05-08 12:19:44 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2021-05-08 13:03:06 +0000 dev-perl/GooCanvas2: Fix goocanvas dependency, bug 767883 Closes: https://bugs.gentoo.org/767883 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> .../{GooCanvas2-0.60.0.ebuild => GooCanvas2-0.60.0-r1.ebuild} | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)