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

Bug#981835: libelf1 violates Multi-Arch: same / unreproducible



Package: libelf1
Version: 0.182-3
Severity: important
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:iproute2

libelf1 is presently marked Multi-Arch: same, but coinstallation on e.g.
amd64 + mipsel fails with a file conflict:

| Unpacking libelf1:mipsel (0.182+20210203-1) ...
| dpkg: error processing archive /tmp/apt-dpkg-install-rORIn3/121-libelf1_0.182+20210203-1_mipsel.deb (--unpack):
|  trying to overwrite shared '/usr/share/locale/en@boldquot/LC_MESSAGES/elfutils.mo', which is different from other instances of package libelf1:mipsel
| dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

At its core, this is a reproducible issue that can be easily solved by
calling dh_strip_nondeterminism. Please fix this issue soon as the
impact is high:
 * breaks rebootstrap
 * breaks cross building e.g. iproute2
 * elfutils is not reproducible

I'm hereby offering a NMU in case you're busy.

Helmut
diff --minimal -Nru elfutils-0.182/debian/changelog elfutils-0.182/debian/changelog
--- elfutils-0.182/debian/changelog	2021-01-06 14:05:13.000000000 +0100
+++ elfutils-0.182/debian/changelog	2021-02-04 13:05:58.000000000 +0100
@@ -1,3 +1,10 @@
+elfutils (0.182-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Make the build reproducible. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 04 Feb 2021 13:05:58 +0100
+
 elfutils (0.182-3) unstable; urgency=medium
 
   * Build with -flto-partition=none when building with -flto.
diff --minimal -Nru elfutils-0.182/debian/rules elfutils-0.182/debian/rules
--- elfutils-0.182/debian/rules	2021-01-04 11:28:41.000000000 +0100
+++ elfutils-0.182/debian/rules	2021-02-04 13:05:57.000000000 +0100
@@ -125,6 +125,7 @@
 
 	dh_dwz
 	dh_strip
+	dh_strip_nondeterminism
 	dh_compress
 	dh_fixperms
 	dpkg-gensymbols -Pdebian/libdw1/ -plibdw1 -c4

Reply to: