[tlbuild] Build problem using system poppler library (0.20.1)

Ken Brown kbrow1i at gmail.com
Mon Jun 18 17:48:34 CEST 2012


On 6/18/2012 10:57 AM, Peter Breitenlohner wrote:
> On Mon, 18 Jun 2012, Ken Brown wrote:
>
>> When I build TeX Live 2012 for the Cygwin distribution using
>> --with-system-poppler and --with-system-xpdf, the build fails as follows:
>>
>> ...
>>
>> /home/kbrown/src/cygtexlive/texlive/texlive-20120611-1/src/texlive-20120611-source/texk/web2c/pdftexdir/pdftosrc.cc:137:26:
>> error: ?class XRef? has no member named ?getSize?
>>
>> This is due to the following poppler change:
>>
>> http://cgit.freedesktop.org/poppler/poppler/commit/?h=poppler-0.20&id=33aded82fbd98832eaab7cb7487fe6a1c7ef15f5
>>
>>
>> The attached patch seems to fix the problem, but I don't know if it's
>> the right fix or if it would cause problems for the native TL build.
>
> Hi Ken,
>
> Ouch, another change in poppler's xpdf headers; we have been warned that
> this
> API is not supported by poppler and that we use it at our own risk.
>
> I have not yet experimented with poppler-0.20.1 (from 2012-06-10) because
> that might have interfered with the TL'12 freeze.

Hi Peter,

The change was already present in poppler-0.20.0.  But it didn't affect 
the native TL build for the reason stated below:

> The problem didn't occur with the native TL build, because that build included libs/xpdf/xpdf-3.03/xpdf/XRef.h instead of libs/poppler/poppler-0.20.0/poppler/XRef.h.

Regards,

Ken



More information about the tlbuild mailing list