[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#639071: gutenprint: FTBFS: ../../../../src/cups/commandtoepson.c:51:3: error: unknown type name 'FILE'



Source: gutenprint
Version: 5.2.7-2
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20110822 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -DHAVE_CONFIG_H -I. -I../../../../src/cups -I../..  -I../../../../include -I../../include   -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072   -Disfinite=finite -g -O2 -O6 -c ../../../../src/cups/commandtoepson.c
> ../../../../src/cups/commandtoepson.c: In function 'main':
> ../../../../src/cups/commandtoepson.c:51:3: error: unknown type name 'FILE'
> ../../../../src/cups/commandtoepson.c:68:5: error: implicit declaration of function 'fputs' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:68:78: error: 'stderr' undeclared (first use in this function)
> ../../../../src/cups/commandtoepson.c:68:78: note: each undeclared identifier is reported only once for each function it appears in
> ../../../../src/cups/commandtoepson.c:78:5: error: implicit declaration of function 'fopen' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:78:5: warning: nested extern declaration of 'fopen' [-Wnested-externs]
> ../../../../src/cups/commandtoepson.c:78:13: warning: assignment makes pointer from integer without a cast [enabled by default]
> ../../../../src/cups/commandtoepson.c:80:7: error: implicit declaration of function 'perror' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:80:7: warning: nested extern declaration of 'perror' [-Wnested-externs]
> ../../../../src/cups/commandtoepson.c:85:10: error: 'stdin' undeclared (first use in this function)
> ../../../../src/cups/commandtoepson.c:91:3: error: implicit declaration of function 'fwrite' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:91:3: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
> ../../../../src/cups/commandtoepson.c:91:3: error: 'stdout' undeclared (first use in this function)
> ../../../../src/cups/commandtoepson.c:104:3: error: implicit declaration of function 'fgets' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:104:3: warning: nested extern declaration of 'fgets' [-Wnested-externs]
> ../../../../src/cups/commandtoepson.c:104:40: warning: comparison between pointer and integer [enabled by default]
> ../../../../src/cups/commandtoepson.c:150:7: error: implicit declaration of function 'putchar' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:180:7: error: implicit declaration of function 'sscanf' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:180:11: warning: incompatible implicit declaration of built-in function 'sscanf' [enabled by default]
> ../../../../src/cups/commandtoepson.c:182:9: error: implicit declaration of function 'fprintf' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:182:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
> ../../../../src/cups/commandtoepson.c:194:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
> ../../../../src/cups/commandtoepson.c:225:5: error: implicit declaration of function 'fclose' [-Werror=implicit-function-declaration]
> ../../../../src/cups/commandtoepson.c:225:5: warning: nested extern declaration of 'fclose' [-Wnested-externs]
> cc1: some warnings being treated as errors
> 
> make[5]: *** [commandtoepson.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/08/22/gutenprint_5.2.7-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

Attachment: signature.asc
Description: Digital signature


Reply to: