| Summary: | [kde overlay] kde-plasma/plasma-desktop-9999 new dependency (lib)appstream-qt | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Duncan <1i5t5.duncan> |
| Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://phabricator.kde.org/D3923 | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=374310 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Duncan
2017-01-02 08:58:55 UTC
dev-libs/appstream added. Waiting for optional patch landing in master. https://gitweb.gentoo.org/proj/kde.git/commit/?id=cdc87ddd47ed51c7725d71b3d51b949c999ff477 (In reply to Johannes Huber from comment #1) > dev-libs/appstream added. Waiting for optional patch landing in master. > > https://gitweb.gentoo.org/proj/kde.git/commit/ > ?id=cdc87ddd47ed51c7725d71b3d51b949c999ff477 Thanks, and thanks for updating the URL (I'm following the plasma-devel list but due to real life haven't updated in a couple days). 1) I tried appstream-9999 and it failed configure, wanting itstool. Merging dev-libs/itstool solved that, so it needs to be a (build-time only?) dep. 2) But the actual build then failed with this (a couple blank lines added to make the wrapping a bit clearer): Generating moc source AppStreamQt_automoc.dir/moc_category_ELDPQGVNSO6XJD.cpp /usr/lib64/qt5/bin/moc -I/tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build/qt -I/tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build/src -I/tmp/portage/dev-libs/appstream-9999/work/appstream-9999/qt -I/tmp/portage/dev-libs/appstream-9999/work/appstream-9999/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -DQT_CORE_LIB -DQT_NO_DEBUG -o /tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build/qt/AppStreamQt_automoc.dir/moc_category_ELDPQGVNSO6XJD.cpp /tmp/portage/dev-libs/appstream-9999/work/appstream-9999/qt/category.h Error: cannot open mo file /tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build/po/*.gmo make[2]: *** [data/CMakeFiles/merge-l10n.dir/build.make:57: data/CMakeFiles/merge-l10n] Error 1 make[2]: Leaving directory '/tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build' make[1]: *** [CMakeFiles/Makefile2:306: data/CMakeFiles/merge-l10n.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... That was with -j10 and it looked like it might be a parallel-make error so I tried -j1, and that got a bit further, but still aborted at about 56%, same missing po/*.gmo error. With -j1: Scanning dependencies of target merge-l10n make[2]: Leaving directory '/tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build' make -f data/CMakeFiles/merge-l10n.dir/build.make data/CMakeFiles/merge-l10n.dir/build make[2]: Entering directory '/tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build' /usr/sbin/itstool -i /tmp/portage/dev-libs/appstream-9999/work/appstream-9999/contrib/its/metainfo.its -j /tmp/portage/dev-libs/appstream-9999/work/appstream-9999/data/org.freedesktop.appstream.cli.metainfo.xml -o /tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build/data/org.freedesktop.appstream.cli.metainfo.xml /tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build/po/*.gmo Error: cannot open mo file /tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build/po/*.gmo make[2]: *** [data/CMakeFiles/merge-l10n.dir/build.make:57: data/CMakeFiles/merge-l10n] Error 1 make[2]: Leaving directory '/tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build' make[1]: *** [CMakeFiles/Makefile2:306: data/CMakeFiles/merge-l10n.dir/all] Error 2 make[1]: Leaving directory '/tmp/portage/dev-libs/appstream-9999/work/appstream-9999_build' make: *** [Makefile:139: all] Error 2 And manually confirmed both times, the dir indeed has no *.gmo files (checked the subdirs the second time, with -j1, none in the subdirs either). So far, I've been pleasantly surprised; the dep, while new and not particularly welcomed, does at least seem to be a rather lite one as these things go. Both snowball-stemmer and itstool are small and fast builds and appstream itself seems pretty reasonable as well if that 56% where it aborted can be believed. Apol seems correct on that, tho of course I can't actually be sure yet, since it's not yet actually building for me. Hopefully that doesn't mean I'm missing the really weighty dep! =:^/ Meanwhile, from the appstream missing error and the d3923 discussion, it seems there's an actual release available. Is it possible it builds any better? Maybe I just hit appstream-git at the wrong time? (I can try setting the live-build to get the latest tag instead of head, but haven't yet.) (In reply to Duncan from comment #2) > > Meanwhile, from the appstream missing error and the d3923 discussion, it > seems there's an actual release available. Is it possible it builds any > better? Maybe I just hit appstream-git at the wrong time? (I can try > setting the live-build to get the latest tag instead of head, but haven't > yet.) I tried the appstream 0.10.4 and 0.10.5 tags, no luck, same error. 0.10.4 was the minimum plasma-desktop was looking for, so I didn't try before that. So I'll give up on appstream for the moment and will try the proposed d3923 patch making appstream optional, next. (In reply to Duncan from comment #3) > So I'll give up on appstream for the moment and will try the proposed d3923 > patch making appstream optional, next. FWIW, works fine here (after patching the appstream dep back out of the ebuild too). Was able to update plasma-desktop for the first time in several days, and am back up and running on it now. Appstream is now optional. https://gitweb.gentoo.org/proj/kde.git/commit/?id=15803f3cd9add1d01617e7bb39fc869cb28250fc |