Your message dated Sun, 25 Dec 2022 16:34:50 +0000
with message-id <[email protected]>
and subject line Bug#1025378: fixed in dracut 059-1
has caused the Debian Bug report #1025378,
regarding dracut FTBFS
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 [email protected]
immediately.)
--
1025378: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025378
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dracut
Version: 057+157-4
Tags: hppa, patch, ftbfs
I wondered why dracut failed to build on hppa. You can
see the various log builds here:
https://buildd.debian.org/status/logs.php?pkg=dracut&arch=hppa
Interestingly, dracut builds sucessfully on the build servers
atlas, panama, sap and physik, which all are physical machines.
pacific, pasta and paq are VMs running qemu-user (on x86 machines),
which all failed.
On the failing servers the log file shows:
...
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- --systemdsystemunitdir=/lib/systemd/system
--libdir=/usr/lib
./configure --build=hppa-linux-gnu --prefix=/usr
--includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=\${prefix}/lib/hppa-linux-gnu --runstatedir=/run
--disable-maintainer-mode --disable-dependency-tracking
--systemdsystemunitdir=/lib/systemd/system --libdir=/usr/lib
Ignoring unknown option '--build=hppa-linux-gnu'
Ignoring unknown option '--disable-option-checking'
Ignoring unknown option '--disable-silent-rules'
Ignoring unknown option '--runstatedir=/run'
Ignoring unknown option '--disable-maintainer-mode'
Ignoring unknown option '--disable-dependency-tracking'
debian/fix-revdate
make[1]: *** [debian/rules:12: override_dh_auto_configure] Error 127
The interesting part is the file "debian/fix-revdate".
This file is basically an ASCII file, although it contains shell script
commands. Note that it's missing the "#!/bin/bash" or "!/bin/sh" header!
So, when make calls "debian/fix-revdate" you can see with strace (on amd64 !):
[pid 17219] getuid() = 1000
[pid 17219] setresuid(-1, 1000, -1) = 0
[pid 17219] getgid() = 1000
[pid 17219] setresgid(-1, 1000, -1) = 0
[pid 17219] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 17219] execve("debian/fix-revdate", ["debian/fix-revdate"], 0x5620f68be870
/* 102 vars */) = -1 ENOEXEC (Exec format error)
[pid 17219] exit_group(127) = ?
[pid 17188] <... clone resumed>) = 17219
As you can see, even on amd64 it reports back errorcode 127 (like on hppa).
Nevertheless, on amd64 the build continues while it stops on hppa.
I don't know (yet) why this happens, but this bug report here is about the
fact that you try to run "debian/fix-revdate" without it being an executable....
There are two ways to fix it,
a) either add "!/bin/bash" to the top of the generated file debian/fix-revdate,
or
b) add $(SHELL) in front of calling debian/fix-revdate in the rules file, like
this:
diff -up ./debian/rules.org ./debian/rules
--- ./debian/rules.org 2022-12-03 12:28:19.235988795 +0000
+++ ./debian/rules 2022-12-03 12:28:38.104169319 +0000
@@ -9,7 +9,7 @@ DPKG_EXPORT_BUILDTOOLS=1
override_dh_auto_configure:
dh_auto_configure -- --systemdsystemunitdir=/lib/systemd/system
--libdir=/usr/lib
- debian/fix-revdate
+ $(SHELL) debian/fix-revdate
I suggest option b, which is to change the rules file....
Helge
--- End Message ---
--- Begin Message ---
Source: dracut
Source-Version: 059-1
Done: Thomas Lange <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dracut, which is due to be installed in the Debian FTP archive.
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Lange <[email protected]> (supplier of updated dracut 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 25 Dec 2022 17:09:02 +0100
Source: dracut
Architecture: source
Version: 059-1
Distribution: unstable
Urgency: low
Maintainer: Thomas Lange <[email protected]>
Changed-By: Thomas Lange <[email protected]>
Closes: 1016741 1025378 1025951 1025996
Changes:
dracut (059-1) unstable; urgency=low
.
* new upstream version
* control: new homepage, new standards version
* remove 10-debian.conf, build generic initrd by default
* rules: run script explicitly as shell, Closes: #1025378
* nm-path: fix more paths, Closes: #1016741
* patches/udevsettle: fix broken network in kvm in some cases
* remove dev-shm patch which is not needed, Closes: #1025996
* remove systemd-users patch, Closes: #1025951
Checksums-Sha1:
aa6587bc96658cf68546388b11bccc5468da7237 2290 dracut_059-1.dsc
f1c8a7a96e5140b54b3d2c77df7b8461f016bdb2 370168 dracut_059.orig.tar.xz
410faeb8adf65ff667deb132073ca45fb9719100 16000 dracut_059-1.debian.tar.xz
8fc5d74e9e7dbb4731bb04e2b29a84ab8f68cfab 8899 dracut_059-1_amd64.buildinfo
Checksums-Sha256:
a62d940d5325e6f5cc674be1db29b5adbba989ce05713edcd50573da8af602c3 2290
dracut_059-1.dsc
11c338ba8a71d07874753f1dba1c261f2f3cef9f2ba5d14dfc2c13f4047e266a 370168
dracut_059.orig.tar.xz
c1475d27917ba7f0091cc8f2288aa378a9490d5ba893f03d3e4b634e7c48f46e 16000
dracut_059-1.debian.tar.xz
899da4af202ab229aaac12cdfe314148809c837d559335ae020cf6c2c0b4099c 8899
dracut_059-1_amd64.buildinfo
Files:
618304d1460012647fc956adcc70bc2c 2290 utils optional dracut_059-1.dsc
8fb14ac6d9cf4d8e3d19f174df036fcf 370168 utils optional dracut_059.orig.tar.xz
e91d1a428357660744278a5490a2a060 16000 utils optional
dracut_059-1.debian.tar.xz
cf56b1dd6ea89beee67e8866a2ea576f 8899 utils optional
dracut_059-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAmOodlkRHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeRsFg/+IQ3hDzfvjEvLyaZGiTskgSWbZOrxqUL4
+vTfL3ieLhhi/5U0WN6p7S214yxQV8jkqDrC4Qm/ReJ9X7mZDNdwk+B2PAji0so+
G7jH8MKxrTyGWXo/9TgV+gt3LZZUeEestMce7n+FYp5TIPFDZHa6fnRzvR6cUCD4
EnzDovOcEQJJKP1xelN7cVvc8WKtxeE6zWywRIVfLrAdrpP90sr8eECTw55ZSD1k
c/NmrX1weudep2NyzbrPegWVVmx9Ya31soJqAeqpxnuDMELEHDn7Jjf/zxOq1PsP
taM2SUxij/iBz9556oddbVw6Sfvbkhrfyq1cEQ/0exEOVaLUkOLaBFelEXa8Ld4B
B4K3hYJjxZUuFBvKa0DIC5LDxmbLrfxXTEP8QPlt4L3QxE4N1NkcWQI4F6US7tD8
0iWhaKvwzPngWW337hBg8OU9/kliIsAD7U1Tw9G47AQC9I4cKLu/rY6bo9Hd6WtZ
h7UEDBwNWaD7rWqDVYgLznsjZNTH3Y6VxoizP9i5QgOoNGekfh5/21Wot9hPLguj
AwIp012RcaGELpg+3wFo16cM/0rabEW3+mp2LdJu/XEuLyNkFTp6l2SDtIJJnqLW
wXfDLQeMAGVqUlvxRg8sLcxn6tkEMTILRvBCnQKL+QEbCZnlIQUgHqpQKq2G6SL5
LaZqDYJt7SI=
=k3Cn
-----END PGP SIGNATURE-----
--- End Message ---