Bug#838972: cups-filters: FTBFS: cupsfilters/colord.h:39:44: error: unknown type name 'ppd_file_t'
Chris Lamb
lamby at debian.org
Tue Sep 27 08:51:09 UTC 2016
Source: cups-filters
Version: 1.10.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
cups-filters fails to build from source in unstable/amd64:
[..]
checking for ldap_set_rebind_proc in -lldap... yes
checking for GLIB... yes
checking for AVAHI_GLIB... yes
checking for GIO... yes
checking for GIO_UNIX... yes
checking for LCMS... yes
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for IJS... yes
checking for POPPLER... yes
checking for ZLIB... yes
checking for LIBQPDF... yes
checking poppler/cpp/poppler-version.h usability... yes
checking poppler/cpp/poppler-version.h presence... yes
checking for poppler/cpp/poppler-version.h... yes
checking for DBUS... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long... yes
checking for gs... /usr/bin/gs
checking whether gs supports the ps2write device... yes
checking for pdftops... /usr/bin/pdftops
checking whether pdftops supports -origpagesizes... yes
checking whether pdftops supports -r... yes
checking for pdftocairo... /usr/bin/pdftocairo
checking for acroread... ./configure: line 19834: acroread: command not found
no
checking for liblouis... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libcupsfilters.pc
config.status: creating libfontembed.pc
config.status: creating Makefile
config.status: creating utils/cups-browsed
config.status: creating utils/cups-browsed.conf
config.status: creating filter/foomatic-rip/foomatic-rip.1
config.status: creating filter/braille/drivers/index/indexv4.sh
config.status: creating filter/braille/drivers/index/indexv3.sh
config.status: creating filter/braille/drivers/index/index.sh
config.status: creating filter/braille/drivers/index/textbrftoindexv3
config.status: creating filter/braille/drivers/index/imageubrltoindexv3
config.status: creating filter/braille/drivers/index/imageubrltoindexv4
config.status: creating filter/braille/drivers/generic/brftoembosser
config.status: creating filter/braille/filters/cups-braille.sh
config.status: creating filter/braille/filters/imagetobrf
config.status: creating filter/braille/filters/texttobrf
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
configure:
==============================================================================
Environment settings:
CFLAGS: -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE
CXXFLAGS: -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -D_GNU_SOURCE
LDFLAGS: -Wl,-z,relro -Wl,--as-needed
Build configuration:
cups-config: system
font directory: /etc/fonts/conf.d
foomatic: yes
init directory: /etc/init.d
cups dom socket: /var/run/cups/cups.sock
ghostscript: yes
gs-path: system
imagefilters: yes
jpeg: yes
pdftocairo-path: system
pdftops: hybrid
pdftops-path: system
png: yes
php: no
php-config: system
shell: /bin/sh
test-font: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
tiff: yes
avahi: yes
dbus: yes
browsing: dnssd cups
werror: no
braille: yes
braille tables: /usr/share/liblouis/tables
==============================================================================
make[1]: Leaving directory '/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0'
dh_auto_build -O--parallel
make -j9
make[1]: Entering directory '/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0'
gdbus-codegen \
--interface-prefix org.cups.cupsd \
--c-namespace Cups \
--generate-c-code cups-notifier \
utils/org.cups.cupsd.Notifier.xml
gdbus-codegen \
--interface-prefix org.cups.cupsd \
--c-namespace Cups \
--generate-c-code cups-notifier \
utils/org.cups.cupsd.Notifier.xml
make all-am
make[2]: Entering directory '/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-attr.lo `test -f 'cupsfilters/attr.c' || echo './'`cupsfilters/attr.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-check.lo `test -f 'cupsfilters/check.c' || echo './'`cupsfilters/check.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-cmyk.lo `test -f 'cupsfilters/cmyk.c' || echo './'`cupsfilters/cmyk.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-colord.lo `test -f 'cupsfilters/colord.c' || echo './'`cupsfilters/colord.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-colormanager.lo `test -f 'cupsfilters/colormanager.c' || echo './'`cupsfilters/colormanager.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-dither.lo `test -f 'cupsfilters/dither.c' || echo './'`cupsfilters/dither.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-image.lo `test -f 'cupsfilters/image.c' || echo './'`cupsfilters/image.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-image-bmp.lo `test -f 'cupsfilters/image-bmp.c' || echo './'`cupsfilters/image-bmp.c
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c -o libcupsfilters_la-image-colorspace.lo `test -f 'cupsfilters/image-colorspace.c' || echo './'`cupsfilters/image-colorspace.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/colord.c -fPIC -DPIC -o .libs/libcupsfilters_la-colord.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/attr.c -fPIC -DPIC -o .libs/libcupsfilters_la-attr.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/image-colorspace.c -fPIC -DPIC -o .libs/libcupsfilters_la-image-colorspace.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/dither.c -fPIC -DPIC -o .libs/libcupsfilters_la-dither.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/colormanager.c -fPIC -DPIC -o .libs/libcupsfilters_la-colormanager.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/image-bmp.c -fPIC -DPIC -o .libs/libcupsfilters_la-image-bmp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/image.c -fPIC -DPIC -o .libs/libcupsfilters_la-image.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/check.c -fPIC -DPIC -o .libs/libcupsfilters_la-check.o
In file included from cupsfilters/colord.c:39:0:
cupsfilters/colord.h:39:44: error: unknown type name 'ppd_file_t'
char **colord_get_qualifier_for_ppd (ppd_file_t *ppd);
^~~~~~~~~~
cupsfilters/colord.c:47:31: error: unknown type name 'ppd_file_t'
colord_get_qualifier_for_ppd (ppd_file_t *ppd)
^~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/cmyk.c -fPIC -DPIC -o .libs/libcupsfilters_la-cmyk.o
Makefile:2646: recipe for target 'libcupsfilters_la-colord.lo' failed
make[2]: *** [libcupsfilters_la-colord.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from cupsfilters/attr.c:23:0:
cupsfilters/driver.h:126:8: error: unknown type name 'ppd_attr_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:126:33: error: unknown type name 'ppd_file_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:156:32: error: unknown type name 'ppd_file_t'
extern cups_lut_t *cupsLutLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/driver.h:190:32: error: unknown type name 'ppd_file_t'
extern cups_rgb_t *cupsRGBLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/driver.h:215:34: error: unknown type name 'ppd_file_t'
extern cups_cmyk_t *cupsCMYKLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/attr.c:33:1: error: unknown type name 'ppd_attr_t'
ppd_attr_t * /* O - Matching attribute or NULL */
^~~~~~~~~~
cupsfilters/attr.c:34:14: error: unknown type name 'ppd_file_t'
cupsFindAttr(ppd_file_t *ppd, /* I - PPD file */
^~~~~~~~~~
cupsfilters/image-bmp.c: In function '_cupsImageReadBMP':
cupsfilters/image-bmp.c:167:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread(colormap, colors_used, 4, fp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from cupsfilters/dither.c:24:0:
cupsfilters/driver.h:126:8: error: unknown type name 'ppd_attr_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:126:33: error: unknown type name 'ppd_file_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:156:32: error: unknown type name 'ppd_file_t'
extern cups_lut_t *cupsLutLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/driver.h:190:32: error: unknown type name 'ppd_file_t'
extern cups_rgb_t *cupsRGBLoad(ppd_file_t *ppd,
^~~~~~~~~~
In file included from cupsfilters/colormanager.c:29:0:
cupsfilters/colormanager.h:67:56: error: unknown type name 'ppd_file_t'
ppd_file_t *ppd);
^~~~~~~~~~
cupsfilters/driver.h:215:34: error: unknown type name 'ppd_file_t'
extern cups_cmyk_t *cupsCMYKLoad(ppd_file_t *ppd,
^~~~~~~~~~
Makefile:2625: recipe for target 'libcupsfilters_la-attr.lo' failed
make[2]: *** [libcupsfilters_la-attr.lo] Error 1
In file included from cupsfilters/colormanager.c:30:0:
./cupsfilters/colord.h:39:44: error: unknown type name 'ppd_file_t'
char **colord_get_qualifier_for_ppd (ppd_file_t *ppd);
^~~~~~~~~~
cupsfilters/colormanager.c:42:50: error: unknown type name 'ppd_file_t'
ppd_file_t *ppd);
^~~~~~~~~~
cupsfilters/colormanager.c:43:50: error: unknown type name 'ppd_file_t'
static char *_get_ppd_icc_fallback (ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/colormanager.c: In function 'cmIsPrinterCmDisabled':
cupsfilters/colormanager.c:79:7: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
fprintf(stderr,"DEBUG: Color Manager: Color management disabled by OS.\n");
^~~~~~~
cupsfilters/colormanager.c:79:7: warning: incompatible implicit declaration of built-in function 'fprintf'
cupsfilters/colormanager.c:79:7: note: include '<stdio.h>' or provide a declaration of 'fprintf'
cupsfilters/colormanager.c:79:15: error: 'stderr' undeclared (first use in this function)
fprintf(stderr,"DEBUG: Color Manager: Color management disabled by OS.\n");
^~~~~~
cupsfilters/colormanager.c:79:15: note: each undeclared identifier is reported only once for each function it appears in
cupsfilters/colormanager.c: At top level:
cupsfilters/colormanager.c:90:24: error: unknown type name 'ppd_file_t'
ppd_file_t *ppd) /* Optional PPD file for fallback profile */
^~~~~~~~~~
cupsfilters/colormanager.c: In function 'cmGetCupsColorCalibrateMode':
cupsfilters/colormanager.c:122:5: warning: incompatible implicit declaration of built-in function 'fprintf'
fprintf(stderr, "DEBUG: Color Manager: %s\n", status ?
^~~~~~~
cupsfilters/colormanager.c:122:5: note: include '<stdio.h>' or provide a declaration of 'fprintf'
cupsfilters/colormanager.c:122:13: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "DEBUG: Color Manager: %s\n", status ?
^~~~~~
cupsfilters/colormanager.c: In function '_get_colord_printer_id':
cupsfilters/colormanager.c:185:7: warning: incompatible implicit declaration of built-in function 'fprintf'
fprintf(stderr, "DEBUG: Color Manager: Invalid printer name.\n");
^~~~~~~
cupsfilters/colormanager.c:185:7: note: include '<stdio.h>' or provide a declaration of 'fprintf'
cupsfilters/colormanager.c:185:15: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "DEBUG: Color Manager: Invalid printer name.\n");
^~~~~~
cupsfilters/colormanager.c:191:5: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
snprintf (printer_id, CM_MAX_FILE_LENGTH, "cups-%s", printer_name);
^~~~~~~~
cupsfilters/colormanager.c:191:5: warning: incompatible implicit declaration of built-in function 'snprintf'
cupsfilters/colormanager.c:191:5: note: include '<stdio.h>' or provide a declaration of 'snprintf'
cupsfilters/colormanager.c: In function '_get_colord_printer_cm_status':
cupsfilters/colormanager.c:204:7: warning: incompatible implicit declaration of built-in function 'fprintf'
fprintf(stderr, "DEBUG: Color Manager: Invalid printer name.\n");
^~~~~~~
cupsfilters/colormanager.c:204:7: note: include '<stdio.h>' or provide a declaration of 'fprintf'
cupsfilters/colormanager.c:204:15: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "DEBUG: Color Manager: Invalid printer name.\n");
^~~~~~
cupsfilters/colormanager.c: At top level:
cupsfilters/colormanager.c:227:21: error: unknown type name 'ppd_file_t'
ppd_file_t *ppd) /* PPD file */
^~~~~~~~~~
cupsfilters/colormanager.c:285:24: error: unknown type name 'ppd_file_t'
_get_ppd_icc_fallback (ppd_file_t *ppd, char **qualifier)
^~~~~~~~~~
Makefile:2660: recipe for target 'libcupsfilters_la-dither.lo' failed
make[2]: *** [libcupsfilters_la-dither.lo] Error 1
Makefile:2653: recipe for target 'libcupsfilters_la-colormanager.lo' failed
make[2]: *** [libcupsfilters_la-colormanager.lo] Error 1
In file included from cupsfilters/check.c:22:0:
cupsfilters/driver.h:126:8: error: unknown type name 'ppd_attr_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:126:33: error: unknown type name 'ppd_file_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:156:32: error: unknown type name 'ppd_file_t'
extern cups_lut_t *cupsLutLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/driver.h:190:32: error: unknown type name 'ppd_file_t'
extern cups_rgb_t *cupsRGBLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/driver.h:215:34: error: unknown type name 'ppd_file_t'
extern cups_cmyk_t *cupsCMYKLoad(ppd_file_t *ppd,
^~~~~~~~~~
Makefile:2632: recipe for target 'libcupsfilters_la-check.lo' failed
make[2]: *** [libcupsfilters_la-check.lo] Error 1
cupsfilters/image.c: In function 'get_tile':
cupsfilters/image.c:756:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read(img->cachefile, ic->pixels, bpp * CUPS_TILE_SIZE * CUPS_TILE_SIZE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/image.c: In function 'flush_tile':
cupsfilters/image.c:664:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(img->cachefile, tile->ic->pixels, bpp * CUPS_TILE_SIZE * CUPS_TILE_SIZE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilters/image.c: In function 'cupsImageOpen':
cupsfilters/image.c:328:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread(header2, 1, sizeof(header2), fp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from cupsfilters/cmyk.c:34:0:
cupsfilters/driver.h:126:8: error: unknown type name 'ppd_attr_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:126:33: error: unknown type name 'ppd_file_t'
extern ppd_attr_t *cupsFindAttr(ppd_file_t *ppd, const char *name,
^~~~~~~~~~
cupsfilters/driver.h:156:32: error: unknown type name 'ppd_file_t'
extern cups_lut_t *cupsLutLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/driver.h:190:32: error: unknown type name 'ppd_file_t'
extern cups_rgb_t *cupsRGBLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/driver.h:215:34: error: unknown type name 'ppd_file_t'
extern cups_cmyk_t *cupsCMYKLoad(ppd_file_t *ppd,
^~~~~~~~~~
cupsfilters/cmyk.c:1024:14: error: unknown type name 'ppd_file_t'
cupsCMYKLoad(ppd_file_t *ppd, /* I - PPD file */
^~~~~~~~~~
Makefile:2639: recipe for target 'libcupsfilters_la-cmyk.lo' failed
make[2]: *** [libcupsfilters_la-cmyk.lo] Error 1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/image-bmp.c -o libcupsfilters_la-image-bmp.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/image.c -o libcupsfilters_la-image.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libpng16 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DHAVE_DBUS -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -std=gnu99 -D_GNU_SOURCE -c cupsfilters/image-colorspace.c -o libcupsfilters_la-image-colorspace.o >/dev/null 2>&1
make[2]: Leaving directory '/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0'
Makefile:1825: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160927095848.Erg5tqGsTY.db.cups-filters/cups-filters-1.10.0'
dh_auto_build: make -j9 returned exit code 2
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cups-filters.1.10.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 15354 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160927/c45dc7bb/attachment.obj>
More information about the Reproducible-builds
mailing list