Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 304407

Summary: app-text/poppler installs incorrect poppler-config.h causing pdftex etc... to crash
Product: Gentoo Linux Reporter: Denys Duchier <denys.duchier>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal CC: kde, martin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix crucial typo and remove an unwanted file

Description Denys Duchier 2010-02-10 21:10:14 UTC
Using poppler-0.12.3-r3, I noticed that pdfcrop and pdflatex (with included pdf graphics) where segfaulting. I verified that this was due to the fact that they had different ideas about the size of class GlobalParams.  I tracked this problem down to the fact that the wrong poppler-config.h was installed in /usr/include/poppler/.  This was due to a couple of errors in the tarball: an instance of poppler/poppler-config.h was included that should not be there, and an occurrence of MULTITHREAD in the toplevel CMakeLists.txt  should be changed to MULTITHREADED.  Both are fixed by the attached patch.

Reproducible: Always

Steps to Reproduce:
Comment 1 Denys Duchier 2010-02-10 21:11:40 UTC
Created attachment 219151 [details, diff]
fix crucial typo and remove an unwanted file
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2010-02-11 00:32:09 UTC
As this was accepted upstream, I've applied this. I didn't want to trigger another round of stabilization, so no revbump this time.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2010-02-11 21:08:26 UTC
*** Bug 304627 has been marked as a duplicate of this bug. ***