Your message dated Sat, 03 Jan 2009 18:02:05 +0000
with message-id <e1ljap3-0001on...@ries.debian.org>
and subject line Bug#508397: fixed in dietlibc 0.31-1.2
has caused the Debian Bug report #508397,
regarding dietlibc: umount2 still undefined on ia64, and umount is wrong
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.2

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.2_i386.deb
  to pool/main/d/dietlibc/dietlibc-dev_0.31-1.2_i386.deb
dietlibc-doc_0.31-1.2_all.deb
  to pool/main/d/dietlibc/dietlibc-doc_0.31-1.2_all.deb
dietlibc_0.31-1.2.diff.gz
  to pool/main/d/dietlibc/dietlibc_0.31-1.2.diff.gz
dietlibc_0.31-1.2.dsc
  to pool/main/d/dietlibc/dietlibc_0.31-1.2.dsc
dietlibc_0.31-1.2_i386.deb
  to pool/main/d/dietlibc/dietlibc_0.31-1.2_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.
Simon McVittie <s...@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: Sat, 03 Jan 2009 17:11:00 +0000
Source: dietlibc
Binary: dietlibc-dev dietlibc dietlibc-doc
Architecture: source all i386
Version: 0.31-1.2
Distribution: unstable
Urgency: medium
Maintainer: Gerrit Pape <p...@smarden.org>
Changed-By: Simon McVittie <s...@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.2) unstable; urgency=medium
 .
   * Non-maintainer upload from the Cambridge BSP.
   * debian/diff/0011-undefined-symbol-umount2-alpha-ia64.diff: treat
     __NR_umount as the 2-argument version on ia64 (really closes: #508397)
   * debian/diff/0012-Add-an-implementation-of-umount-3-for-ia64.diff:
     supply a 1-argument version of umount on ia64
   * Verified to pass MNT_DETACH to the kernel in the expected way on ia64
   * Verified with strace to do the same thing as glibc on architectures
     representing the other three families mentioned in 0011-*.diff
     (i386, x86_64 and alpha)
Checksums-Sha1: 
 6ef04dc4dfba0b1bfece590599dcd0499824a92c 906 dietlibc_0.31-1.2.dsc
 834571ce04692f2eeba87e40fb38c509cdee1db4 17622 dietlibc_0.31-1.2.diff.gz
 19310f460678021a155ce51ac61fd9d3f4d12420 52654 dietlibc-doc_0.31-1.2_all.deb
 c05cd1ad642d56c4b184c2e2f142b2a0de2fe1d8 418102 dietlibc-dev_0.31-1.2_i386.deb
 1422126ba263409a5e8b3bae3fe49090fecee44c 160910 dietlibc_0.31-1.2_i386.deb
Checksums-Sha256: 
 7eff0783e37a2bd0acd04cb115110c7b36763d1645540daf8f0091dab2508851 906 
dietlibc_0.31-1.2.dsc
 1693da551ca715ea87c47d0dc06af36fc1b77d46bfd518b16a5c464ac5f88479 17622 
dietlibc_0.31-1.2.diff.gz
 744f0eeb90d7495c321f2a6a7cfc754e15f58fe261e1867d490abf73fa7ed289 52654 
dietlibc-doc_0.31-1.2_all.deb
 3b05a37a7fd1960b98b0789bc49505fcabc76350d8dce679a7aea5529e6b6eba 418102 
dietlibc-dev_0.31-1.2_i386.deb
 a4863581cbd3067da38d25cc24fb585761f581c2a62db352a98226e88df9b912 160910 
dietlibc_0.31-1.2_i386.deb
Files: 
 e774e55df7c1c14efb8c978d69e6e621 906 devel optional dietlibc_0.31-1.2.dsc
 542de2bcaad0e10d2de4922f22a72a7d 17622 devel optional dietlibc_0.31-1.2.diff.gz
 955d77c0f14eeaa0826e7eb2c5436d40 52654 doc optional 
dietlibc-doc_0.31-1.2_all.deb
 e14abff329474525f31da20f54a0779a 418102 libdevel optional 
dietlibc-dev_0.31-1.2_i386.deb
 1a7758b98873786c9961d6b1252a2b3f 160910 libs optional 
dietlibc_0.31-1.2_i386.deb

-----BEGIN PGP SIGNATURE-----

iD8DBQFJX6TiWSc8zVUw7HYRAqi4AKCuJ42Pv7N4xk/hcvzfNOQMBeYgeACaAvv/
b05wzml/PlCvST8f4uAG3a4=
=So4U
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to