pdflatex produces a symbol lookup failure since recent libpoppler upgrade

Bug #121327 reported by Andres Freund
48
Affects Status Importance Assigned to Milestone
poppler (Ubuntu)
Invalid
Medium
Unassigned
texlive-bin (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: libpoppler1

Since the recent upgrade of libpoppler pdflatex crashes when i do a
\includegraphics{whatever.pdf}
but
\includegraphics{whatever.eps}
works without problems.

pdflatex dies with:`(./main.out)pdflatex: symbol lookup error: pdflatex: undefined symbol: _ZN12GlobalParamsC1EPc`

Thanks.

texlive-latex-base: 2007-9
texlive-pdftricks: 2007-3
libpoppler1: 0.5.9-0ubuntu1

Revision history for this message
Micah Cowan (micahcowan) wrote :

Looks like a dynamic linkage error against a C++ library module.

Revision history for this message
hawkes (hawkes) wrote :

I can confirm this bug :| Please rebuilt soon

Áron Sisak (asisak)
Changed in texlive-bin:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Áron Sisak (asisak) wrote :

texlive 2007-12 still affected (with the same libpoppler1 version)

Revision history for this message
Áron Sisak (asisak) wrote :

In fact texlive-bin has version 2007-12, texlive-base has 2007-10.

Revision history for this message
Áron Sisak (asisak) wrote :

Actually I cannot even re-compile it (as some of you suggested that). Up-to date gutsy x86.
It seems for me to be more of a libpoppler than a texlive bug.

Attached the relevant part of
$ sudo pbuilder build texlive-bin

Changed in poppler:
assignee: nobody → asisak
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Áron Sisak (asisak) wrote :

This issue might be caused by the fact that libpoppler 0.5.9 does not contain the UGooString convenience class used in debian/patches/30_poppler_new. any more.

Changed in poppler:
assignee: asisak → nobody
status: Incomplete → Invalid
Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 121327] Re: pdflatex produces a symbol lookup failure since recent libpoppler upgrade

On Mon, 25 Jun 2007, Áron Sisak wrote:
> This issue might be caused by the fact that libpoppler 0.5.9 does not
> contain the UGooString convenience class used in
> debian/patches/30_poppler_new. any more.

Hmm, grepping through the source seem to still find UGooString, are you
sure???

Would COULD be the problem is a missing include of poppler/Form.h where
the class UGooString is defined.

But what I don't understand how the packages has then be built?

Can someone of the ubuntu guys try to compile texlive packages with
poppler 0.5.9 and send some error messages? If it is a missing
declaration try adding the above include file ...

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MINCHINHAMPTON (n.)
The expression on a man's face when he has just zipped up his trousers
without due care and attention.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Áron Sisak (asisak) wrote :

Norbert, thanks for answering. I tried to emphasize that "debian/patches/30_poppler_new" is likely to suffer from this error, since the original tgz does not use this class at all. Actually pdftoepdf.cc and pdftosrc.cc are patched to use this class.

I tried to compile it and attached the log http://launchpadlibrarian.net/8177964/texlive-bin-pbuilder-fail.log
Now I check if "poppler/Form.h" is included or not.

Revision history for this message
Norbert Preining (preining) wrote :

On Mon, 25 Jun 2007, Áron Sisak wrote:
> I tried to compile it and attached the log http://launchpadlibrarian.net/8177964/texlive-bin-pbuilder-fail.log
> Now I check if "poppler/Form.h" is included or not.

Well this seems to be an easy one:
 UGooString.h
is gone, it does not exist in poppler 0.9.5
pdftoepdf.cc:36:32: error: poppler/UGooString.h : No such file or directory

One has to change the include directives from
 UGooString.h
to
 Form.h

Can you try this, please?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HAUGHAM (n.)
One who loudly informs other diners in a restaurant what kind of man
he is by calling for the chef by his christian name from the lobby.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Christian Kellner (gicmo) wrote :

I have the same error here on a recent gutsy even with a very simple beamer template.

Revision history for this message
Áron Sisak (asisak) wrote :

Thanks, Christian for writing this.
Anyone: no more confirmation needed.

Changed in texlive-bin:
assignee: nobody → asisak
status: Confirmed → In Progress
Revision history for this message
Áron Sisak (asisak) wrote :

Norbert: it is only a stub.

aron@lemon:~/src/poppler-0.5.9$ rgrep UGooString poppler
poppler/Form.h:class UGooString;

In fact upstream says that UGooString is no more available (and deprecated).

Revision history for this message
Áron Sisak (asisak) wrote :

We need to avoid the use of the class UGooString.

Changed in texlive-bin:
assignee: asisak → nobody
status: In Progress → Confirmed
Revision history for this message
Norbert Preining (preining) wrote :

On Die, 26 Jun 2007, Áron Sisak wrote:
> aron@lemon:~/src/poppler-0.5.9$ rgrep UGooString poppler
> poppler/Form.h:class UGooString;

Umpf, right.

> In fact upstream says that UGooString is no more available (and
> deprecated).

And, what should be used instead?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
FARDUCKMANTON (n. archaic)
An ancient edict, mysteriously omitted from the Domesday Book,
requiring that the feeding of fowl on village ponds should be carried
out equitably.
   --- Douglas Adams, The Meaning of Liff

Áron Sisak (asisak)
Changed in texlive-bin:
assignee: nobody → asisak
status: Confirmed → Triaged
Revision history for this message
HumpBack (humpback) wrote :

Any idea on a time for this to be fixed in gutsy?

Áron Sisak (asisak)
Changed in texlive-bin:
status: Triaged → In Progress
Revision history for this message
Kim Nguyễn (kim.nguyen) wrote :

Workaround :

downgrading to libpoppler1 0.5.4 fixes the problem (I can compile latex sources with pdflatex). However, it will conflict with libpoppler-glib1 which is needed by evince and gimp (at least).

HTH

Revision history for this message
kuscsik (kuscsik) wrote :

I can confirm, that recompiling the libpoppler 0.5.4 from sources from

http://poppler.freedesktop.org/

solved the problem on gutsy.

Pdflatex, evince works fine with the recompiled package.

Revision history for this message
kuscsik (kuscsik) wrote :

This approach is not recommended, but until the bug is not fixed
you can copy the libpoppler.so.1, libpoppler.so.1.0.0 from
poppler 0.5.4 to a specific directory and run pdflatex

 LD_LIBRARY_PATH=/home/someuser/lib/ pdflatex latexfile.tex

This solution is very ugly and unsafe. Use it only if you have a
presentation deadline tomorrow ;)

Revision history for this message
Martin Pitt (pitti) wrote :

I think I got it fixed. Norbert, I'll attach the debdiff here once it's confirmed and built.

Changed in texlive-bin:
assignee: asisak → pitti
importance: Medium → High
Revision history for this message
Martin Pitt (pitti) wrote :

Norbert, this debdiff fixes the patch and bumps the libpoppler-dev b-dep (yay for the poppler guys doing their homework wrt. SONAMEs). Please note that the debdiff includes the Maintainer: field change which is mandatory in Ubuntu. You want to revert that for Debian. :-)

Revision history for this message
Martin Pitt (pitti) wrote :

texlive-bin (2007-12ubuntu1) gutsy; urgency=low

  * debian/patches/30_libpoppler_new: Port to poppler 0.5.9 API (which, by and
    large, consisted of reverting some parts of the patch; yay for upstream
    xpdf and poppler getting closer together). LP: #121327
  * debian/control: Bump libpoppler build dependency.

 -- Martin Pitt <email address hidden> Tue, 03 Jul 2007 12:04:22 +0200

Changed in texlive-bin:
status: In Progress → Fix Released
Revision history for this message
Norbert Preining (preining) wrote :

Hi Martin,

On Die, 03 Jul 2007, Martin Pitt wrote:
> http://launchpadlibrarian.net/8289253/texlive-bin.poppler-0.5.9.debdiff

Thanks a lot. I included it into our subversion repository for the time
when libpoppler 0.5.9 arrives in Debian. We are still at 0.5.4.

Again, thanks a lot for your work on this.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
CRANLEIGH (n.)
A mood of irrational irritation with everyone and everything.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
HumpBack (humpback) wrote :

I use lyx for producing articles/reports. My report exports to pdf if I use dvipdfm or ps2pdf but the numbering and position of the cover page all goes crazy with pdflatex. This does not happen when I use lyx with pdflatex on OSX or Windows, just on my ubuntu system.

After some investigation I found that the issue is with images in the title of an article. I can try to create a lyx+image that result in this issue and submit if there is interest.

Revision history for this message
Ming Hua (minghua) wrote :

On Wed, Jul 04, 2007 at 12:17:42AM -0000, HumpBack wrote:
> I use lyx for producing articles/reports. My report exports to pdf if I
> use dvipdfm or ps2pdf but the numbering and position of the cover page
> all goes crazy with pdflatex. This does not happen when I use lyx with
> pdflatex on OSX or Windows, just on my ubuntu system.
>
> After some investigation I found that the issue is with images in the
> title of an article. I can try to create a lyx+image that result in this
> issue and submit if there is interest.

Yes, please report if you can get a test case and exact procedure to
reproduce the bug. But please report a separate bug instead of replying
on this bug, as it's a completely different issue.

Ming
2007.07.07

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.