Debian Bug report logs -
#490389
Patch to fix FTBFS on amd64 and glibc 2.8
Reported by: "Michael Casadevall" <sonicmctails@gmail.com>
Date: Sat, 12 Jul 2008 00:51:04 UTC
Severity: serious
Tags: fixed-upstream, patch, sid, squeeze, upstream
Fixed in version purelibc/0.4+r646-1
Done: Ludovico Gardenghi <garden@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#490389; Package purelibc.
(full text, mbox, link).
Acknowledgement sent to "Michael Casadevall" <sonicmctails@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: purelibc
Severity: important
Tags: patch
Justification: fails to build from source
The included patch fixes purelibc on amd64. It will likely also help fix
building on other architecture, but it has not been tested on such.
Michael
- --- socketcalls.c.old 2008-07-11 21:45:00.000000000 +0000
+++ socketcalls.c 2008-07-11 21:45:39.000000000 +0000
@@ -20,6 +20,7 @@
*/
#include <config.h>
+#include <stdlib.h> /* needs on amd64 and others */
#include <stdarg.h>
#include <sys/types.h>
#include <sys/socket.h>
- -- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'),
(500, 'hardy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-19-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://getfiregpg.org
iD8DBQFId/99pblTBJ2i2psRAjSfAJ0cmtYcxkEyH3HX/W/GMU3Hq+Zf5QCeOP8x
kVkt27/tsASB5ObvEj1vLp8=
=Ni+W
-----END PGP SIGNATURE-----
[Message part 2 (text/html, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#490389; Package purelibc.
(full text, mbox, link).
Acknowledgement sent to Ludovico Gardenghi <garden@acheronte.it>:
Extra info received and forwarded to list. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 490389@bugs.debian.org (full text, mbox, reply):
tags 490389 + unreproducible moreinfo
thanks
On Fri, Jul 11, 2008 at 08:49:02PM -0400, Michael Casadevall wrote:
> The included patch fixes purelibc on amd64. It will likely also help fix
I see no FTBS issues for purelibc-0.4-1 on amd64. Which version are you
referring to?
Thanks,
Ludovico
--
<garden@acheronte.it> #acheronte (irc.freenode.net) ICQ: 64483080
GPG ID: 07F89BB8 Jabber: gardengl@gmail.com Yahoo: gardenghelle
-- This is signature nr. 4072
Tags added: unreproducible, moreinfo
Request was from Ludovico Gardenghi <garden@acheronte.it>
to control@bugs.debian.org.
(Sat, 12 Jul 2008 07:36:28 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#490389; Package purelibc.
(full text, mbox, link).
Acknowledgement sent to "Michael Casadevall" <sonicmctails@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #17 received at 490389@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There is no build log on Debian on AMD64, this patch was required to
get it building on Ubuntu where it FTBFS on all architectures aside
from i686. I should have made this more clear in my email.
The package was synced from Ubuntu without changes, and has never been
modified until that patch was applied to it (creating 0.4.1-1ubuntu1).
It's possible that the specific issue that effected it on Ubuntu isn't
true on Debian, or the package hasn't been built recently on amd64 and
thus hasn't had an opportunity to fail.
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://getfiregpg.org
iD8DBQFIeK3ApblTBJ2i2psRArB1AJ4vFnwxldBdWZVVJjKPJlekEP+ZqwCfYu8d
027lKFVCIgGusu5PGieMKdU=
=SWhB
-----END PGP SIGNATURE-----
On Sat, Jul 12, 2008 at 3:32 AM, Ludovico Gardenghi <garden@acheronte.it>
wrote:
> tags 490389 + unreproducible moreinfo
> thanks
>
> On Fri, Jul 11, 2008 at 08:49:02PM -0400, Michael Casadevall wrote:
>
> > The included patch fixes purelibc on amd64. It will likely also help fix
>
> I see no FTBS issues for purelibc-0.4-1 on amd64. Which version are you
> referring to?
>
> Thanks,
> Ludovico
> --
> <garden@acheronte.it> #acheronte (irc.freenode.net) ICQ: 64483080
> GPG ID: 07F89BB8 Jabber: gardengl@gmail.com Yahoo: gardenghelle
> -- This is signature nr. 4072
>
[Message part 2 (text/html, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#490389; Package purelibc.
(full text, mbox, link).
Acknowledgement sent to Ludovico Gardenghi <garden@acheronte.it>:
Extra info received and forwarded to list. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #22 received at 490389@bugs.debian.org (full text, mbox, reply):
severity 490389 minor
retitle 490389 Patch to fix FTBFS on amd64 and glibc 2.8
tags 490389 - moreinfo unreproducible
tags 490389 + fixed-upstream upstream
thanks
On Sat, Jul 12, 2008 at 09:12:32AM -0400, Michael Casadevall wrote:
> There is no build log on Debian on AMD64, this patch was required to
> get it building on Ubuntu where it FTBFS on all architectures aside
> from i686. I should have made this more clear in my email.
There is no log on Debian because the amd64 binary has been uploaded by
the mantainer, but it seems to compile fine also on this architecture.
As far as Debian is concerned, there is no FTBFS error so I'm lowering
the severity.
If I understand correctly (next time, please give us some more details,
like the buildd output -- not just a patch!) the problem of a missing
stdlib.h is that NULL won't get defined. Somehow, it appears to be
defined nevertheless with glibc 2.7: we #include sys/types.h that
#includes stddef.h that defines NULL. You're using glibc 2.8 and
things are probably different.
Anyway, since it's a Good Thing to include stdlib.h if you want to use
NULL, I applied the patch to the upstream SVN, so the next upstream
release will be fixed.
If I'm missing something, please tell me.
Ludovico
--
<garden@acheronte.it> #acheronte (irc.freenode.net) ICQ: 64483080
GPG ID: 07F89BB8 Jabber: gardengl@gmail.com Yahoo: gardenghelle
-- This is signature nr. 4073
Severity set to `minor' from `important'
Request was from Ludovico Gardenghi <garden@acheronte.it>
to control@bugs.debian.org.
(Sat, 12 Jul 2008 15:36:05 GMT) (full text, mbox, link).
Changed Bug title to `Patch to fix FTBFS on amd64 and glibc 2.8' from `Patch to fix FTBFS on amd64'.
Request was from Ludovico Gardenghi <garden@acheronte.it>
to control@bugs.debian.org.
(Sat, 12 Jul 2008 15:36:06 GMT) (full text, mbox, link).
Tags removed: moreinfo, unreproducible
Request was from Ludovico Gardenghi <garden@acheronte.it>
to control@bugs.debian.org.
(Sat, 12 Jul 2008 15:36:07 GMT) (full text, mbox, link).
Tags added: fixed-upstream, upstream
Request was from Ludovico Gardenghi <garden@acheronte.it>
to control@bugs.debian.org.
(Sat, 12 Jul 2008 15:36:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#490389; Package purelibc.
(Mon, 09 Mar 2009 00:21:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Schepler <schepler@math.berkeley.edu>:
Extra info received and forwarded to list. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>.
(Mon, 09 Mar 2009 00:21:09 GMT) (full text, mbox, link).
Message #35 received at 490389@bugs.debian.org (full text, mbox, reply):
package purelibc
severity 490389 serious
thanks
With glibc 2.9 now in unstable, the package FTBFS in pbuilder:
...
/bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -g -ggdb -D_GNU_SOURCE -g -
Wall -O0 -c -o libpurelibc_la-socketcalls.lo `test -f 'socketcalls.c' || echo './'`socketcalls.c
cc -DHAVE_CONFIG_H -I. -g -ggdb -D_GNU_SOURCE -g -Wall -O0 -c socketcalls.c -fPIC -DPIC -o
.libs/libpurelibc_la-socketcalls.o
socketcalls.c: In function 'send':
socketcalls.c:114: error: 'NULL' undeclared (first use in this function)
socketcalls.c:114: error: (Each undeclared identifier is reported only once
socketcalls.c:114: error: for each function it appears in.)
socketcalls.c: In function 'recv':
socketcalls.c:121: error: 'NULL' undeclared (first use in this function)
make[2]: *** [libpurelibc_la-socketcalls.lo] Error 1
make[2]: Leaving directory `/tmp/buildd/purelibc-0.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/purelibc-0.4'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
--
Daniel Schepler
Severity set to `serious' from `minor'
Request was from Daniel Schepler <schepler@math.berkeley.edu>
to control@bugs.debian.org.
(Mon, 09 Mar 2009 00:21:13 GMT) (full text, mbox, link).
Reply sent
to Ludovico Gardenghi <garden@debian.org>:
You have taken responsibility.
(Thu, 09 Apr 2009 23:48:02 GMT) (full text, mbox, link).
Notification sent
to "Michael Casadevall" <sonicmctails@gmail.com>:
Bug acknowledged by developer.
(Thu, 09 Apr 2009 23:48:03 GMT) (full text, mbox, link).
Message #42 received at 490389-close@bugs.debian.org (full text, mbox, reply):
Source: purelibc
Source-Version: 0.4+r646-1
We believe that the bug you reported is fixed in the latest version of
purelibc, which is due to be installed in the Debian FTP archive:
libpurelibc-dev_0.4+r646-1_i386.deb
to pool/main/p/purelibc/libpurelibc-dev_0.4+r646-1_i386.deb
libpurelibc1_0.4+r646-1_i386.deb
to pool/main/p/purelibc/libpurelibc1_0.4+r646-1_i386.deb
purelibc_0.4+r646-1.diff.gz
to pool/main/p/purelibc/purelibc_0.4+r646-1.diff.gz
purelibc_0.4+r646-1.dsc
to pool/main/p/purelibc/purelibc_0.4+r646-1.dsc
purelibc_0.4+r646.orig.tar.gz
to pool/main/p/purelibc/purelibc_0.4+r646.orig.tar.gz
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 490389@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ludovico Gardenghi <garden@debian.org> (supplier of updated purelibc 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: Thu, 09 Apr 2009 20:49:10 +0200
Source: purelibc
Binary: libpurelibc-dev libpurelibc1
Architecture: source i386
Version: 0.4+r646-1
Distribution: unstable
Urgency: low
Maintainer: Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>
Changed-By: Ludovico Gardenghi <garden@debian.org>
Description:
libpurelibc-dev - Development files for the purelibc library
libpurelibc1 - libc+syscalls to libc-only wrapper for libc functions
Closes: 490389
Changes:
purelibc (0.4+r646-1) unstable; urgency=low
.
[ Filippo Giunchedi ]
* Add DM-Upload-Allowed field
.
[ Ludovico Gardenghi ]
* Snapshot from upstream
+ Fixed FTBFS on amd64 with libc 2.9 (Closes: #490389)
+ Added support for *at system calls
* Changed my email address to @debian.org
Checksums-Sha1:
bdf1879366b3c6a2cad99ec0740399521f339565 1339 purelibc_0.4+r646-1.dsc
4863efc095f17f5bc27f367e64f15f541cfd0f1b 308932 purelibc_0.4+r646.orig.tar.gz
b5df32f4135ac56c45a6a1d422bf7a1b03c010cb 2297 purelibc_0.4+r646-1.diff.gz
c1a147a22a2a776952908cb7139bae1705c1aca6 15406 libpurelibc-dev_0.4+r646-1_i386.deb
57d0fef3e7cc40aa5c500132702621ab298d0aef 18546 libpurelibc1_0.4+r646-1_i386.deb
Checksums-Sha256:
0e9131e01f943e7fa5e612dbaef452a05a418000b0853dc76e6312b534d6f04f 1339 purelibc_0.4+r646-1.dsc
1994e0fbe21e311bbffee86593b3a58691b81dcec2c78a4b7bf8bd5970c7864a 308932 purelibc_0.4+r646.orig.tar.gz
0333b381b941e92385309ff67be72500a2d72b343b73e66c55044d2854d1bbff 2297 purelibc_0.4+r646-1.diff.gz
466435cbe8758f99eda1e6e49496de1f18345ec812f434fa11255f0bd2ac5973 15406 libpurelibc-dev_0.4+r646-1_i386.deb
3a5f9cd9278f4715921406aa60c888736ac77ca5e15dbc9f6f871b6d7df8f1f5 18546 libpurelibc1_0.4+r646-1_i386.deb
Files:
18dc12f3be7b73ca12dbdaa666a977d4 1339 libs optional purelibc_0.4+r646-1.dsc
8d03b6ccb8eeedfea89299c8fded0163 308932 libs optional purelibc_0.4+r646.orig.tar.gz
ff6d9ad024f3579a536f9ca76f5b3526 2297 libs optional purelibc_0.4+r646-1.diff.gz
f22df7c94894bb1e6c49a7549d1c4c00 15406 libdevel optional libpurelibc-dev_0.4+r646-1_i386.deb
d3bdffb51bc66e06f689bab2ddad8a9c 18546 libs optional libpurelibc1_0.4+r646-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknef74ACgkQY9LV2Qf4m7jJTwCfaW2hV83D9Of4OVSjqRS9Y2Fb
CjwAnRHsHK4f0IjCXpldqh/jW0YZHYSD
=EUG0
-----END PGP SIGNATURE-----
Added tag(s) sid and squeeze.
Request was from Gerfried Fuchs <rhonda@debian.at>
to control@bugs.debian.org.
(Sun, 22 Nov 2009 22:06:06 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 07 Mar 2011 10:15:44 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 04:05:56 2023;
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.