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

Bug#839344: marked as done (c2esp: FTBFS: c2espcommon.h:41:46: error: unknown type name 'FILE')



Your message dated Mon, 03 Oct 2016 09:50:00 +0000
with message-id <E1bqzsm-0001M0-BN@franck.debian.org>
and subject line Bug#839344: fixed in c2esp 27-3
has caused the Debian Bug report #839344,
regarding c2esp: FTBFS: c2espcommon.h:41:46: error: unknown type name 'FILE'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
839344: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839344
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: c2esp
Version: 27-2
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160930 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 --pedantic -Wall -std=c99 -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c c2espC.c
> In file included from c2espC.c:49:0:
> c2espcommon.h:41:46: error: unknown type name 'FILE'
>  time_t KeepAwake(time_t Start, int Interval, FILE *PrintFile);
>                                               ^~~~
> c2espcommon.h:55:15: error: unknown type name 'FILE'
>  void DoOutJob(FILE *OutFile, char *PrintFormat, int I1, int I2);
>                ^~~~
> c2espcommon.h:65:18: error: unknown type name 'FILE'
>  int GoodExchange(FILE *PrintFile, char *Command, char *Expect, int DoBack,  unsigned int SleepTime, float ReplyTime);
>                   ^~~~
> c2espC.c:74:1: error: unknown type name 'FILE'
>  FILE   *PrintFile = NULL; //file descriptor for debug file
>  ^~~~
> c2espC.c:75:1: error: unknown type name 'FILE'
>  FILE   *UncompressedFile = NULL; //file descriptor for file of uncompressed page data
>  ^~~~
> c2espC.c: In function 'SetupPrinter':
> c2espC.c:102:6: warning: implicit declaration of function 'GoodExchange' [-Wimplicit-function-declaration]
>    if(GoodExchange(PrintFile, "LockPrinterWait?", "0002, OK, Locked for printing;", DoBack, 1,  3.0) >= 0) break;
>       ^~~~~~~~~~~~
> c2espC.c:105:2: warning: implicit declaration of function 'DoOutJob' [-Wimplicit-function-declaration]
>   DoOutJob(PrintFile, "Event=StartOfJob;",0,0); //printer command
>   ^~~~~~~~
> c2espC.c:117:7: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
>        fprintf(stderr,"ATTR: marker-levels=%d,%d\n",BlackPercent,ColourPercent); // sets the levels displayed
>        ^~~~~~~
> c2espC.c:117:7: warning: incompatible implicit declaration of built-in function 'fprintf'
> c2espC.c:117:7: note: include '<stdio.h>' or provide a declaration of 'fprintf'
> c2espC.c:117:15: error: 'stderr' undeclared (first use in this function)
>        fprintf(stderr,"ATTR: marker-levels=%d,%d\n",BlackPercent,ColourPercent); // sets the levels displayed
>                ^~~~~~
> c2espC.c:117:15: note: each undeclared identifier is reported only once for each function it appears in
> c2espC.c: In function 'EndPage':
> c2espC.c:271:16: warning: implicit declaration of function 'fflush' [-Wimplicit-function-declaration]
>   if(PrintFile) fflush(PrintFile);
>                 ^~~~~~
> c2espC.c: In function 'main':
> c2espC.c:320:2: error: unknown type name 'FILE'
>   FILE *CompData; //stores the compressed data of a page
>   ^~~~
> c2espC.c:337:6: warning: incompatible implicit declaration of built-in function 'fprintf'
>       fprintf(stderr, ("Usage: %s job-id user title copies options [file]\n"), "rastertoek");
>       ^~~~~~~
> c2espC.c:337:6: note: include '<stdio.h>' or provide a declaration of 'fprintf'
> c2espC.c:337:14: error: 'stderr' undeclared (first use in this function)
>       fprintf(stderr, ("Usage: %s job-id user title copies options [file]\n"), "rastertoek");
>               ^~~~~~
> c2espC.c:368:4: warning: implicit declaration of function 'setbuf' [-Wimplicit-function-declaration]
>     setbuf(stderr, NULL);
>     ^~~~~~
> c2espC.c:369:2: warning: incompatible implicit declaration of built-in function 'fprintf'
>   fprintf(stderr, ("DEBUG:  ================= %s ===================================\n"),Version);
>   ^~~~~~~
> c2espC.c:369:2: note: include '<stdio.h>' or provide a declaration of 'fprintf'
> c2espC.c:451:23: warning: implicit declaration of function 'tmpfile' [-Wimplicit-function-declaration]
>        if ( !(CompData=tmpfile()) )
>                        ^~~~~~~
> c2espC.c:451:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
>        if ( !(CompData=tmpfile()) )
>                       ^
> c2espC.c:453:11: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration]
>            perror("opening compressed page temp file");
>            ^~~~~~
> c2espC.c:463:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
>      sprintf(RasFileName,"/tmp/RasForComp.ppm");
>      ^~~~~~~
> c2espC.c:463:5: warning: incompatible implicit declaration of built-in function 'sprintf'
> c2espC.c:463:5: note: include '<stdio.h>' or provide a declaration of 'sprintf'
> c2espC.c:469:5: warning: incompatible implicit declaration of built-in function 'sprintf'
>      sprintf(RasFileName,"/tmp/RasForComp.pbm");
>      ^~~~~~~
> c2espC.c:469:5: note: include '<stdio.h>' or provide a declaration of 'sprintf'
> c2espC.c:522:34: warning: implicit declaration of function 'KeepAwake' [-Wimplicit-function-declaration]
>      if (DoBack) KeepAwakeStart = KeepAwake(KeepAwakeStart,10, PrintFile);
>                                   ^~~~~~~~~
> c2espC.c:600:26: warning: implicit declaration of function 'fwrite' [-Wimplicit-function-declaration]
>      if(UncompressedFile) fwrite(DataLineBuffer, 1, DataLength, UncompressedFile);
>                           ^~~~~~
> c2espC.c:600:26: warning: incompatible implicit declaration of built-in function 'fwrite'
> c2espC.c:600:26: note: include '<stdio.h>' or provide a declaration of 'fwrite'
> c2espC.c:618:19: warning: incompatible implicit declaration of built-in function 'fwrite'
>                if (fwrite(out, 1, have, CompData) != have || ferror(CompData))
>                    ^~~~~~
> c2espC.c:618:19: note: include '<stdio.h>' or provide a declaration of 'fwrite'
> c2espC.c:618:61: warning: implicit declaration of function 'ferror' [-Wimplicit-function-declaration]
>                if (fwrite(out, 1, have, CompData) != have || ferror(CompData))
>                                                              ^~~~~~
> c2espC.c:644:4: warning: implicit declaration of function 'rewind' [-Wimplicit-function-declaration]
>     rewind(CompData);
>     ^~~~~~
> c2espC.c:682:8: warning: implicit declaration of function 'fgetc' [-Wimplicit-function-declaration]
>       c=fgetc(CompData);
>         ^~~~~
> c2espC.c:687:6: warning: implicit declaration of function 'fputc' [-Wimplicit-function-declaration]
>       fputc(c,stdout);
>       ^~~~~
> c2espC.c:687:14: error: 'stdout' undeclared (first use in this function)
>       fputc(c,stdout);
>               ^~~~~~
> c2espC.c:737:25: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
>    if(PrintFile != NULL) fclose(PrintFile);
>                          ^~~~~~
> Makefile:406: recipe for target 'c2espC.o' failed
> make[3]: *** [c2espC.o] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

The full build log is available from:
   http://aws-logs.debian.net/2016/09/30/c2esp_27-2_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: c2esp
Source-Version: 27-3

We believe that the bug you reported is fixed in the latest version of
c2esp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 839344@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated c2esp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 03 Oct 2016 09:22:26 +0200
Source: c2esp
Binary: printer-driver-c2esp
Architecture: source
Version: 27-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
 printer-driver-c2esp - printer driver for Kodak ESP AiO color inkjet Series
Closes: 839344
Changes:
 c2esp (27-3) unstable; urgency=medium
 .
   * Update patch fixing missing includes to add <stdio.h> to fix FTBFS
     (Closes: #839344)
Checksums-Sha1:
 bafba399770437f2869fce153cdc0a4054bb301b 1803 c2esp_27-3.dsc
 5fa2fe422a753e8ccf1f94affc81b41118e77591 4592 c2esp_27-3.debian.tar.xz
Checksums-Sha256:
 bc972b91d1296fc656b52afedc43c8ca6ba0f9171614035b380ee924d3b8ed85 1803 c2esp_27-3.dsc
 0adb2b59fb1a40108b120a64e86fa7614eba7c8ee9ad0217f7bbc9455a6bff56 4592 c2esp_27-3.debian.tar.xz
Files:
 e26abf8b9e4ef36c6faa41f72c6c9383 1803 text optional c2esp_27-3.dsc
 d7ffd51190d1dbe2d6c4a10b868b7e60 4592 text optional c2esp_27-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQGcBAEBCgAGBQJX8hc2AAoJEIvPpx7KFjRVoCwMAIbdJt6lmKKj4Hooxn4+DBT/
0vnq6jbE4PDjvAtKlHe0FkbVsC79VagYbvqgEjUT3q+Z9uxEQLS00CayTyDJfSfw
5P4FQZkHJ86I9alFYlqgL1s2YZ01cRGHhJVWvbu3nwpy9D/HLDmMtltaHhdSnMS+
A4xiCY9iYvvMbt8akkydqNH793zLOhfJJQytrJZB8oRvIHbeUDPocCOQ83Wr9/Mp
udUqZjb7jvdJzwXxMbtULgEATOLO0LYySWD8+huSUgwGYdFPsbhM1r0Vhd5DYJ0I
/F/cIITWsMgPXYTuxkk0r954rU5K0A1ApWr1lPD6Sgdz8oT8bP5BaOHM9tmvdaSQ
tUelnBoZXDFP5KjnbAym2oOg+TJgp3ku7c0c7ZQVThwxjDK8D4gP25jdultGotGg
3tIooZWxvWN4iMUzcJv685WL5MDM5dg8Z1z4JUqZCEn684esrTa512kllTzV1Xfu
sv+/1c1nVu2ioff732KEnZjL/ylh+Z1cfLK2pKURnA==
=hNib
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: