Your message dated Sat, 26 Mar 2005 02:44:20 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#301492: php-imlib: FTBFS (amd64/gcc-4.0): static
declaration of 'third_arg_force_ref' follows non-static declaration
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Mar 2005 10:28:14 +0000
>From [EMAIL PROTECTED] Sat Mar 26 02:28:13 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c196015.adsl.hansenet.de (localhost.localdomain) [213.39.196.15]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DF8Wb-0006It-00; Sat, 26 Mar 2005 02:28:13 -0800
Received: from aj by localhost.localdomain with local (Exim 4.50)
id 1DF8Wa-0004qv-Af; Sat, 26 Mar 2005 11:28:12 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: php-imlib: FTBFS (amd64/gcc-4.0): static declaration of
'third_arg_force_ref' follows non-static declaration
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 26 Mar 2005 11:28:12 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: php-imlib
Version: 0.4-3
Severity: normal
Tags: patch
When building 'php-imlib' on amd64/unstable with gcc-4.0,
I get the following error:
make[1]: Entering directory `/php-imlib-0.4'
/bin/sh /php-imlib-0.4/libtool --mode=compile x86_64-linux-gcc -I.
-I/php-imlib-0.4 -DPHP_ATOM_INC -I/php-imlib-0.4/include -I/php-imlib-0.4/main
-I/php-imlib-0.4 -I/usr/include/php4 -I/usr/include/php4/main
-I/usr/include/php4/Zend -I/usr/include/php4/TSRM -DHAVE_CONFIG_H -g -O2 -c
/php-imlib-0.4/imlib.c -o imlib.lo
mkdir .libs
x86_64-linux-gcc -I. -I/php-imlib-0.4 -DPHP_ATOM_INC -I/php-imlib-0.4/include
-I/php-imlib-0.4/main -I/php-imlib-0.4 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-DHAVE_CONFIG_H -g -O2 -c /php-imlib-0.4/imlib.c -fPIC -DPIC -o .libs/imlib.o
/php-imlib-0.4/imlib.c:45: error: static declaration of 'third_arg_force_ref'
follows non-static declaration
/usr/include/php4/Zend/zend_modules.h:35: error: previous declaration of
'third_arg_force_ref' was here
make[1]: *** [imlib.lo] Error 1
make[1]: Leaving directory `/php-imlib-0.4'
make: *** [build-stamp] Error 2
With the attached patch 'php-imlib' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/php-imlib-0.4/imlib.c ./imlib.c
--- ../tmp-orig/php-imlib-0.4/imlib.c 2005-03-26 11:05:36.759991141 +0100
+++ ./imlib.c 2005-03-26 11:05:12.806482300 +0100
@@ -42,7 +42,7 @@
ZEND_DECLARE_MODULE_GLOBALS(imlib);
-static unsigned char third_arg_force_ref[] = { 3, BYREF_NONE, BYREF_NONE,
BYREF_FORCE };
+static unsigned char third_arg_force_ref_imlib[] = { 3, BYREF_NONE,
BYREF_NONE, BYREF_FORCE };
static unsigned char third_and_fourth_arg_force_ref[] = { 4, BYREF_NONE,
BYREF_NONE, BYREF_FORCE, BYREF_FORCE };
static unsigned char second_through_fifth_arg_force_ref[] = { 5, BYREF_NONE,
BYREF_FORCE, BYREF_FORCE, BYREF_FORCE, BYREF_FORCE };
static int le_imlib_cr;
@@ -97,8 +97,8 @@
PHP_FE(imlib_polygon_free,NULL)
PHP_FE(imlib_polygon_get_bounds,second_through_fifth_arg_force_ref)
PHP_FE(imlib_polygon_new,NULL)
- PHP_FE(imlib_save_image,third_arg_force_ref)
-
PHP_FALIAS(imlib_save_image_with_error_return,imlib_save_image,third_arg_force_ref)
+ PHP_FE(imlib_save_image,third_arg_force_ref_imlib)
+
PHP_FALIAS(imlib_save_image_with_error_return,imlib_save_image,third_arg_force_ref_imlib)
PHP_FE(imlib_text_draw,NULL)
PHP_FE(imlib_get_cache_size,NULL)
PHP_FE(imlib_set_cache_size,NULL)
---------------------------------------
Received: (at 301492-done) by bugs.debian.org; 26 Mar 2005 10:44:21 +0000
>From [EMAIL PROTECTED] Sat Mar 26 02:44:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (localhost.localdomain)
[66.93.39.86]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DF8mC-0007iS-00; Sat, 26 Mar 2005 02:44:20 -0800
Received: by localhost.localdomain (Postfix, from userid 1000)
id 63933171E11; Sat, 26 Mar 2005 02:44:20 -0800 (PST)
Date: Sat, 26 Mar 2005 02:44:20 -0800
From: Steve Langasek <[EMAIL PROTECTED]>
To: Andreas Jochens <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#301492: php-imlib: FTBFS (amd64/gcc-4.0): static declaration
of 'third_arg_force_ref' follows non-static declaration
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="0vzXIDBeUiKkjNJl"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--0vzXIDBeUiKkjNJl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Mar 26, 2005 at 11:28:12AM +0100, Andreas Jochens wrote:
> When building 'php-imlib' on amd64/unstable with gcc-4.0,
> I get the following error:
> make[1]: Entering directory `/php-imlib-0.4'
> /bin/sh /php-imlib-0.4/libtool --mode=3Dcompile x86_64-linux-gcc -I. -I/=
php-imlib-0.4 -DPHP_ATOM_INC -I/php-imlib-0.4/include -I/php-imlib-0.4/main=
-I/php-imlib-0.4 -I/usr/include/php4 -I/usr/include/php4/main -I/usr/inclu=
de/php4/Zend -I/usr/include/php4/TSRM -DHAVE_CONFIG_H -g -O2 -c /php-im=
lib-0.4/imlib.c -o imlib.lo=20
> mkdir .libs
> x86_64-linux-gcc -I. -I/php-imlib-0.4 -DPHP_ATOM_INC -I/php-imlib-0.4/in=
clude -I/php-imlib-0.4/main -I/php-imlib-0.4 -I/usr/include/php4 -I/usr/inc=
lude/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM -DHAVE_CON=
FIG_H -g -O2 -c /php-imlib-0.4/imlib.c -fPIC -DPIC -o .libs/imlib.o
> /php-imlib-0.4/imlib.c:45: error: static declaration of 'third_arg_force_=
ref' follows non-static declaration
> /usr/include/php4/Zend/zend_modules.h:35: error: previous declaration of =
'third_arg_force_ref' was here
> make[1]: *** [imlib.lo] Error 1
> make[1]: Leaving directory `/php-imlib-0.4'
> make: *** [build-stamp] Error 2
> With the attached patch 'php-imlib' can be compiled
> on amd64 using gcc-4.0.
I think you've filed this bug before :) (#287912)
Cheers,
--=20
Steve Langasek
postmodern programmer
--0vzXIDBeUiKkjNJl
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCRT0CKN6ufymYLloRAkVXAJ9QrCob2t/aPPYuJDqlVH8gNF9n4wCeM4OX
8TkBIGerun8gIlFVC5vyJdw=
=9BXF
-----END PGP SIGNATURE-----
--0vzXIDBeUiKkjNJl--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]