Your message dated Thu, 10 Feb 2005 09:46:30 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#294598: php4: compilation problem related to apache2 header 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; 10 Feb 2005 17:27:34 +0000 >From [EMAIL PROTECTED] Thu Feb 10 09:27:33 2005 Return-path: <[EMAIL PROTECTED]> Received: from (hebus.inl.fr) [195.101.59.116] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1CzI6H-0000pU-00; Thu, 10 Feb 2005 09:27:33 -0800 Received: from eric by hebus.inl.fr with local (Exim 4.44) id 1CzI5k-00046w-Gh; Thu, 10 Feb 2005 18:27:00 +0100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Regit <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: php4: compilation problem related to apache2 header X-Mailer: reportbug 3.7.1 Date: Thu, 10 Feb 2005 18:27:00 +0100 Message-Id: <[EMAIL PROTECTED]> 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: php4 Severity: serious Justification: no longer builds from source A dpkg-buildpackage failed with the following message : In file included from /usr/include/apache2/util_filter.h:23, from /usr/local/src/php-mnogo/php4-4.3.10/sapi/apache2handler/mod_php4.c:40: /usr/include/apache2/httpd.h:1506: error: syntax error before '*' token /usr/include/apache2/httpd.h:1507: warning: type defaults to `int' in declaration of `ap_pregcomp' /usr/include/apache2/httpd.h:1507: warning: data definition has no type or storage class /usr/include/apache2/httpd.h:1514: error: syntax error before "ap_regex_t" /usr/include/apache2/httpd.h:1528: error: syntax error before '*' token /usr/include/apache2/httpd.h:1538: warning: type defaults to `int' in declaration of `ap_regex_t' /usr/include/apache2/httpd.h:1538: error: syntax error before '*' token /usr/include/apache3/httpd.h:1553: error: syntax error before "ap_regmatch_t" The bug is related to the use in php4 of _PCREPOSIX_H in the file main/php_regex.h which prevent the evaluation of /usr/include/apache2/pcreposix.h. This cause the parsing of httpd.h to failed. I've modify pcreposix.h to evaluate the necessary structure, but this is "ugly" : --- /usr/include/apache2/pcreposix.h 2005-02-08 23:34:37.000000000 +0100 +++ pcreposix.h 2005-02-10 18:05:23.262828888 +0100 @@ -56,6 +56,11 @@ REG_NOMATCH /* match failed */ }; +#endif /* End of pcreposix.h */ + + +#ifndef _STRUCT_PCREPOSIX_H +#define _STRUCT_PCREPOSIX_H /* The structure representing a compiled regular expression. */ @@ -85,4 +90,4 @@ } /* extern "C" */ #endif -#endif /* End of pcreposix.h */ +#endif /* End struct_pcreposix.h */ -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.10 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) --------------------------------------- Received: (at 294598-done) by bugs.debian.org; 10 Feb 2005 17:46:31 +0000 >From [EMAIL PROTECTED] Thu Feb 10 09:46:31 2005 Return-path: <[EMAIL PROTECTED]> Received: from dsl093-039-038.pdx1.dsl.speakeasy.net (quetzlcoatl.dodds.net) [66.93.39.38] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1CzIOd-0002j8-00; Thu, 10 Feb 2005 09:46:31 -0800 Received: by quetzlcoatl.dodds.net (Postfix, from userid 1000) id 9E7CC3AE0; Thu, 10 Feb 2005 09:46:30 -0800 (PST) Date: Thu, 10 Feb 2005 09:46:30 -0800 From: Steve Langasek <[EMAIL PROTECTED]> To: Regit <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: Bug#294598: php4: compilation problem related to apache2 header Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" 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: --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 10, 2005 at 06:27:00PM +0100, Regit wrote: > Package: php4 > Severity: serious > Justification: no longer builds from source > A dpkg-buildpackage failed with the following message : > In file included from /usr/include/apache2/util_filter.h:23, > from /usr/local/src/php-mnogo/php4-4.3.10/sapi/apache2ha= ndler/mod_php4.c:40: > /usr/include/apache2/httpd.h:1506: error: syntax error before '*' token > /usr/include/apache2/httpd.h:1507: warning: type defaults to `int' in dec= laration of `ap_pregcomp' > /usr/include/apache2/httpd.h:1507: warning: data definition has no type o= r storage class > /usr/include/apache2/httpd.h:1514: error: syntax error before "ap_regex_t" > /usr/include/apache2/httpd.h:1528: error: syntax error before '*' token > /usr/include/apache2/httpd.h:1538: warning: type defaults to `int' in dec= laration of `ap_regex_t' > /usr/include/apache2/httpd.h:1538: error: syntax error before '*' token > /usr/include/apache3/httpd.h:1553: error: syntax error before "ap_regmatc= h_t" This appears to be a bug that's already fixed as a bug in apache2, not in php4. If php4 4.3.10-4 doesn't build for you, then please re-open=20 this report. --=20 Steve Langasek postmodern programmer > The bug is related to the use in php4 of _PCREPOSIX_H in the file > main/php_regex.h which prevent the evaluation of > /usr/include/apache2/pcreposix.h. This cause the parsing of httpd.h to > failed. > I've modify pcreposix.h to evaluate the necessary structure, but this is > "ugly" : > --- /usr/include/apache2/pcreposix.h 2005-02-08 23:34:37.000000000 +0100 > +++ pcreposix.h 2005-02-10 18:05:23.262828888 +0100 > @@ -56,6 +56,11 @@ > REG_NOMATCH /* match failed */ > }; > =20 > +#endif /* End of pcreposix.h */ > + > + > +#ifndef _STRUCT_PCREPOSIX_H > +#define _STRUCT_PCREPOSIX_H > =20 > /* The structure representing a compiled regular expression. */ > =20 > @@ -85,4 +90,4 @@ > } /* extern "C" */ > #endif > =20 > -#endif /* End of pcreposix.h */ > +#endif /* End struct_pcreposix.h */ --0F1p//8PRICkK4MW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCC531KN6ufymYLloRAkqiAJ4j+aYbboipX4YdhfSvB/T+WjSQpQCgp7JH byRQwlMkkEOYi7fYnJrSchA= =L0Tt -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]