Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cups Filters Won't Emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Atmmac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2013
Posts: 130
Location: Watertown, MA

PostPosted: Tue Jul 14, 2015 1:48 pm    Post subject: Cups Filters Won't Emerge Reply with quote

Not sure whats causing this. All started after the perl upgrade.




Code:
fontembed/main.c: In function ‘example_write_fontdescr’:
fontembed/main.c:92:7: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=]
       fprintf(stderr,"Opening \"%s\" for writing failed: %m\n",outfile);
       ^
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -o ttfread main.o libfontembed.la -ltiff -ljpeg -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed -o .libs/ttfread main.o  ./.libs/libfontembed.so -ltiff -ljpeg -ldl
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o parallel-ieee1284.o `test -f 'backend/ieee1284.c' || echo './'`backend/ieee1284.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o parallel-parallel.o `test -f 'backend/parallel.c' || echo './'`backend/parallel.c
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -o parallel parallel-ieee1284.o parallel-parallel.o -lcupsimage -lcups -lgnutls -lz -lpthread -lm -lcrypt -lz -ltiff -ljpeg -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed -o parallel parallel-ieee1284.o parallel-parallel.o  -lcupsimage -lcups -lgnutls -lpthread -lm -lcrypt -lz -ltiff -ljpeg -ldl
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o serial-serial.o `test -f 'backend/serial.c' || echo './'`backend/serial.c
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -o serial serial-serial.o -lcupsimage -lcups -lgnutls -lz -lpthread -lm -lcrypt -lz -ltiff -ljpeg -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed -o serial serial-serial.o  -lcupsimage -lcups -lgnutls -lpthread -lm -lcrypt -lz -ltiff -ljpeg -ldl
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -I/usr/include/freetype2  -I/usr/include/freetype2  -I/usr/include/libpng16  -I/usr/include/poppler  -I./filter/pdftoopvp/oprs -I./filter/pdftoopvp/opvp -march=native -O2 -pipe -Wall -pedantic -D_GNU_SOURCE -c -o pdftoopvp-OPRS.o `test -f 'filter/pdftoopvp/oprs/OPRS.cxx' || echo './'`filter/pdftoopvp/oprs/OPRS.cxx
In file included from /usr/include/poppler/splash/SplashTypes.h:28:0,
                 from /usr/include/poppler/splash/SplashMath.h:31,
                 from filter/pdftoopvp/oprs/OPRS.cxx:32:
/usr/include/poppler/goo/gtypes.h:50:14: warning: ISO C++ 1998 does not support ‘long long’ [-Wlong-long]
 typedef long long Goffset;
              ^
filter/pdftoopvp/oprs/OPRS.cxx: In member function ‘SplashError OPRS::drawImage(SplashImageSource, void*, SplashColorMode, GBool, int, int, SplashCoord*)’:
filter/pdftoopvp/oprs/OPRS.cxx:244:70: error: no matching function for call to ‘Splash::drawImage(GBool (*&)(void*, SplashColorPtr, Guchar*), void*&, SplashColorMode&, GBool&, int&, int&, SplashCoord*&, bool)’
  return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
                                                                      ^
filter/pdftoopvp/oprs/OPRS.cxx:244:70: note: candidate is:
In file included from filter/pdftoopvp/oprs/OPRS.cxx:40:0:
/usr/include/poppler/splash/Splash.h:217:15: note: SplashError Splash::drawImage(SplashImageSource, SplashICCTransform, void*, SplashColorMode, GBool, int, int, SplashCoord*, GBool, GBool)
   SplashError drawImage(SplashImageSource src, SplashICCTransform tf, void *srcData,
               ^
/usr/include/poppler/splash/Splash.h:217:15: note:   candidate expects 10 arguments, 8 provided
filter/pdftoopvp/oprs/OPRS.cxx:249:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Makefile:3333: recipe for target 'pdftoopvp-OPRS.o' failed
make[1]: *** [pdftoopvp-OPRS.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/work/cups-filters-1.0.71'
Makefile:1663: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-print/cups-filters-1.0.71::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.0.71::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.0.71::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/work/cups-filters-1.0.71'
 * S: '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/work/cups-filters-1.0.71'

>>> Failed to emerge net-print/cups-filters-1.0.71, Log file:

>>>  '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/temp/build.log'

 * Messages for package net-print/cups-filters-1.0.71:

 * ERROR: net-print/cups-filters-1.0.71::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.0.71::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.0.71::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/work/cups-filters-1.0.71'
 * S: '/var/tmp/portage/portage/net-print/cups-filters-1.0.71/work/cups-filters-1.0.71'


Any thoughts? If not I can submit a bug.
Back to top
View user's profile Send private message
Atmmac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2013
Posts: 130
Location: Watertown, MA

PostPosted: Tue Jul 14, 2015 2:34 pm    Post subject: Reply with quote

Looks like the new version of poppler breaks the cups-filter build. Just a heads up if anyone hits this. I masked it for now and everything is working again.
Back to top
View user's profile Send private message
dilfridge
Developer
Developer


Joined: 18 Sep 2010
Posts: 111
Location: Regensburg, Germany

PostPosted: Tue Jul 14, 2015 5:29 pm    Post subject: Reply with quote

Atmmac wrote:
Looks like the new version of poppler breaks the cups-filter build. Just a heads up if anyone hits this. I masked it for now and everything is working again.


Yep. Poppler is a packager's idea of the land of infinite fun. On the other hand, cups-filters does use internal interfaces...

I've just committed a workaround, but it isn't particularly nice (disables colormanagement in the affected filter). At least it builds.
Back to top
View user's profile Send private message
Atmmac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2013
Posts: 130
Location: Watertown, MA

PostPosted: Wed Jul 15, 2015 8:16 pm    Post subject: Reply with quote

Its just the gift that keeps on giving. Thanks dilfridge!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum