Summary: | dev-libs/glib-2.74.6 [gtk-doc] fails to build: ERROR: Unknown variable "libgdbus_example_objectmanager_dep". | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aklhfex, ionen, lssndrbarbieri, redblade7, waebbl-gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Leonid Kopylov
2021-03-22 06:00:17 UTC
Created attachment 692856 [details]
build.log
Needs USE="test". https://gitlab.gnome.org/GNOME/glib/-/commit/e1744603d8c8b4ac9763854ce658c241b3c5fc3a (In reply to Chris Mayo from comment #2) > Needs USE="test". > > https://gitlab.gnome.org/GNOME/glib/-/commit/ > e1744603d8c8b4ac9763854ce658c241b3c5fc3a Thanks, but I don't follow. What is your suggestion? Unfortunately I don't think there is much that can be done, only: REQUIRED_USE="gtk-doc? ( test )" True of =dev-libs/glib-2.68.2 as well I've got the same problem since 3 days or so. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1d1df9303a42af1682f7a2a0a00e6a9905cde9 commit bf1d1df9303a42af1682f7a2a0a00e6a9905cde9 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-06-04 02:58:06 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-06-04 03:11:53 +0000 dev-libs/glib: Require USE=test for USE=gtk-doc Closes: https://bugs.gentoo.org/777636 Signed-off-by: Matt Turner <mattst88@gentoo.org> dev-libs/glib/glib-2.68.2.ebuild | 1 + 1 file changed, 1 insertion(+) Can't we silently enable tests meson option in case of USE=gtk-doc, but not run the tests? (In reply to Mart Raudsepp from comment #8) > Can't we silently enable tests meson option in case of USE=gtk-doc, but not > run the tests? I didn't consider that. If that works, I'll all for it! Reopening to look into actually doing that eventually then (or potentially better solutions by now) ci has reproduced this issue with version 2.74.2 - Updating summary. ci has reproduced this issue with version 2.74.3 - Updating summary. ci has reproduced this issue with version 2.74.3-r1 - Updating summary. *** Bug 878473 has been marked as a duplicate of this bug. *** ci has reproduced this issue with version 2.74.3-r2 - Updating summary. ci has reproduced this issue with version 2.74.3-r3 - Updating summary. ci has reproduced this issue with version 2.74.4 - Updating summary. ci has reproduced this issue with version 2.74.5 - Updating summary. ci has reproduced this issue with version 2.74.6 - Updating summary. (In reply to Matt Turner from comment #9) > (In reply to Mart Raudsepp from comment #8) > > Can't we silently enable tests meson option in case of USE=gtk-doc, but not > > run the tests? > > I didn't consider that. If that works, I'll all for it! I tried this and it's not trivial because of > # Don't build tests, also prevents extra deps, bug #512022 > sed -i -e '/subdir.*tests/d' {.,gio,glib}/meson.build || die in src_prepare(). I don't know why the line subdir('tests') is removed at all.... As long as USE=-test is active the tests won't be build anyway... And for the problem with USE="-test gtk-doc" I changed 'docs/reference/meson.build' by wrapping a few offensing lines (the second line and the block 'content_files += [ ... ]') with: if build_tests ... endif Worked like a charm :) seems issue solved: # emerge dev-libs/glib -pvq [ebuild R ] dev-libs/glib-2.76.2 USE="dbus elf gtk-doc (mime) sysprof test utils xattr -debug (-selinux) -static-libs -systemtap" ABI_X86="32 (64) (-x32)" |