Opened 9 years ago

Closed 9 years ago

#6777 closed enhancement (fixed)

cups-filters-1.0.71 does not build with poppler-3.4

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Log:

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);
                                                                      ^
In file included from filter/pdftoopvp/oprs/OPRS.cxx:40:0:
/usr/include/poppler/splash/Splash.h:217:15: note: candidate: 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
Makefile:3319: recipe for target 'pdftoopvp-OPRS.o' failed
make[1]: *** [pdftoopvp-OPRS.o] Error 1
make[1]: Leaving directory '/tmp/porg-build-2015.08.01-17h54m08s/cups-filters-1.0.71'
Makefile:1652: recipe for target 'all' failed
make: *** [all] Error 2

Fix (workaround):

https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/cups-filters/files/cups-filters-1.0.71-poppler0340.patch?revision=1.1

Change History (2)

comment:1 by Fernando de Oliveira, 9 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r16312.

  • Update to cups-2.0.4.
  • Update to Archive-Zip-1.49.
  • Update to mercurial-3.5.
  • Update to scons-2.3.6.
  • cups-filters-1.0.71 does not build with poppler-3.4.
  • Add sddm bootscript.
  • Reorder part of the bootscripts Makefile.
Note: See TracTickets for help on using tickets.