| Summary: | dev-util/anjuta-3.28.0 - Package `libvala-0.32' not found in specified Vala API directories or GObject-Introspection GIR directories | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
| Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log.bz2 | ||
|
Description
Juergen Rose
2018-08-05 12:16:26 UTC
I'm guessing the problem goes away if you uninstall vala:0.32 (though older anjuta might block that from --depclean), though this shouldn't happen nevertheless Looks like it checks for possible vala version to use by checking from newest to oldest in its supported list, but doesn't stop at first one it finds, but goes through it all, ending up with the oldest available. Then we still force specific vala:0.36 as the valac compiler provider, thus ending up with the build failure. However the whole idea is to actually have the package manager know which version was used (especially due to linkage to libvala-*.so), which in this case doesn't work as-is, despite what earlier versions of the ebuild already claimed. 3.22.0 just happened to work as of late, because it didn't support anything newer than 0.32, so it always ended up with what was expected. Looks like there will be a need to patch configure.ac and run eautoreconf here, to fix it :( Just tried to install. Same error, but reported problem vala version - 0.34. make[3]: Leaving directory '/var/calculate/tmp/portage/dev-util/anjuta-3.28.0/work/anjuta-3.28.0/plugins/language-support-python' Making all in language-support-vala make[3]: Entering directory '/var/calculate/tmp/portage/dev-util/anjuta-3.28.0/work/anjuta-3.28.0/plugins/language-support-vala' /usr/bin/valac-0.36 --vapidir . --pkg libvala-0.34 --pkg libanjuta-3.0 --pkg gtk+-3.0 -C config.vapi locator.vala plugin.vala provider.vala report.vala error: Package `libvala-0.34' not found in specified Vala API directories or GObject-Introspection GIR directories The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ffae5cfce3bee2b890b4c27e7fafa6a7b3be6d6 commit 2ffae5cfce3bee2b890b4c27e7fafa6a7b3be6d6 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-03-22 21:32:32 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-03-22 21:36:48 +0000 dev-util/anjuta: properly lock vala version and update to vala:0.40 Closes: https://bugs.gentoo.org/662838 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> dev-util/anjuta/anjuta-3.28.0-r1.ebuild | 140 ++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) |