Package: glibc
Version: 2.7-6
Severity: wishlist
Tags: patch
Please add symbols files to the various libc* packages that provide
libraries. Since libc6 is sanely versioned I suggest to rely on that
to avoid maintaining explicit list of symbols (wee wildcards in
dpkg-gensymbols(1) for explanations).
You'll need the latest dpkg-dev to make use of this however. I'm sure the
attached patch will need further fine-tuning because I'm not 100%
confident that I got it right for all arches.
I have not added kfreebsd-* and armel but you should be able to add it if
you want. The change shouldn't generate any failure on those arches,
they'll simply not have a symbols file.
I hope you can do some tests with it and make an experimental upload with
symbols files...
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u glibc-2.7/debian/control.in/main glibc-2.7/debian/control.in/main
--- glibc-2.7/debian/control.in/main
+++ glibc-2.7/debian/control.in/main
@@ -1,7 +1,7 @@
Source: @glibc@
Section: libs
Priority: required
-Build-Depends: gettext, make (= 3.80-1), dpkg-dev (= 1.13.5), bzip2, lzma,
file, quilt,
+Build-Depends: gettext, make (= 3.80-1), dpkg-dev (= 1.14.16.5), bzip2,
lzma, file, quilt,
autoconf, sed (= 4.0.5-4), gawk, debhelper (= 5.0),
linux-libc-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
mig (= 1.3-2) [hurd-i386], hurd-dev (= 20020608-1) [hurd-i386], gnumach-dev
[hurd-i386],
diff -u glibc-2.7/debian/changelog glibc-2.7/debian/changelog
--- glibc-2.7/debian/changelog
+++ glibc-2.7/debian/changelog
@@ -1,3 +1,12 @@
+glibc (2.7-6.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Provide symbols files.
+ * Build-Depends on dpkg-dev (= 1.14.16.5) as we use wildcards in symbols
+files (and include several times the same file).
+
+ -- Raphael Hertzog [EMAIL PROTECTED] Wed, 23 Jan 2008 19:44:38 +0100
+
glibc (2.7-6) unstable; urgency=low
[ Aurelien Jarno ]
only in patch2:
unchanged:
--- glibc-2.7.orig/debian/libc6.symbols.sparc
+++ glibc-2.7/debian/libc6.symbols.sparc
@@ -0,0 +1,7 @@
+#include symbols.common
+#include symbols.non-hurd
+ld-linux.so.2 libc6 #MINVER#
+#include symbols.wildcards
+libc.so.6 libc6 #MINVER#
+#include symbols.wildcards
+ [EMAIL PROTECTED] 2.3.6
only in patch2:
unchanged:
--- glibc-2.7.orig/debian/libc6.symbols.amd64
+++ glibc-2.7/debian/libc6.symbols.amd64
@@ -0,0 +1,7 @@
+#include symbols.common
+#include symbols.non-hurd
+ld-linux.so.2 libc6 #MINVER#
+#include symbols.wildcards
+libc.so.6 libc6 #MINVER#
+#include symbols.wildcards
+ [EMAIL PROTECTED] 2.3.6
only in patch2:
unchanged:
--- glibc-2.7.orig/debian/libc6-sparc64.symbols
+++ glibc-2.7/debian/libc6-sparc64.symbols
@@ -0,0 +1,46 @@
+#include libc6.symbols.sparc
+# Get the symbols from the default file
+# Override all dependencies to libc6-sparc64
+ld-linux.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libBrokenLocale.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libSegFault.so libc6-sparc64 #MINVER#
+libanl.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libc.so.6 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libcidn.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libcrypt.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libdl.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libm.so.6 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libmemusage.so libc6-sparc64 #MINVER#
+libnsl.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libnss_compat.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libnss_dns.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libnss_files.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libnss_hesiod.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libnss_nis.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libnss_nisplus.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libpcprofile.so libc6-sparc64 #MINVER#
+libpthread.so.0 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libresolv.so.2 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+librt.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libthread_db.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
+libutil.so.1 libc6-sparc64 #MINVER#
+#include symbols.wildcards
only in patch2:
unchanged:
--- glibc-2.7.orig/debian/libc6.symbols.i386
+++ glibc-2.7/debian/libc6.symbols.i386
@@ -0,0 +1,7 @@
+#include symbols.common
+#include symbols.non-hurd
+ld-linux.so.2 libc6 #MINVER#
+#include symbols.wildcards
+libc.so.6 libc6 #MINVER#
+#include symbols.wildcards
+ [EMAIL PROTECTED] 2.3.6
only in patch2:
unchanged:
--- glibc-2.7.orig/debian/symbols.wildcards
+++ glibc-2.7/debian/symbols.wildcards
@@ -0,0