Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] evince won't open PDFs
Date: Sun, 25 Jan 2009 15:32:28
Message-Id: 49bf44f10901250732y34766749j94ebbbb91333f353@mail.gmail.com
In Reply to: Re: [gentoo-user] evince won't open PDFs by David
1 >> >> For some reason, evince won't open PDFs anymore. I've tried different
2 >> >> versions of evince, poppler, and shared-mime-info, but evince says:
3 >> >>
4 >> >> "File type PDF document (application/pdf) is not supported"
5 >> >>
6 >> >> epdfview works, but it segfaults when trying to open shipping labels
7 >> >> from usps.com. Does anyone have any ideas on getting evince back to
8 >> >> normal? I did try deleting .gnome2/evince.
9 >> >
10 >> > Have you recently emerged evince/poppler/poppler-bindings ?
11 >> >
12 >> > To test if perhaps the version on the gentoo servers is currently bad
13 >> > I just now remerged them and did the suggested revdep-rebuild, which as
14 >> > expected rebuilt nothing. Everything worked fine; in particular,
15 >> > evince file.pdf
16 >> > worked.
17 >> >
18 >> > Perhaps you should remerge them in case one of yours is corrupted.
19 >> >
20 >> > Here is the beginning of my emerge showing the use flags
21 >> >
22 >> > allan gottlieb # emerge evince poppler poppler-bindings
23 >> >
24 >> > These are the packages that would be merged, in reverse order:
25 >> >
26 >> > Calculating dependencies... done!
27 >> > [ebuild R ] app-text/evince-2.22.2-r1 USE="dbus doc gnome
28 >> > gnome-keyring tiff -debug -djvu -dvi -t1lib" 1,592 kB [ebuild R ]
29 >> > app-text/poppler-bindings-0.8.7 USE="cairo gtk -qt3 -qt4 -test" 1,436 kB
30 >> > [ebuild R ] app-text/poppler-0.8.7 USE="jpeg zlib -cjk" 0 kB
31 >> >
32 >> > Total: 3 packages (3 reinstalls), Size of downloads: 3,027 kB
33 >> >
34 >> > Would you like to merge these packages? [Yes/No]
35 >>
36 >> It turns out evince, xpdf, and epdfview all segfault on the PDF
37 >> shipping labels produced by usps.com. The latest stable evince does
38 >> open other PDF files, although newer evince versions give me the "not
39 >> supported" problem.
40 >>
41 >> Has anyone successfully opened a usps.com shipping label?
42 >>
43 >> - Grant
44 >
45 > The problem is the stable version of poppler (app-text/poppler-0.8.7). I have
46 > upgrade it to app-text/poppler-0.10.3 and it is working fine now. You will
47 > have to run revdep-rebuild after updrading poppler.
48
49 Thank you very much, that fixed it. I needed to upgrade evince and
50 poppler-bindings along with poppler.
51
52 - Grant