Debian Bug report logs - #498342
[php5] FTBFS: RFC822BUFFER undeclared

version graph

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

Reported by: Mathias Brodala <info@noctus.net>

Date: Tue, 9 Sep 2008 10:24:07 UTC

Severity: important

Found in version 5.2.6-1.1~highlightbg

Done: Mathias Brodala <info@noctus.net>

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, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#498342; Package php5. (full text, mbox, link).


Acknowledgement sent to Mathias Brodala <info@noctus.net>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: Mathias Brodala <info@noctus.net>
To: submit@bugs.debian.org
Subject: [php5] FTBFS: RFC822BUFFER undeclared
Date: Tue, 09 Sep 2008 12:02:33 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: php5
Version: 5.2.6-1.1~highlightbg
Severity: important

- --- Please enter the report below this line. ---
After installing the build dependencies and trying to build, the build
fails after a while:

> /home/ashura/Archive/Debian/PHP/php5-5.2.6/ext/imap/php_imap.c: In function ‘_php_rfc822_write_address_len’:
> /home/ashura/Archive/Debian/PHP/php5-5.2.6/ext/imap/php_imap.c:3906: error: ‘RFC822BUFFER’ undeclared (first use in this function)
> /home/ashura/Archive/Debian/PHP/php5-5.2.6/ext/imap/php_imap.c:3906: error: (Each undeclared identifier is reported only once
> /home/ashura/Archive/Debian/PHP/php5-5.2.6/ext/imap/php_imap.c:3906: error: for each function it appears in.)
> /home/ashura/Archive/Debian/PHP/php5-5.2.6/ext/imap/php_imap.c:3906: error: expected ‘;’ before ‘buf’
> /home/ashura/Archive/Debian/PHP/php5-5.2.6/ext/imap/php_imap.c:3908: error: ‘buf’ undeclared (first use in this function)

Is there missing a build-dependency?

- --- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: lenny/sid
  500 unstable        ftp.uni-kl.de
  500 unstable        ftp.de.debian.org
  500 testing         ftp.uni-kl.de
  500 testing         ftp.de.debian.org
  500 stable          dl.google.com
  500 experimental    sadleder.de
  500 experimental    ftp.uni-kl.de
    1 experimental    ftp.de.debian.org

- --- Package information. ---
Depends                                         (Version) | Installed
=========================================================-+-============================
libapache2-mod-php5           (>= 5.2.6-1.1~highlightbg)  |
5.2.6-1.1~highlightbg
 OR libapache2-mod-php5filter (>= 5.2.6-1.1~highlightbg)  |
 OR php5-cgi                   (>= 5.2.6-1.1~highlightbg) |
php5-common                    (>= 5.2.6-1.1~highlightbg) |
5.2.6-1.1~highlightbg



- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjGSbgACgkQYfUFJ3ewsJhYGACfSC155ulloY9HnKMom0I3pQaC
3w0AoJ92O+0R1pyK28OhUrPhQ0CI8HDA
=uu5O
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#498342; Package php5. (full text, mbox, link).


Acknowledgement sent to "Ondřej Surý" <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: "Ondřej Surý" <ondrej@sury.org>
To: "Mathias Brodala" <info@noctus.net>, 498342@bugs.debian.org
Subject: Re: [php-maint] Bug#498342: [php5] FTBFS: RFC822BUFFER undeclared
Date: Tue, 9 Sep 2008 15:38:03 +0200
> Debian Release: lenny/sid
>  500 unstable        ftp.uni-kl.de
>  500 unstable        ftp.de.debian.org
>  500 testing         ftp.uni-kl.de
>  500 testing         ftp.de.debian.org
>  500 stable          dl.google.com
>  500 experimental    sadleder.de
>  500 experimental    ftp.uni-kl.de
>    1 experimental    ftp.de.debian.org

It's probably cause by your unpinned mix of testing, unstable and experimental.

What is your version of libc-client-dev ?

Try building it without experimental packages.

Ondrej.
-- 
Ondřej Surý <ondrej@sury.org>

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#498342; Package php5. (full text, mbox, link).


Acknowledgement sent to Mathias Brodala <info@noctus.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: Mathias Brodala <info@noctus.net>
To: 498342@bugs.debian.org
Subject: Re: [php-maint] Bug#498342: [php5] FTBFS: RFC822BUFFER undeclared
Date: Tue, 09 Sep 2008 16:08:14 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Ondřej Surý, 09.09.2008 15:38:
>> Debian Release: lenny/sid
>>  500 unstable        ftp.uni-kl.de
>>  500 unstable        ftp.de.debian.org
>>  500 testing         ftp.uni-kl.de
>>  500 testing         ftp.de.debian.org
>>  500 stable          dl.google.com
>>  500 experimental    sadleder.de
>>  500 experimental    ftp.uni-kl.de
>>    1 experimental    ftp.de.debian.org
> 
> It's probably cause by your unpinned mix of testing, unstable and experimental.
> 
> What is your version of libc-client-dev ?

Installed is version 7:2007b~dfsg-3

> Try building it without experimental packages.

No experimental package is involved when satisfying the build dependencies:

> Get:1 ftp://ftp.de.debian.org unstable/main libdb4.6-dev 4.6.21-10 [653kB]
> Get:2 ftp://ftp.de.debian.org testing/main libpq-dev 8.3.3-1 [409kB]
> Get:3 ftp://ftp.de.debian.org unstable/main libmysqlclient15-dev 5.0.51a-13 [7190kB]
> Get:4 ftp://ftp.de.debian.org testing/main libaprutil1-dev 1.2.12+dfsg-8 [120kB]
> Get:5 ftp://ftp.de.debian.org testing/main apache2-prefork-dev 2.2.9-7 [210kB]
> Get:6 ftp://ftp.de.debian.org testing/main firebird2.0-common 2.0.4.13130-1.ds1-4 [783kB]
> Get:7 ftp://ftp.de.debian.org testing/main libfbclient2 2.0.4.13130-1.ds1-4 [617kB]
> Get:8 ftp://ftp.de.debian.org testing/main firebird2.0-dev 2.0.4.13130-1.ds1-4 [444kB]
> Get:9 ftp://ftp.de.debian.org testing/main freetds-common 0.82-4 [25.0kB]
> Get:10 ftp://ftp.de.debian.org testing/main libct4 0.82-4 [141kB]
> Get:11 ftp://ftp.de.debian.org testing/main libsybdb5 0.82-4 [170kB]
> Get:12 ftp://ftp.de.debian.org testing/main freetds-dev 0.82-4 [417kB]
> Get:13 ftp://ftp.de.debian.org testing/main libssh2-1-dev 0.18-1 [152kB]
> Get:14 ftp://ftp.de.debian.org unstable/main libcurl4-openssl-dev 7.18.2-7 [909kB]
> Get:15 ftp://ftp.de.debian.org testing/main libgmpxx4ldbl 2:4.2.2+dfsg-3 [25.2kB]
> Get:16 ftp://ftp.de.debian.org testing/main libgmp3-dev 2:4.2.2+dfsg-3 [518kB]
> Get:17 ftp://ftp.de.debian.org testing/main libpspell-dev 0.60.6-1 [46.2kB]
> Get:18 ftp://ftp.de.debian.org testing/main libsqlite0 2.8.17-4 [174kB]
> Get:19 ftp://ftp.de.debian.org testing/main libsqlite0-dev 2.8.17-4 [209kB]

These are all packages from Experimental on my system:

> bzr/experimental uptodate 1.6.1-1
> flashplugin-nonfree/experimental uptodate 1:1.7.2+fp10.20080811
> flegita/experimental uptodate 0.6-1~sadleder.1
> flegita-gimp/experimental uptodate 0.6-1~sadleder.1
> glade/experimental uptodate 3.5.2-4
> gnome-scan/experimental uptodate 0.6-1~sadleder.1
> gthumb/experimental uptodate 3:2.11.0~svn2319-1
> gthumb-data/experimental uptodate 3:2.11.0~svn2319-1
> kde-icons-oxygen/experimental uptodate 4:4.1.1-1
> kde-l10n-de/experimental uptodate 4:4.1.1-1
> kdebase-data/experimental uptodate 4:4.1.1-1
> kdebase-runtime/experimental uptodate 4:4.1.1-1
> kdebase-runtime-bin-kde4/experimental uptodate 4:4.1.1-1
> kdebase-runtime-data/experimental uptodate 4:4.1.1-1
> kdebase-runtime-data-common/experimental uptodate 4:4.1.1-1
> kdelibs-bin/experimental uptodate 4:4.1.1-1
> kdelibs5/experimental uptodate 4:4.1.1-1
> kdelibs5-data/experimental uptodate 4:4.1.1-1
> konqueror/experimental uptodate 4:4.1.1-1
> libgl1-mesa-dev/experimental uptodate 7.1-1
> libgl1-mesa-dri/experimental uptodate 7.1-1
> libgl1-mesa-glx/experimental uptodate 7.1-1
> libgladeui-1-8/experimental uptodate 3.5.2-4
> libglu1-mesa/experimental uptodate 7.1-1
> libglu1-mesa-dev/experimental uptodate 7.1-1
> libgnomescan0/experimental uptodate 0.6-1~sadleder.1
> libgnomescan0-data/experimental uptodate 0.6-1~sadleder.1
> libkonq5/experimental uptodate 4:4.1.1-1
> libkonq5-templates/experimental uptodate 4:4.1.1-1
> libmjpegtools0/experimental uptodate 1:1.9.0~rc3-0.2
> libpurple0/experimental uptodate 2.5.0-1
> libqt4-assistant/experimental uptodate 4.4.1-1
> libqt4-core/experimental uptodate 4.4.1-1
> libqt4-dbus/experimental uptodate 4.4.1-1
> libqt4-designer/experimental uptodate 4.4.1-1
> libqt4-dev/experimental uptodate 4.4.1-1
> libqt4-gui/experimental uptodate 4.4.1-1
> libqt4-help/experimental uptodate 4.4.1-1
> libqt4-network/experimental uptodate 4.4.1-1
> libqt4-opengl/experimental uptodate 4.4.1-1
> libqt4-qt3support/experimental uptodate 4.4.1-1
> libqt4-script/experimental uptodate 4.4.1-1
> libqt4-sql/experimental uptodate 4.4.1-1
> libqt4-svg/experimental uptodate 4.4.1-1
> libqt4-test/experimental uptodate 4.4.1-1
> libqt4-webkit/experimental uptodate 4.4.1-1
> libqt4-xml/experimental uptodate 4.4.1-1
> libqt4-xmlpatterns/experimental uptodate 4.4.1-1
> libqtcore4/experimental uptodate 4.4.1-1
> libqtgui4/experimental uptodate 4.4.1-1
> mesa-common-dev/experimental uptodate 7.1-1
> mesa-utils/experimental uptodate 7.1-1
> mjpegtools/experimental uptodate 1:1.9.0~rc3-0.2
> pidgin/experimental uptodate 2.5.0-1
> pidgin-data/experimental uptodate 2.5.0-1
> python-qt4/experimental uptodate 4.4.3-1
> python-qt4-common/experimental uptodate 4.4.3-1
> qemu/experimental uptodate 0.9.1+svn20080905-1
> qemu-launcher/experimental uptodate 1.8.0~pre0-1
> qt4-qtconfig/experimental uptodate 4.4.1-1
> systemsettings/experimental uptodate 4:4.1.1-1
> transcode/experimental uptodate 3:1.1.0~beta1-0.0
> transset/experimental uptodate 0.1.0+cvs.20051218-1

I can not see a package which could be related to PHP in general and to
this specific error in particular.


Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjGg04ACgkQYfUFJ3ewsJhahgCgnPVtxv/aN8mca3N1OGe1pjml
LvMAoJnR8rMTEZLSK6LEcP0/lvIdyUBC
=2GFT
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#498342; Package php5. (full text, mbox, link).


Acknowledgement sent to "Ondřej Surý" <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


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

From: "Ondřej Surý" <ondrej@sury.org>
To: "Mathias Brodala" <info@noctus.net>, 498342@bugs.debian.org
Subject: Re: [php-maint] Bug#498342: Bug#498342: [php5] FTBFS: RFC822BUFFER undeclared
Date: Tue, 9 Sep 2008 18:05:41 +0200
There must be some earlier error in build log.  Could you put whole build log
somewhere on the web?

Just few things to check:

1. Is /usr/include/c-client/rfc822.h present on your system?
2. Does /usr/include/c-client/rfc822.h contains declaration of RFC822BUFFER?
3. Is there some other version of libc-client-dev installed in
/usr/local or somewhere else?

Current php5 builds imap module just fine in unstable pbuilder.

Ondrej
-- 
Ondřej Surý <ondrej@sury.org>

Reply sent to Mathias Brodala <info@noctus.net>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Mathias Brodala <info@noctus.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #25 received at 498342-done@bugs.debian.org (full text, mbox, reply):

From: Mathias Brodala <info@noctus.net>
To: 498342-done@bugs.debian.org
Subject: Re: [php-maint] Bug#498342: Bug#498342: [php5] FTBFS: RFC822BUFFER undeclared
Date: Wed, 10 Sep 2008 01:23:30 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Ondřej Surý, 09.09.2008 18:05:
> There must be some earlier error in build log.  Could you put whole build log
> somewhere on the web?
> 
> Just few things to check:
> 
> 1. Is /usr/include/c-client/rfc822.h present on your system?
> 2. Does /usr/include/c-client/rfc822.h contains declaration of RFC822BUFFER?
> 3. Is there some other version of libc-client-dev installed in
> /usr/local or somewhere else?
> 
> Current php5 builds imap module just fine in unstable pbuilder.

Now the build went just fine here too. Somehow the build-dependency on
libc-client-dev must have failed to be satisified the first time I
tried. However I cannot imagine how this could have happened since this
package is pulled when satisfying the build dependencies.

Whatever it was, I probably won’t be able to reproduce it easily and
will be closing this report now. Thanks for taking your time and responding.


Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjHBXEACgkQYfUFJ3ewsJjQrACgkss8m7Cszxj9nlfiKONsuh2S
BgQAnRpMBlM2reWcEnFtu6JGVdlGbuRO
=vYB2
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 08 Oct 2008 07:29:59 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: Sun Jul 2 01:42:11 2023; Machine Name: bembo

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.