[pkg-cryptsetup-devel] Bug#1026838: cryptsetup: Can't compile it twice with unrepresentable changes to source errors
Russell Coker
russell at coker.com.au
Thu Dec 22 01:56:10 GMT 2022
Package: cryptsetup
Version: 2:2.6.0-2
Severity: normal
Tags: ftbfs patch
I run dpkg-buildpackage twice and I get the following errors:
dpkg-source: error: cannot represent change to po/sr.gmo: binary file contents changed
dpkg-source: error: add po/sr.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to po/sv.gmo: binary file contents changed
dpkg-source: error: add po/sv.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to po/uk.gmo: binary file contents changed
dpkg-source: error: add po/uk.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to po/vi.gmo: binary file contents changed
dpkg-source: error: add po/vi.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to po/zh_CN.gmo: binary file contents changed
dpkg-source: error: add po/zh_CN.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
The following patch allows it to build twice.
--- cryptsetup-2.6.0.bak/debian/rules 2022-11-30 01:42:25.000000000 +1100
+++ cryptsetup-2.6.0/debian/rules 2022-12-22 12:47:59.960788266 +1100
@@ -80,6 +80,8 @@
if [ -f $(CURDIR)/debian/cryptsetup-initramfs.preinst.in ]; then \
mv -fT $(CURDIR)/debian/cryptsetup-initramfs.preinst.in $(CURDIR)/debian/cryptsetup-initramfs.preinst; \
fi
+ rm -f po/*.gmo po/stamp-po
+ rm -f man/*.8
override_dh_bugfiles:
dh_bugfiles -A
-- Package-specific info:
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (800, 'testing'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
Versions of packages cryptsetup depends on:
ii cryptsetup-bin 2:2.6.0-2
ii debconf [debconf-2.0] 1.5.80
ii dmsetup 2:1.02.185-2
ii libc6 2.36-6
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii cryptsetup-initramfs 2:2.6.0-2
ii dosfstools 4.2-1
ii keyutils 1.6.3-1
ii liblocale-gettext-perl 1.07-5
-- debconf information excluded
More information about the pkg-cryptsetup-devel
mailing list