Debian Bug report logs - #527721
ktoon: FTBFS: ioapi.c:13:18: error: zlib.h: No such file or directory

version graph

Package: ktoon; Maintainer for ktoon is (unknown);

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Fri, 8 May 2009 18:01:08 UTC

Severity: serious

Tags: patch, sid, squeeze

Found in version ktoon/0.8.1-4

Fixed in version ktoon/0.8.1-4.1

Done: Stefan Potyra <sistpoty@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Juan Manuel Garcia Molina <juanma@debian.org>:
Bug#527721; Package ktoon. (Fri, 08 May 2009 18:01:10 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Juan Manuel Garcia Molina <juanma@debian.org>. (Fri, 08 May 2009 18:01:10 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: ktoon: FTBFS: ioapi.c:13:18: error: zlib.h: No such file or directory
Date: Fri, 8 May 2009 19:25:31 +0200
Package: ktoon
Version: 0.8.1-4
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20090508 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 -c -pipe -O2 -fPIC -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I.moc -I/build/user-ktoon_0.8.1-4-amd64-XB2tH5/ktoon-0.8.1/3rdparty/quazip/.ui -o .obj/ioapi.o ioapi.c
> ioapi.c:13:18: error: zlib.h: No such file or directory
> In file included from ioapi.c:14:
> ioapi.h:38: error: expected declaration specifiers or '...' before '*' token
> ioapi.h:38: error: function definition declared 'typedef'
> ioapi.h:38: warning: return type defaults to 'int'
> ioapi.h: In function 'voidpf':
> ioapi.h:38: error: expected declaration specifiers before 'OF'
> ioapi.h:39: error: expected declaration specifiers or '...' before '*' token
> ioapi.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.h:40: error: expected declaration specifiers or '...' before '*' token
> ioapi.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.h:48: error: expected specifier-qualifier-list before 'open_file_func'
> ioapi.h:56: error: storage class specified for parameter 'zlib_filefunc_def'
> ioapi.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.c:32: error: expected declaration specifiers before 'voidpf'
> ioapi.c:37: error: expected declaration specifiers before 'uLong'
> ioapi.c:43: error: expected declaration specifiers before 'uLong'
> ioapi.c:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
> ioapi.c:68: error: expected declaration specifiers before 'voidpf'
> ioapi.c:71: error: declaration for parameter 'mode' but no such parameter
> ioapi.c:70: error: declaration for parameter 'filename' but no such parameter
> ioapi.h:56: error: declaration for parameter 'zlib_filefunc_def' but no such parameter
> ioapi.c:86: warning: return makes integer from pointer without a cast
> ioapi.h:56: warning: unused parameter 'zlib_filefunc_def'
> ioapi.c: At top level:
> ioapi.c:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_file_func'
> ioapi.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stream'
> ioapi.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size'
> ioapi.c:95: error: expected identifier or '(' before '{' token
> ioapi.c:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_file_func'
> ioapi.c:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stream'
> ioapi.c:105: error: conflicting types for 'buf'
> ioapi.c:93: error: previous declaration of 'buf' was here
> ioapi.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size'
> ioapi.c:107: error: expected identifier or '(' before '{' token
> ioapi.c: In function 'ftell_file_func':
> ioapi.c:114: error: expected declaration specifiers before 'voidpf'
> ioapi.c:115: error: expected declaration specifiers before 'voidpf'
> ioapi.c:116: warning: type of 'opaque' defaults to 'int'
> ioapi.c:116: warning: type of 'stream' defaults to 'int'
> ioapi.c:118: warning: cast to pointer from integer of different size
> ioapi.c:116: warning: unused parameter 'opaque'
> ioapi.c: In function 'fseek_file_func':
> ioapi.c:123: error: expected declaration specifiers before 'voidpf'
> ioapi.c:124: error: expected declaration specifiers before 'voidpf'
> ioapi.c:125: error: expected declaration specifiers before 'uLong'
> ioapi.c:127: warning: type of 'opaque' defaults to 'int'
> ioapi.c:127: warning: type of 'stream' defaults to 'int'
> ioapi.c:127: warning: type of 'offset' defaults to 'int'
> ioapi.c:144: warning: cast to pointer from integer of different size
> ioapi.c:127: warning: unused parameter 'opaque'
> ioapi.c: In function 'fclose_file_func':
> ioapi.c:149: error: expected declaration specifiers before 'voidpf'
> ioapi.c:150: error: expected declaration specifiers before 'voidpf'
> ioapi.c:151: warning: type of 'opaque' defaults to 'int'
> ioapi.c:151: warning: type of 'stream' defaults to 'int'
> ioapi.c:153: warning: cast to pointer from integer of different size
> ioapi.c:151: warning: unused parameter 'opaque'
> ioapi.c: In function 'ferror_file_func':
> ioapi.c:158: error: expected declaration specifiers before 'voidpf'
> ioapi.c:159: error: expected declaration specifiers before 'voidpf'
> ioapi.c:160: warning: type of 'opaque' defaults to 'int'
> ioapi.c:160: warning: type of 'stream' defaults to 'int'
> ioapi.c:162: warning: cast to pointer from integer of different size
> ioapi.c:160: warning: unused parameter 'opaque'
> ioapi.c: In function 'fill_fopen_filefunc':
> ioapi.c:167: error: expected declaration specifiers before 'zlib_filefunc_def'
> ioapi.c:168: warning: type of 'pzlib_filefunc_def' defaults to 'int'
> ioapi.c:169: error: invalid type argument of '->' (have 'int')
> ioapi.c:169: error: 'fopen_file_func' undeclared (first use in this function)
> ioapi.c:169: error: (Each undeclared identifier is reported only once
> ioapi.c:169: error: for each function it appears in.)
> ioapi.c:170: error: invalid type argument of '->' (have 'int')
> ioapi.c:170: error: 'fread_file_func' undeclared (first use in this function)
> ioapi.c:171: error: invalid type argument of '->' (have 'int')
> ioapi.c:171: error: 'fwrite_file_func' undeclared (first use in this function)
> ioapi.c:172: error: invalid type argument of '->' (have 'int')
> ioapi.c:173: error: invalid type argument of '->' (have 'int')
> ioapi.c:174: error: invalid type argument of '->' (have 'int')
> ioapi.c:175: error: invalid type argument of '->' (have 'int')
> ioapi.c:176: error: invalid type argument of '->' (have 'int')
> make[3]: *** [.obj/ioapi.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/05/08/ktoon_0.8.1-4_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.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |




Information forwarded to debian-bugs-dist@lists.debian.org, Juan Manuel Garcia Molina <juanma@debian.org>:
Bug#527721; Package ktoon. (Sat, 23 May 2009 12:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to peter green <plugwash@p10link.net>:
Extra info received and forwarded to list. Copy sent to Juan Manuel Garcia Molina <juanma@debian.org>. (Sat, 23 May 2009 12:42:02 GMT) (full text, mbox, link).


Message #10 received at 527721@bugs.debian.org (full text, mbox, reply):

From: peter green <plugwash@p10link.net>
To: 527721@bugs.debian.org
Cc: control@bugs.debian.org
Subject: re: ktoon: FTBFS: ioapi.c:13:18: error: zlib.h: No such file or, directory
Date: Sat, 23 May 2009 13:40:26 +0100
tags 527721 +patch sid squeeze
thanks

The package uses zlib.h but does not build-depend on zlib1g-dev (which 
provides it). In lenny it gets away with this because zlib1g-dev is 
pulled in indirectly by libavcodec-dev. In sid and squeeze it does not 
get away with it.

Simply add zlib1g-dev to the build-depends to fix the bug.




Tags added: patch, sid, squeeze Request was from peter green <plugwash@p10link.net> to control@bugs.debian.org. (Sat, 23 May 2009 12:42:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Juan Manuel Garcia Molina <juanma@debian.org>:
Bug#527721; Package ktoon. (Mon, 07 Dec 2009 22:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Christoph Egger <christoph@debian.org>:
Extra info received and forwarded to list. Copy sent to Juan Manuel Garcia Molina <juanma@debian.org>. (Mon, 07 Dec 2009 22:51:03 GMT) (full text, mbox, link).


Message #17 received at 527721@bugs.debian.org (full text, mbox, reply):

From: Christoph Egger <christoph@debian.org>
To: 527721@bugs.debian.org
Subject: ktoon: diff to increase buildability 0.8.1-4.1
Date: Mon, 7 Dec 2009 20:46:47 +0100
[Message part 1 (text/plain, inline)]
Hi!

	While looking at open RC bugs I stumbled upon your package which
fails to build from source. I was able to fix some of the problems but
build still fails (buildlog and diff attached).

Regards

	Christoph

-- 
/"\  ASCII Ribbon : GPG-Key ID: 0xD49AE731
\ /    Campaign   : CaCert Assurer
 X   against HTML : Debian Maintainer
/ \   in eMails   : http://www.debian.org/

http://www.christoph-egger.org/
[ktoon-0.8.1-4.1-nmu.diff (text/x-diff, attachment)]
[ktoon_0.8.1-4.1_i386.build (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Juan Manuel Garcia Molina <juanma@debian.org>:
Bug#527721; Package ktoon. (Sat, 23 Jan 2010 18:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Potyra <stefan.potyra@informatik.uni-erlangen.de>:
Extra info received and forwarded to list. Copy sent to Juan Manuel Garcia Molina <juanma@debian.org>. (Sat, 23 Jan 2010 18:42:02 GMT) (full text, mbox, link).


Message #22 received at 527721@bugs.debian.org (full text, mbox, reply):

From: Stefan Potyra <stefan.potyra@informatik.uni-erlangen.de>
To: 527721@bugs.debian.org
Subject: ktoon: FTBFS: ioapi.c:13:18: error: zlib.h: No such file or directory
Date: Sat, 23 Jan 2010 19:28:08 +0100
[Message part 1 (text/plain, inline)]
Hi,

please find the following patch attached, wich fixes the build failure with 
newer ffmpeg. It's based on the hunks from Cyril and Christoph (thanks!) and 
adds a few more bits. Additionally it fixes #462013.

Now I only need a sponsor, however feel also free to do a MU based on this 
patch, if you come around to it earlier.

Cheers,
   Stefan.
[nmu.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Juan Manuel Garcia Molina <juanma@debian.org>:
Bug#527721; Package ktoon. (Sat, 23 Jan 2010 20:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Falavigna <dktrkranz@debian.org>:
Extra info received and forwarded to list. Copy sent to Juan Manuel Garcia Molina <juanma@debian.org>. (Sat, 23 Jan 2010 20:39:04 GMT) (full text, mbox, link).


Message #27 received at 527721@bugs.debian.org (full text, mbox, reply):

From: Luca Falavigna <dktrkranz@debian.org>
To: 462013@bugs.debian.org, 527721@bugs.debian.org
Subject: ktoon: diff for NMU version 0.8.1-4.1
Date: Sat, 23 Jan 2010 21:37:50 +0100
[Message part 1 (text/plain, inline)]
tags 462013 + patch
thanks

Dear maintainer,

I've prepared an NMU for ktoon (versioned as 0.8.1-4.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
[ktoon-0.8.1-4.1-nmu.diff (text/x-diff, attachment)]

Reply sent to Stefan Potyra <sistpoty@ubuntu.com>:
You have taken responsibility. (Mon, 25 Jan 2010 22:09:07 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (Mon, 25 Jan 2010 22:09:08 GMT) (full text, mbox, link).


Message #32 received at 527721-close@bugs.debian.org (full text, mbox, reply):

From: Stefan Potyra <sistpoty@ubuntu.com>
To: 527721-close@bugs.debian.org
Subject: Bug#527721: fixed in ktoon 0.8.1-4.1
Date: Mon, 25 Jan 2010 22:06:16 +0000
Source: ktoon
Source-Version: 0.8.1-4.1

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

ktoon_0.8.1-4.1.diff.gz
  to main/k/ktoon/ktoon_0.8.1-4.1.diff.gz
ktoon_0.8.1-4.1.dsc
  to main/k/ktoon/ktoon_0.8.1-4.1.dsc
ktoon_0.8.1-4.1_i386.deb
  to main/k/ktoon/ktoon_0.8.1-4.1_i386.deb



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 527721@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefan Potyra <sistpoty@ubuntu.com> (supplier of updated ktoon 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 23 Jan 2010 18:13:53 +0100
Source: ktoon
Binary: ktoon
Architecture: source i386
Version: 0.8.1-4.1
Distribution: unstable
Urgency: low
Maintainer: Juan Manuel Garcia Molina <juanma@debian.org>
Changed-By: Stefan Potyra <sistpoty@ubuntu.com>
Description: 
 ktoon      - 2D animation toolkit
Closes: 462013 527721
Changes: 
 ktoon (0.8.1-4.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix build failure (Closes: #527721, #462013):
     + Build-Depend on zlib1g-dev, thanks to Cyril Brulebois.
     + Add debian/patches/90-fix-ffmpeg-includes.dpatch, based on a patch from
       Christoph Egger.
     + Add libswscale-dev and libavutil-dev to build-depends.
     + Add debian/patches/95-ffmpeg-libs to also link against swscale and
       avutil.
     + Add debian/patches/92-fix-linking to link the ffmpeg exporter against
       src/store as well.
     + Add libpng12-dev to build-depends.
   * Fix plugin directory in debian/patches/31_dirs (Closes: #462013).
Checksums-Sha1: 
 10c7a41902f1fcf6f2682e4092971ed22bc68e1f 1280 ktoon_0.8.1-4.1.dsc
 5f57d4cb3101d92fa6c958b5c91dea8c5cecc285 35014 ktoon_0.8.1-4.1.diff.gz
 72ac633d9c34c24bb45c0fe3594a7cb8efce1d88 2527964 ktoon_0.8.1-4.1_i386.deb
Checksums-Sha256: 
 4fdaa3fecb9a908d89714e9dc73fb816e78f6886632d16a92da474075eca6131 1280 ktoon_0.8.1-4.1.dsc
 c2ccaa4735820b0f2049de76cc52f2facd553bde3173e2162bda528eeb7410f3 35014 ktoon_0.8.1-4.1.diff.gz
 19eb5470d72a7795f5902fe796fd0b338845782f605e9adfefdefd1febdd446b 2527964 ktoon_0.8.1-4.1_i386.deb
Files: 
 a9c7dd56448592c8739211215535d09d 1280 graphics optional ktoon_0.8.1-4.1.dsc
 e1206b62a75cf5086a5c86f8caf37fc8 35014 graphics optional ktoon_0.8.1-4.1.diff.gz
 cd38d68cb6cce14146b75f0d848cb8c9 2527964 graphics optional ktoon_0.8.1-4.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktbXiYACgkQnXjXEYa8KlB7nQCeKwXnbogzaKeG8eBLnO4D0s79
hPUAnAwbXOHKtRJtJZg66WYUSTN3yJTf
=5L0z
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 07 Mar 2011 08:12:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 9 20:51:28 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.