Your message dated Thu, 11 Dec 2008 17:32:04 +0000
with message-id <e1lapoo-0002vm...@ries.debian.org>
and subject line Bug#508397: fixed in dietlibc 0.31-1.1
has caused the Debian Bug report #508397,
regarding dietlibc: Undefined symbol: umount2 on alpha and ia64
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.)
--
508397: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508397
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dietlibc
Version: 0.31-1
Severity: grave
Tags: patch
Justification: renders package unusable
Hi,
As it turns out dietlibc-0.31 doesn't properly define the umount2
symbols on two architectures: alpha and ia64. This sadly results in a
build regression for util-vserver, which used to build on these
architectures, but is refusing to build now. This is holding back an
important transition of the package into Lenny. In otherwords, if this
package cannot be built on alpha/ia64, then it will not be usable for
most cases in Lenny due to the previous version not functioning
properly in two important respects.
The buildlogs which demonstrate this problem are:
alpha:
http://buildd.debian.org/fetch.cgi?&pkg=util-vserver&ver=0.30.216%7Er2772-5&arch=alpha&stamp=1227907425&file=log
ia64:
http://buildd.debian.org/fetch.cgi?&pkg=util-vserver&ver=0.30.216%7Er2772-5&arch=ia64&stamp=1227907303&file=log
both complain, rightly:
diet -Os gcc -Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time
-o src/exec-remount src/exec-remount.o lib/libvserver.a
src/exec-remount.o: In function `main':
/build/buildd/util-vserver-0.30.216~r2772/src/exec-remount.c:110:
undefined reference to `umount2' collect2: ld returned 1 exit status
The solution to this is the attached patch, I believe.
micah
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-vserver-686 (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/bash
dietlibc depends on no packages.
dietlibc recommends no packages.
Versions of packages dietlibc suggests:
ii dietlibc-dev 0.31-1 diet libc - a libc optimized for s
pn dietlibc-doc <none> (no description available)
-- no debconf information
--- a/syscalls.s/umount.S 9 Jan 2001 17:57:49 -0000 1.1
+++ b/syscalls.s/umount.S 10 Dec 2008 20:21:33 -0000
@@ -1,3 +1,7 @@
#include "syscalls.h"
+#if defined(__NR_oldumount) && defined(__NR_umount)
+syscall(oldumount,umount)
+#else
syscall(umount,umount)
+#endif
--- a/syscalls.s/umount2.S 4 Jan 2003 22:21:48 -0000 1.2
+++ b/syscalls.s/umount2.S 10 Dec 2008 20:21:33 -0000
@@ -1,5 +1,7 @@
#include "syscalls.h"
-#ifdef __NR_umount2
+#if defined(__NR_umount2)
syscall(umount2,umount2)
+#elif defined(__NR_oldumount) && defined(__NR_umount)
+syscall(umount,umount2)
#endif
--- End Message ---
--- Begin Message ---
Source: dietlibc
Source-Version: 0.31-1.1
We believe that the bug you reported is fixed in the latest version of
dietlibc, which is due to be installed in the Debian FTP archive:
dietlibc-dev_0.31-1.1_i386.deb
to pool/main/d/dietlibc/dietlibc-dev_0.31-1.1_i386.deb
dietlibc-doc_0.31-1.1_all.deb
to pool/main/d/dietlibc/dietlibc-doc_0.31-1.1_all.deb
dietlibc_0.31-1.1.diff.gz
to pool/main/d/dietlibc/dietlibc_0.31-1.1.diff.gz
dietlibc_0.31-1.1.dsc
to pool/main/d/dietlibc/dietlibc_0.31-1.1.dsc
dietlibc_0.31-1.1_i386.deb
to pool/main/d/dietlibc/dietlibc_0.31-1.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 508...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Micah Anderson <mi...@debian.org> (supplier of updated dietlibc 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.8
Date: Thu, 11 Dec 2008 11:28:17 -0500
Source: dietlibc
Binary: dietlibc-dev dietlibc dietlibc-doc
Architecture: source all i386
Version: 0.31-1.1
Distribution: unstable
Urgency: high
Maintainer: Gerrit Pape <p...@smarden.org>
Changed-By: Micah Anderson <mi...@debian.org>
Description:
dietlibc - diet libc shared libraries - a libc optimized for small size
dietlibc-dev - diet libc - a libc optimized for small size
dietlibc-doc - diet libc documentation - a libc optimized for small size
Closes: 508397
Changes:
dietlibc (0.31-1.1) unstable; urgency=high
.
* Non-maintainer upload.
* debian/diff/0011-undefined-symbol-umount2-alpha-ia64.diff:
new; util-vserver: fails to compile on alpha and ia64 due to
unresolved umount2 symbols, thanks to Daniel Hokka Zakrisson and
Herbert Poetzel, closes: #508397)
Checksums-Sha1:
fb498b7cd4322d92ccc83dfdcc29e1fb5c153248 948 dietlibc_0.31-1.1.dsc
6f9804cc5e8c10c03e1db44d17c22c9f905d77c1 16474 dietlibc_0.31-1.1.diff.gz
0fa72826e079eee4eb06e94c567c6d31a13c0389 51180 dietlibc-doc_0.31-1.1_all.deb
dc75c572ec76e55d5c9ff90ed8b7ae97f194c6ff 417874 dietlibc-dev_0.31-1.1_i386.deb
83078fdd2a9556728b7058588186e90bb632f51c 160332 dietlibc_0.31-1.1_i386.deb
Checksums-Sha256:
a6c36c6bab81c54fd0669a8af387ab6a04584214c3f0fb47da24d0cc6c3b4f2f 948
dietlibc_0.31-1.1.dsc
3113c6835e06819b392c321281f5af57ec9b937c6cb9f6969dacff6e7ff90725 16474
dietlibc_0.31-1.1.diff.gz
5aedca94ddf14cbf51079b5bf6492182a182b38704436403832edbbbb13e70cf 51180
dietlibc-doc_0.31-1.1_all.deb
a32f9d475c85bf25857a1e78f6b0656310173b4acebaf723fe832db58dceef8a 417874
dietlibc-dev_0.31-1.1_i386.deb
fb0bd83cf8a20c1ebbb1f7bcb59bc63bb5d3d1ac639be0c789f81fa73ad2e528 160332
dietlibc_0.31-1.1_i386.deb
Files:
dec04290b33eba4e1a6f427f95359bf7 948 devel optional dietlibc_0.31-1.1.dsc
dac353f34cc7ff177dcfdbfde2186d1e 16474 devel optional dietlibc_0.31-1.1.diff.gz
9d752f05cedc42e09e0a83b6db955152 51180 doc optional
dietlibc-doc_0.31-1.1_all.deb
692a49710b8b9547620b3b2ab04f6b37 417874 libdevel optional
dietlibc-dev_0.31-1.1_i386.deb
f1ae39cc0b0123151195a26a530c4996 160332 libs optional
dietlibc_0.31-1.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklBQNIACgkQ9n4qXRzy1ip2mQCfTTtWjDE14LNNLsfoD9an605o
JmEAnRYobHp+DiwvUvqJi6LeS0YyTuXZ
=RWVg
-----END PGP SIGNATURE-----
--- End Message ---