[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#414124: linux-ntfs is not binNMU safe (was: Upload of fuse to t-p-u, binNMUs required)



Package: linux-ntfs
Version: 1.13.1-6
Severity: important
Tags: patch

Dear David, dear release managers,

[question to the RMs at the end]

a library which linux-ntfs build-depends no (fuse) has been uploaded to
testing-proposed-updates, and linux-ntfs needs to be rebuilt against
this library.  Unfortunately, this cannot be done with a binNMU, because
the package is not bin-NMU safe.

Since this affects etch, it would be cool if you could answer soon and
at least state whether you will be able to work on that (or rather have
someone NMU it, or so).

Steve Langasek <vorlon@debian.org> wrote:

> BinNMUs scheduled (and dep-wait'ed) for all packages, with the exception of
> linux-ntfs for the reasons mentioned below.
>
>> 2. linux-ntfs
>
>>    builds lots of binary packages, but there is only one with
>>    interdependencies:
>
>> Package: libntfs9
>> Section: libs
>> Architecture: any
>> Depends: ${shlibs:Depends}
>> ...
>> Package: libntfs-dev
>> Section: libdevel
>> Architecture: any
>> Depends: libntfs9 (= ${Source-Version})

If linux-ntfs were bin-NMU'ed, libntfs9 and libntfs-dev would be present
with version 1.13.1-6.0.1, but libntfs-dev would depend on libntfs9 ( =
1.13.1-6).  The changes to make it binNMU safe are described on
http://wiki.debian.org/binNMU. 

This would mean to use the following patch

diff -Nur linux-ntfs-1.13.1.old/debian/changelog linux-ntfs-1.13.1/debian/changelog
--- linux-ntfs-1.13.1.old/debian/changelog	2007-03-09 11:15:59.000000000 +0100
+++ linux-ntfs-1.13.1/debian/changelog	2007-03-09 11:18:35.000000000 +0100
@@ -1,3 +1,10 @@
+linux-ntfs (1.13.1-7) unstable; urgency=high
+
+  * Make the package binNMU safe: use ${binary:Version} instead of
+    ${Source-Version} for the dependency of libntfs-dev on libntfs9
+
+ -- Frank KÃŒster <frank@debian.org>  Fri,  9 Mar 2007 11:18:09 +0100
+
 linux-ntfs (1.13.1-6) unstable; urgency=low
 
   * Upload to unstable.  Please test by resizing Vista (more information in
diff -Nur linux-ntfs-1.13.1.old/debian/control linux-ntfs-1.13.1/debian/control
--- linux-ntfs-1.13.1.old/debian/control	2007-03-09 11:15:59.000000000 +0100
+++ linux-ntfs-1.13.1/debian/control	2007-03-09 11:17:15.000000000 +0100
@@ -2,7 +2,7 @@
 Section: otherosfs
 Priority: optional
 Maintainer: David Martínez Moreno <ender@debian.org>
-Build-Depends: debhelper (>> 4.2), libgnutls-dev (>> 1.4.0), libgnomevfs2-dev, libfuse-dev
+Build-Depends: debhelper (>> 4.2), libgnutls-dev (>> 1.4.0), libgnomevfs2-dev, libfuse-dev, dpkg-dev (>= 1.13.19)
 Standards-Version: 3.7.2.0
 
 Package: ntfsprogs
@@ -87,7 +87,7 @@
 Package: libntfs-dev
 Section: libdevel
 Architecture: any
-Depends: libntfs9 (= ${Source-Version})
+Depends: libntfs9 (= ${binary:Version})
 Description: library that provides common NTFS access functions (development files)
  The Linux-NTFS project (http://www.linux-ntfs.org/) aims to bring full
  support for the NTFS filesystem to the Linux operating system.


(with appropriate tweaks to the changelog).

> The udeb isn't an /immediate/ problem, that I can see.  We could even get
> away with having just the one package left in etch with wrong deps, if it
> came to that.  If you want this fixed, though, please coordinate with the
> maintainer to get uploads to both unstable and testing-proposed-updates
> fixing the ${Source-Version} dependency.  Integration into etch will still
> be subject to Frans's approval.

The upload to t-p-u is necessary because fuse in sid has a new upstream
version, and a package compiled against this version cannot propagate to
etch.  vorlon suggested version numbers 1.13.1-7 for unstable and
1.13.1-6+etch1 for testing-proposed-updates.  I think -7 must be
uploaded first.


Regards, Frank

-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: