Your message dated Sat, 28 Mar 2009 15:47:11 +0000
with message-id <e1lnakz-0006ge...@ries.debian.org>
and subject line Bug#491798: fixed in slang2 2.1.4-1
has caused the Debian Bug report #491798,
regarding slang2_2.1.3-3: FTBFS with glibc 2.8 and above
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
491798: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491798
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: slang2
Version: 2.1.3-3
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch intrepid
Hi Alastair,
In the latest archive rebuilds for Ubuntu Intrepid, slang2 fails to build
because it expects to resolve an 'h_addr' member of 'struct hostent'. With
glibc 2.8, this is no longer available by default, but only when defining
_GNU_SOURCE.
The attached patch fixes the build failure, and I believe it's correct for
older versions of glibc as well, since h_addr_list is the standard interface
and h_addr should only be used when there's some indication we're on a
system that doesn't support the current standard.
Thought you might like to have this patch in advance, even though Debian
isn't moving to glibc 2.8 for lenny.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru slang2-2.1.3/debian/changelog slang2-2.1.3/debian/changelog
--- slang2-2.1.3/debian/changelog 2008-07-21 22:35:40.000000000 +0000
+++ slang2-2.1.3/debian/changelog 2008-07-21 22:35:41.000000000 +0000
@@ -1,3 +1,10 @@
+slang2 (2.1.3-3ubuntu1) intrepid; urgency=low
+
+ * Reverse the sense of an #ifdef h_addr check, required for building
+ with glibc 2.8 and above. LP: #245627.
+
+ -- Steve Langasek <steve.langa...@ubuntu.com> Mon, 21 Jul 2008 22:25:42 +0000
+
slang2 (2.1.3-3) unstable; urgency=low
* Move to Standards;Version: 3.7.3.
diff -Nru slang2-2.1.3/debian/patches/091_modern_hostent.patch slang2-2.1.3/debian/patches/091_modern_hostent.patch
--- slang2-2.1.3/debian/patches/091_modern_hostent.patch 1970-01-01 00:00:00.000000000 +0000
+++ slang2-2.1.3/debian/patches/091_modern_hostent.patch 2008-07-21 22:35:41.000000000 +0000
@@ -0,0 +1,12 @@
+diff -ruN slang-2.1.3-old/modules/socket-module.c slang-2.1.3/modules/socket-module.c
+--- slang-2.1.3-old/modules/socket-module.c 2007-10-24 02:17:41.000000000 +0000
++++ slang-2.1.3/modules/socket-module.c 2008-07-21 22:22:31.000000000 +0000
+@@ -442,7 +442,7 @@
+ throw_herror ("gethostbyname", h_errno);
+ return NULL;
+ }
+-#ifndef h_addr
++#ifdef h_addr
+ /* Older interface. There is only one address, so fake a list */
+ h_addr_list = fake_h_addr_list;
+ h_addr_list [0] = hp->h_addr;
--- End Message ---
--- Begin Message ---
Source: slang2
Source-Version: 2.1.4-1
We believe that the bug you reported is fixed in the latest version of
slang2, which is due to be installed in the Debian FTP archive:
libslang2-dev_2.1.4-1_i386.deb
to pool/main/s/slang2/libslang2-dev_2.1.4-1_i386.deb
libslang2-pic_2.1.4-1_i386.deb
to pool/main/s/slang2/libslang2-pic_2.1.4-1_i386.deb
libslang2-udeb_2.1.4-1_i386.udeb
to pool/main/s/slang2/libslang2-udeb_2.1.4-1_i386.udeb
libslang2_2.1.4-1_i386.deb
to pool/main/s/slang2/libslang2_2.1.4-1_i386.deb
slang2_2.1.4-1.diff.gz
to pool/main/s/slang2/slang2_2.1.4-1.diff.gz
slang2_2.1.4-1.dsc
to pool/main/s/slang2/slang2_2.1.4-1.dsc
slang2_2.1.4.orig.tar.gz
to pool/main/s/slang2/slang2_2.1.4.orig.tar.gz
slsh_2.1.4-1_i386.deb
to pool/main/s/slang2/slsh_2.1.4-1_i386.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 491...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <mckins...@debian.org> (supplier of updated slang2 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 26 Mar 2009 11:33:54 +0000
Source: slang2
Binary: libslang2-dev libslang2 libslang2-udeb libslang2-pic slsh
Architecture: source i386
Version: 2.1.4-1
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <mckins...@debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Description:
libslang2 - The S-Lang programming library - runtime version
libslang2-dev - The S-Lang programming library, development version
libslang2-pic - The S-Lang programming library, shared library subset kit
libslang2-udeb - S-Lang library for Debian Installer (udeb)
slsh - S-Lang shell
Closes: 491798
Changes:
slang2 (2.1.4-1) unstable; urgency=low
.
* New upstream release.
* FTBFS with glibc-2.8. Closes: #491798.
Files:
189fabb219c10fb3b44153e3b04fbf09 716 devel optional slang2_2.1.4-1.dsc
1bb39d0d40f92ac1dc67314d079d2b06 1275308 devel optional
slang2_2.1.4.orig.tar.gz
d312274e593673a5f7b6c5113d4d067a 144113 devel optional slang2_2.1.4-1.diff.gz
b379bb079a8139bbee93381559cced78 500840 libdevel optional
libslang2-dev_2.1.4-1_i386.deb
d5bba43963667d75e441c973de23ef86 475996 libs required
libslang2_2.1.4-1_i386.deb
903f876bed95d5beb21200135cb006fc 443922 libdevel optional
libslang2-pic_2.1.4-1_i386.deb
853b25fb3a757a3c55b4eaf731af0eef 279658 debian-installer extra
libslang2-udeb_2.1.4-1_i386.udeb
753661f7b1605baa4c7e1e262e963003 183712 interpreters optional
slsh_2.1.4-1_i386.deb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJzjzGQTK/kCo4XFcRApRdAJ9R2cMdxn9hnbTGd6baTsGRCl+JTACfQCEp
AUkNrMGuPgWzb7hKAmmYnIE=
=4QYc
-----END PGP SIGNATURE-----
--- End Message ---