Cups-filters: update to 1.22.1 failed

Fredrik Rinnestam fredrik at rinnestam.se
Tue Feb 26 21:31:34 UTC 2019


On Tue, Feb 26, 2019 at 09:54:49PM +0100, Cédric wrote:
> Hello,
> 
> Because I'm new with Crux, I don't want to report a bug if it's not
> necessary. Just tell me if it's not a problem. 
> 
> The update to cups-filters 1.22.1 fails on my system. I get the
> following:
> 
> utils/cups-browsed.c: In function 'examine_discovered_printer_record':
> utils/cups-browsed.c:5744:7: warning: unused variable 'raw_queue'
> [-Wunused-variable]
>    int raw_queue = 0;
>           ^~~~~~~~~
> CCLD     serial
> /bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory
> libtool:   error: '/usr/lib/libjpeg.la' is not a valid libtool archive
> make[1]: *** [Makefile:2500: libfontembed.la] Error 1
> make[1]: *** Waiting for unfinished jobs....
> filter/rastertopdf.cpp:1502:16: warning: 'profile_name' may [-Wmaybe-uninitialized] fprintf(stderr, "DEBUG: TEST ICC Profile specified
> (color management forced ON): \n[%s]\n", profile_name);
> ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[1]: Leaving directory '/usr/ports/opt/cups-filters/work/src/cups-filters-1.22.1'
> make: *** [Makefile:2077: all] Error 2
> =======> ERROR: Building '/usr/ports/opt/cups-filters/cups-filters#1.22.1-1.pkg.tar.gz' failed.
> 
> 
> I installed the package 'libjpeg-turbo' which was not installed on my
> system, but there is no libjpeg.la. But:
> 
> usr/lib/libjpeg.a
> usr/lib/libjpeg.so
> usr/lib/libjpeg.so.8
> usr/lib/libjpeg.so.8.2.2
> 
> 
> are on my system. By the way I read that .la files are not really used
> anymore. It seems they are still used on Crux, but I don't know if it
> can be a problem. 
> 
> Anybody had the same problem ? 
 
It's kind of a bug. And it's all my fault (libjpeg-turbo maintainer).

What you need to do is to grep for the libjpeg.la references and rebuild
those ports.

/f



More information about the CRUX mailing list