Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683756 - app-text/evince-3.32.0 - /usr/bin/msgfmt: cannot locate ITS rules for evince-pdfdocument.metainfo.xml.in
Summary: app-text/evince-3.32.0 - /usr/bin/msgfmt: cannot locate ITS rules for evince-...
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:
Blocks:
 
Reported: 2019-04-18 14:07 UTC by email200202
Modified: 2019-10-20 14:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,81.20 KB, text/plain)
2019-04-18 14:07 UTC, email200202
Details
emerge -pqv '=app-text/evince-3.32.0::gentoo' (file_683756.txt,214 bytes, text/plain)
2019-04-18 14:09 UTC, email200202
Details
emerge --info '=app-text/evince-3.32.0::gentoo' (file_683756.txt,6.84 KB, text/plain)
2019-04-18 14:11 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2019-04-18 14:07:55 UTC
Created attachment 573248 [details]
build.log

libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/app-text/evince-3.32.0/work/evince-3.32.0/libdocument/tmp-introspectike3rhi0/.libs/EvinceDocument-3.0 -O2 -pipe -march=native -mtune=native -O2 -pipe -march=native -mtune=native /var/tmp/portage/app-text/evince-3.32.0/work/evince-3.32.0/libdocument/tmp-introspectike3rhi0/EvinceDocument-3.0.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--export-dynamic  -L. ./.libs/libevdocument3.so -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lz -lm -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--as-needed -pthread
g-ir-scanner: EvinceDocument: warning: 7 warnings suppressed (use --warn-all to see them)
Making all in backend
Making all in pdf
/usr/bin/msgfmt: cannot locate ITS rules for evince-pdfdocument.metainfo.xml.in
make[3]: *** [Makefile:921: evince-pdfdocument.metainfo.xml] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 1 email200202 2019-04-18 14:09:46 UTC
Created attachment 573250 [details]
emerge -pqv '=app-text/evince-3.32.0::gentoo'
Comment 2 email200202 2019-04-18 14:11:10 UTC
Created attachment 573252 [details]
emerge --info '=app-text/evince-3.32.0::gentoo'
Comment 3 email200202 2019-04-18 14:20:32 UTC
The problem is fixed by installing dev-libs/appstream

This package should be added as dependency to app-text/evince
Comment 4 Jory A. Pratt gentoo-dev 2019-04-18 14:29:58 UTC
(In reply to email200202 from comment #3)
> The problem is fixed by installing dev-libs/appstream
> 
> This package should be added as dependency to app-text/evince

This is use specific. I am not sure what use requires but I do not have appstream installed and have no problems out of said version.
Comment 5 Mart Raudsepp gentoo-dev 2019-04-19 11:05:17 UTC
It needs appstream-glib at build time then, definitely not appstream.
Comment 6 email200202 2019-04-19 11:53:23 UTC
dev-libs/appstream brings dev-libs/appstream-glib and dev-libs/snowball-stemmer as dependencies.

app-text/evince still builds ok after uninstalling dev-libs/appstream and dev-libs/snowball-stemmer.

So I can confirm that dev-libs/appstream-glib is enough.
Comment 7 Christian Schmidt 2019-04-23 15:14:01 UTC
My USE to hit this bug is just "introspection tiff".

I can confirm that emerge -1 dev-libs/appstream-glib solves it.

Maybe this helps.
Comment 8 Christian Schmidt 2019-04-23 15:28:45 UTC
(In reply to Christian Schmidt from comment #7)
> My USE to hit this bug is just "introspection tiff".

I also hit the bug with absolutely no USE flags set:

[ebuild   R    ] app-text/evince-3.32.0:0/evd3.4-evv3.3::gentoo  USE="-djvu -dvi -gnome -gnome-keyring -gstreamer -introspection* -nautilus -nsplugin -postscript -spell -t1lib -tiff* -xps" 0 KiB

Maybe someone for whom this works could

grep -r metainfo.xml /usr/share/gettext

to see if something else provides support for this pattern, just as appstream does:

/usr/share/gettext/its/appdata.loc:  <locatingRule name="AppData" pattern="*.metainfo.xml">
Comment 9 Joonas Niilola gentoo-dev 2019-05-14 09:07:44 UTC
(In reply to Christian Schmidt from comment #7)
> My USE to hit this bug is just "introspection tiff".
> 
> I can confirm that emerge -1 dev-libs/appstream-glib solves it.
> 
> Maybe this helps.

Hit this error with fresh Gentoo installation. This step solved it.
Comment 10 Larry the Git Cow gentoo-dev 2019-10-20 14:30:08 UTC
The bug has been closed via the following commit(s):

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

commit af12932bccf348e79f0d8aa4ac35c00220753af9
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-10-20 14:10:57 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-10-20 14:28:53 +0000

    app-text/evince: Bump to 3.32.1, needs appstream-glib
    
    Closes: https://bugs.gentoo.org/683756
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-text/evince/Manifest             |   1 +
 app-text/evince/evince-3.32.1.ebuild | 108 +++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)