Discussion:
Bug#979817: lld: missing Breaks+Replaces: llvm (= 1:11.0-51+nmu1)
Add Reply
Andreas Beckmann
2021-01-11 14:00:02 UTC
Reply
Permalink
Package: lld
Version: 1:11.0-51+nmu2
Severity: serious
User: debian-***@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

From the attached log (scroll to the bottom...):

Preparing to unpack .../lld_1%3a11.0-51+nmu2_amd64.deb ...
Unpacking lld (1:11.0-51+nmu2) ...
dpkg: error processing archive /var/cache/apt/archives/lld_1%3a11.0-51+nmu2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/wasm-ld', which is also in package llvm 1:11.0-51+nmu1
Errors were encountered while processing:
/var/cache/apt/archives/lld_1%3a11.0-51+nmu2_amd64.deb

The existing

Replaces: llvm (= 0.51+nmu1)
Breaks: llvm (= 0.51+nmu1)

are versioned after the source version, not the binary version of the llvm binary package.


cheers,

Andreas
Debian Bug Tracking System
2021-01-11 15:20:01 UTC
Reply
Permalink
tags 979817 + patch
Bug #979817 [lld] lld: missing Breaks+Replaces: llvm (= 1:11.0-51+nmu1)
Added tag(s) patch.
tags 979817 + pending
Bug #979817 [lld] lld: missing Breaks+Replaces: llvm (= 1:11.0-51+nmu1)
Added tag(s) pending.
--
979817: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979817
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2021-01-13 15:40:01 UTC
Reply
Permalink
Your message dated Wed, 13 Jan 2021 15:34:43 +0000
with message-id <E1kziAV-0006IW-***@fasolo.debian.org>
and subject line Bug#979817: fixed in llvm-defaults 0.51+nmu3
has caused the Debian Bug report #979817,
regarding lld: missing Breaks+Replaces: llvm (= 1:11.0-51+nmu1)
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 ***@bugs.debian.org
immediately.)
--
979817: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979817
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2021-01-14 15:20:02 UTC
Reply
Permalink
found -1 0.51+nmu3
Bug #979817 {Done: Jonas Smedegaard <***@jones.dk>} [lld] lld: missing Breaks+Replaces: llvm (= 1:11.0-51+nmu1)
There is no source info for the package 'lld' at version '0.51+nmu3' with architecture ''
Unable to make a source version for version '0.51+nmu3'
Marked as found in versions 0.51+nmu3; no longer marked as fixed in versions llvm-defaults/0.51+nmu3 and reopened.
--
979817: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979817
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Jonas Smedegaard
2021-01-14 15:50:01 UTC
Reply
Permalink
Control: tags 979817 + pending


Dear maintainer,

I've prepared an NMU for llvm-defaults (versioned as 0.51+nmu4) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru llvm-defaults-0.51+nmu3/debian/changelog llvm-defaults-0.51+nmu4/debian/changelog
--- llvm-defaults-0.51+nmu3/debian/changelog 2021-01-11 15:49:22.000000000 +0100
+++ llvm-defaults-0.51+nmu4/debian/changelog 2021-01-14 16:39:00.000000000 +0100
@@ -1,3 +1,12 @@
+llvm-defaults (0.51+nmu4) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ * really fix relax breaks+replaces;
+ closes: bug#979817, thanks (again) to Andreas Beckmann
+
+ -- Jonas Smedegaard <***@jones.dk> Thu, 14 Jan 2021 16:39:00 +0100
+
llvm-defaults (0.51+nmu3) unstable; urgency=medium

* Non-maintainer upload.
diff -Nru llvm-defaults-0.51+nmu3/debian/control llvm-defaults-0.51+nmu4/debian/control
--- llvm-defaults-0.51+nmu3/debian/control 2021-01-11 15:48:18.000000000 +0100
+++ llvm-defaults-0.51+nmu4/debian/control 2021-01-14 16:37:30.000000000 +0100
@@ -214,8 +214,8 @@
Pre-Depends: ${misc:Pre-Depends}
# TODO: drop when 0.51+nmu1 with broken symlink is in no Debian suite
# (see release 0.51+nmu2)
-Replaces: llvm (<< 0.51+nmu2)
-Breaks: llvm (<< 0.51+nmu2)
+Replaces: llvm (<< 1:11.0-51+nmu2)
+Breaks: llvm (<< 1:11.0-51+nmu2)
Description: LLVM-based linker
LLD is a new, high-performance linker. It is built as a set of reusable
components which highly leverage existing libraries in the larger LLVM
Debian Bug Tracking System
2021-01-14 15:50:01 UTC
Reply
Permalink
tags 979817 + pending
Bug #979817 [lld] lld: missing Breaks+Replaces: llvm (= 1:11.0-51+nmu1)
Added tag(s) pending.
--
979817: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979817
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...