Re: ports/opt (3.1): [notify] cups-filters: update to 1.0.66

New crux user here (as of Monday), just did a prt-get sysup and am now trying to set up my printer. On 2015-02-28 11:30:51 GMT, Juergen Daubert wrote:
- security fix, see https://bugs.linuxfoundation.org/show_bug.cgi?id=1265 - new rc script
- patch -p0 -i $SRC/$name-poppler_0.31.patch
If I'm reading the diff correctly, a patch to get cups-filters to compile with poppler 0.31 had been distributed with the ports tree in an earlier release, but the patch is no longer needed, having been folded into the most recent cups-filters source. Building the latest cups-filters against poppler 0.31 still fails for me, though. Quoting the relevant part of my install log: CXXLD pdftoraster pdftoraster-pdftoraster.o: In function `main': pdftoraster.cxx:(.text.startup+0x1cd2): undefined reference to `GfxColorSpace::setDisplayProfile(void*)' collect2: error: ld returned 1 exit status The header file /usr/include/poppler/GfxState.h appears to provide the necessary function, and other functions defined therein are called from pdftoraster.cxx without throwing any exceptions. Any suggestions? I can provide the entire install log if that might prove helpful, but I didn't want to clutter the mailing list unnecessarily. Thanks, -- John

On 2015-03-07 13:09, John Quah wrote:
Building the latest cups-filters against poppler 0.31 still fails for me, though. Quoting the relevant part of my install log:
CXXLD pdftoraster pdftoraster-pdftoraster.o: In function `main': pdftoraster.cxx:(.text.startup+0x1cd2): undefined reference to `GfxColorSpace::setDisplayProfile(void*)' collect2: error: ld returned 1 exit status
It turned out to be a simple linker error that was easily fixed by forcing the rebuild of poppler before trying to install cups-filters. In googling the error I came across reports of complicated workarounds like having to downgrade to poppler 0.30 in order to update cups-filters, so I didn't bother to try the easy solution first. -- John
participants (1)
-
John Quah