Debian Bug report logs - #479885
php-clamavlib: FTBFS: clamav.c:164: error: 'struct cl_limits' has no member named 'maxratio'

version graph

Package: php-clamavlib; Maintainer for php-clamavlib is (unknown);

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

Date: Wed, 7 May 2008 08:00:01 UTC

Severity: serious

Tags: patch

Found in version 0.13-1.1

Fixed in version php-clamavlib/0.13-1.2

Done: Adam Sommer <asommer70@gmail.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, Jonas Genannt <jonas.genannt@capi2name.de>:
Bug#479885; Package php-clamavlib. (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Jonas Genannt <jonas.genannt@capi2name.de>. (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: php-clamavlib: FTBFS: clamav.c:164: error: 'struct cl_limits' has no member named 'maxratio'
Date: Wed, 7 May 2008 09:07:24 +0200
Package: php-clamavlib
Version: 0.13-1.1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20080506 qa-ftbfs
Justification: FTBFS on i386

Hi,

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

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
is now the default on most architectures (even if it's not the case on
i386 yet).  Consequently, many failures are caused by the switch to gcc
4.3.
If you determine that this failure is caused by gcc 4.3, feel free to
downgrade this bug to 'important' if your package is only built on i386,
and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
>  gcc -I. -I/build/user/php-clamavlib-0.13 -DPHP_ATOM_INC -I/build/user/php-clamavlib-0.13/include -I/build/user/php-clamavlib-0.13/main -I/build/user/php-clamavlib-0.13 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -Wall -g -O2 -c /build/user/php-clamavlib-0.13/clamav.c  -fPIC -DPIC -o .libs/clamav.o
> /build/user/php-clamavlib-0.13/clamav.c: In function 'zm_startup_clamav':
> /build/user/php-clamavlib-0.13/clamav.c:144: warning: implicit declaration of function 'cl_loaddbdir'
> /build/user/php-clamavlib-0.13/clamav.c:164: error: 'struct cl_limits' has no member named 'maxratio'
> /build/user/php-clamavlib-0.13/clamav.c: In function 'php_cl_scanfile':
> /build/user/php-clamavlib-0.13/clamav.c:343: warning: 'return' with a value, in function returning void
> /build/user/php-clamavlib-0.13/clamav.c:348: warning: 'return' with a value, in function returning void
> /build/user/php-clamavlib-0.13/clamav.c: In function 'zif_cl_setlimits':
> /build/user/php-clamavlib-0.13/clamav.c:420: warning: 'return' with a value, in function returning void
> /build/user/php-clamavlib-0.13/clamav.c:428: warning: 'return' with a value, in function returning void
> /build/user/php-clamavlib-0.13/clamav.c:435: error: 'struct cl_limits' has no member named 'maxratio'
> /build/user/php-clamavlib-0.13/clamav.c: In function 'zif_cl_scanfile_ex':
> /build/user/php-clamavlib-0.13/clamav.c:485: warning: passing argument 2 of 'cl_scanfile' from incompatible pointer type
> /build/user/php-clamavlib-0.13/clamav.c: In function 'zif_cl_pretcode':
> /build/user/php-clamavlib-0.13/clamav.c:598: warning: 'return' with a value, in function returning void
> /build/user/php-clamavlib-0.13/clamav.c: In function 'zif_clam_scan_file':
> /build/user/php-clamavlib-0.13/clamav.c:610: warning: 'return' with a value, in function returning void
> /build/user/php-clamavlib-0.13/clamav.c: In function 'zif_clam_get_version':
> /build/user/php-clamavlib-0.13/clamav.c:620: warning: 'return' with a value, in function returning void
> make[1]: *** [clamav.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/05/06

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 containing a sid i386
environment.  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, Jonas Genannt <jonas.genannt@capi2name.de>:
Bug#479885; Package php-clamavlib. (full text, mbox, link).


Acknowledgement sent to Stephen Gran <sgran@debian.org>:
Extra info received and forwarded to list. Copy sent to Jonas Genannt <jonas.genannt@capi2name.de>. (full text, mbox, link).


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

From: Stephen Gran <sgran@debian.org>
To: Lucas Nussbaum <lucas@lucas-nussbaum.net>, 479885@bugs.debian.org, 479891@bugs.debian.org, 479887@bugs.debian.org, 479888@bugs.debian.org
Subject: Re: Bug#479885: php-clamavlib: FTBFS: clamav.c:164: error: 'struct cl_limits' has no member named 'maxratio'
Date: Wed, 7 May 2008 11:37:25 +0100
[Message part 1 (text/plain, inline)]
This one time, at band camp, Lucas Nussbaum said:
> Package: php-clamavlib
> 
> /build/user/php-clamavlib-0.13/clamav.c:164: error: 'struct cl_limits' has no member named 'maxratio'

This one time, at band camp, Lucas Nussbaum said:
> Package: havp
>
> clamlibscanner.cpp:198: error: 'struct cl_limits' has no member named 'maxratio'

This one time, at band camp, Lucas Nussbaum said:
> Package: gurlchecker
>
> ucclam.c:37: error: 'struct cl_limits' has no member named 'maxratio'

This one time, at band camp, Lucas Nussbaum said:
> Package: avscan
>
> avscanop.c:534: error: 'struct cl_limits' has no member named 'maxratio'

These are all as expected.  libclamav recently changed soname.  Thanks
for picking them up, Lucas.

I tried to warn all of you ahead of time, but I didn't hear anything
back.  If you need help porting your application to work with the new
API, let me know and I'll see what I can do.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Jonas Genannt <jonas.genannt@capi2name.de>:
Bug#479885; Package php-clamavlib. (full text, mbox, link).


Acknowledgement sent to Scott Kitterman <scott@kitterman.com>:
Extra info received and forwarded to list. Copy sent to Jonas Genannt <jonas.genannt@capi2name.de>. (full text, mbox, link).


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

From: Scott Kitterman <scott@kitterman.com>
To: 479885@bugs.debian.org
Subject: Proposed NMU Uploaded to Mentors
Date: Sat, 10 May 2008 23:41:40 -0400
[Message part 1 (text/plain, inline)]
Attached is a minimal diff to solve the bug.  Uploaded to mentors and needs 
sponsoring.
[nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Jonas Genannt <jonas.genannt@capi2name.de>:
Bug#479885; Package php-clamavlib. (full text, mbox, link).


Acknowledgement sent to Ondrej Certik <ondrej@certik.cz>:
Extra info received and forwarded to list. Copy sent to Jonas Genannt <jonas.genannt@capi2name.de>. (full text, mbox, link).


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

From: Ondrej Certik <ondrej@certik.cz>
To: 479885@bugs.debian.org
Subject: the same on alpha
Date: Sat, 24 May 2008 16:50:07 +0200
The same problem seems to happen on alpha:

http://buildd.debian.org/~jeroen/status/package.php?suite=unstable&p=php-clamavlib&a=alpha

Ondrej





Tags added: patch Request was from Paul Wise <pabs@debian.org> to control@bugs.debian.org. (Mon, 23 Jun 2008 06:27:02 GMT) (full text, mbox, link).


Reply sent to Adam Sommer <asommer70@gmail.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (full text, mbox, link).


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

From: Adam Sommer <asommer70@gmail.com>
To: 479885-close@bugs.debian.org
Subject: Bug#479885: fixed in php-clamavlib 0.13-1.2
Date: Wed, 02 Jul 2008 05:02:03 +0000
Source: php-clamavlib
Source-Version: 0.13-1.2

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

php-clamavlib_0.13-1.2.diff.gz
  to pool/main/p/php-clamavlib/php-clamavlib_0.13-1.2.diff.gz
php-clamavlib_0.13-1.2.dsc
  to pool/main/p/php-clamavlib/php-clamavlib_0.13-1.2.dsc
php5-clamavlib_0.13-1.2_amd64.deb
  to pool/main/p/php-clamavlib/php5-clamavlib_0.13-1.2_amd64.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 479885@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Sommer <asommer70@gmail.com> (supplier of updated php-clamavlib 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: Mon, 30 Jun 2008 16:19:54 -0400
Source: php-clamavlib
Binary: php5-clamavlib
Architecture: source amd64
Version: 0.13-1.2
Distribution: unstable
Urgency: low
Maintainer: Jonas Genannt <jonas.genannt@capi2name.de>
Changed-By: Adam Sommer <asommer70@gmail.com>
Description: 
 php5-clamavlib - PHP ClamAV Lib - ClamAV Interface for PHP5 Scripts
Closes: 479885
Changes: 
 php-clamavlib (0.13-1.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Removed all maxratio references (Closes: #479885)
Checksums-Sha1: 
 b7c87658624ad68eeb4f95e85cf4b80d403f380a 1030 php-clamavlib_0.13-1.2.dsc
 bdce20ab22b28175dfc99707d5dbbb4d3417e1f2 72585 php-clamavlib_0.13-1.2.diff.gz
 48189f575752d54b4c48079b2f3ee3fc0e1e10aa 11970 php5-clamavlib_0.13-1.2_amd64.deb
Checksums-Sha256: 
 198c52451f0265c83bb86651559687dc95263205f8a9f55d89ac205c5cca813f 1030 php-clamavlib_0.13-1.2.dsc
 e7492cf7a702687c48ee46a3a776c5306b92423d7c9359bfe084672b7bba00bb 72585 php-clamavlib_0.13-1.2.diff.gz
 672e2a79b236f3e344cd71988ee42f53e40b2c20e72754db1cea9b3d655e9f00 11970 php5-clamavlib_0.13-1.2_amd64.deb
Files: 
 537fed81dca14f213b6f378ad6804522 1030 web optional php-clamavlib_0.13-1.2.dsc
 3b19dd54a01fbe034412c2b1ab339f34 72585 web optional php-clamavlib_0.13-1.2.diff.gz
 ec987e4167d0f47e162e7c1e3d0fbb7f 11970 web optional php5-clamavlib_0.13-1.2_amd64.deb

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

iD8DBQFIawgI9Cbhsr6b+NoRAsUxAJ9iTn7o9sKiPxVLSJvRXhl0QDjlDwCgpMQk
7ufbc2NtcaHok3XnG9CLW0M=
=m8dv
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 11 Aug 2008 10:39:56 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: Thu Jan 11 17:30:13 2018; Machine Name: beach

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.