pycups broken with current cups (Bug #417)
Description
cupsmodule.c: In function 'cups_ppdSetConformance':
cupsmodule.c:419:3: warning: 'ppdSetConformance' is deprecated (declared at /usr/include/cups/ppd.h:414) [-Wdeprecated-declarations]
cupsmodule.c: In function 'initcups':
cupsmodule.c:845:80: error: 'CUPS_SERVER_REMOTE_PRINTERS' undeclared (first use in this function)
cupsmodule.c:845:80: note: each undeclared identifier is reported only once for each function it appears in
error: command 'gcc' failed with exit status 1
make: *** [cups.so] Error 1
Running make with 16 jobs failed. Attempt to run with a single job? [y]
python setup.py build
running build
running build_ext
building 'cups' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=corei7-avx -fPIC -DPIC -pipe -DPIC -fPIC -ffast-math -funroll-loops -O3 -fPIC -DVERSION="1.9.59" -I/usr/include/python2.7 -c cupsmodule.c -o build/temp.linux-x86_64-2.7/cupsmodule.o
cupsmodule.c: In function 'cups_ppdSetConformance':
cupsmodule.c:419:3: warning: 'ppdSetConformance' is deprecated (declared at /usr/include/cups/ppd.h:414) [-Wdeprecated-declarations]
cupsmodule.c: In function 'initcups':
cupsmodule.c:845:80: error: 'CUPS_SERVER_REMOTE_PRINTERS' undeclared (first use in this function)
cupsmodule.c:845:80: note: each undeclared identifier is reported only once for each function it appears in
error: command 'gcc' failed with exit status 1
make: *** [cups.so] Error 1
! Problem Detected !
Creating compile log /var/log/sorcery/compile/pycups-1.9.59.bz2
Creating castfs debug log /var/log/sorcery/compile/pycups-1.9.59.castfs.dbglog.bz2
Spells that encountered problems:
---------------------------------
pycups (build)
-----------------------
CUPS_SERVER_REMOTE_PRINTERS has been deprecated after cups 1.5.4 (pycups throws this error on 1.6.1 and 1.6.0). git version of pycups appears to have a fix that is yet unreleased. Curtrent listed solution for most distros appears to be downgrade cups or roll the dice with developement build.
This pair of version bumps breaks the following spells:
pycups
system-config-printer
printer-applet
The following spells optionally depend on the above and thus are potentially broken depending on the choices selected in casting.
kdeadmin4 (non-optional if configure CUPS administration tool is set "y")
kdeutils4 (optional printer-applet)
Related issues
| blocks Grimoire - Bug #424: [stable 0-61.3 cast failures] Master Bug | New | 08/05/2012 |
Associated revisions
- pycups-1.9.61-cups-1.6.patch: from upstream git, fixes pycups for cups 1.6
History
Updated by Sukneet Basuta 11 months ago
Applied in changeset ce5efc79c462fe263b0c82981f1d6e4bb50b17cf.
- % Done changed from 0 to 100
- Status changed from New to Resolved