On Sat, 14 Oct 2017 11:25:06 -0500 Bruce Dubbs <[email protected]> wrote:

> Stephen Berman wrote:
>> I built poppler-0.57.0 in (B)LFS 8.1 with the required and recommended
>> dependencies, including openjpeg-1.5.2 rather than openjpeg-2.2.0.
>> Later I built cups-filters and its dependencies, one of which,
>> mupdf-1.11, lists openjpeg-2.2.0 as a recommended dependency, so I built
>> that as well.  But the cups-filters build failed:
>>
>>     pdftoraster-pdftoraster.o: In function `setPopplerColorProfile':
>>     /sources/cups-filters-1.17.2/filter/pdftoraster.cxx:1952: undefined
>> reference to `GfxColorSpace::setDisplayProfile(void*)'
>>     collect2: error: ld returned 1 exit status
>>     make[1]: *** [Makefile:2409: pdftoraster] Error 1
>>     make[1]: Leaving directory '/sources/cups-filters-1.17.2'
>>     make: *** [Makefile:1919: all] Error 2
>>
>> I did a web search for this error and found a suggestion to rebuild
>> poppler and then cups-filters; I did that and now the cups-filters build
>> succeeded.  The rebuild of poppler used openjpeg2; I don't know if this
>> is the reason the cups-filters build succeeded, but if it is, that would
>> seem to indicate that the current BLFS instructions should be changed to
>> say poppler should be built with openjpeg2 before building cups-filters.
>> (But what are the "regressions" with openjpeg2 referred to on the
>> poppler page?  Must I fear problems with poppler because of them?)
>
> You are correct.  We updated the recommended dependency to openjpeg2 in the
> development version of the book in early September.

Thanks for confirming my conjecture.

> This sort of thing probably should be in the errata, but we don't have the
> resources (manpower) to document more than important security issues there.

More than understandable.

Steve Berman
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to