Your message dated Sun, 27 Oct 2024 07:33:55 +0000
with message-id <[email protected]>
and subject line Bug#1085219: fixed in sbuild 0.86.3
has caused the Debian Bug report #1085219,
regarding sbuild: failed to create symlink /dev/fd at
/usr/libexec/sbuild-usernsexec line 384.
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.)
--
1085219: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085219
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sbuild
Version: 0.86.2
Dear maintainers:
When I try to build (using the unshare backend) a package
which may not be built because their build-dependencies may
not be installed, quite often, but not always, I get a
message like this:
Install dose3 build dependencies (apt-based resolver)
-----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dose-distcheck
The following NEW packages will be installed:
dose-distcheck sbuild-build-depends-dose3-dummy
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1207 kB of archives.
After this operation, 4930 kB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-dose3-dummy
0.invalid.0 [848 B]
Get:2 http://deb.debian.org/debian trixie/main amd64 dose-distcheck amd64
7.0.0-5+b5 [1207 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1207 kB in 0s (83.2 MB/s)
Selecting previously unselected package dose-distcheck.
(Reading database ... 11796 files and directories currently installed.)
Preparing to unpack .../dose-distcheck_7.0.0-5+b5_amd64.deb ...
Unpacking dose-distcheck (7.0.0-5+b5) ...
Selecting previously unselected package sbuild-build-depends-dose3-dummy.
Preparing to unpack .../sbuild-build-depends-dose3-dummy_0.invalid.0_amd64.deb
...
Unpacking sbuild-build-depends-dose3-dummy (0.invalid.0) ...
Setting up dose-distcheck (7.0.0-5+b5) ...
Setting up sbuild-build-depends-dose3-dummy (0.invalid.0) ...
failed to create symlink /dev/fd at /usr/libexec/sbuild-usernsexec line 384.
E: ABORT: Received PIPE signal (requesting cleanup and shutdown)
E: apt-helper failed
E: Failed to explain bd-uninstallable
Sorry not to be more specific, as the failure happens randomly. I asked Jochen
and he suggested that I should report this here.
Line 384 in context:
369 for my $link (
370 ["/dev/fd", "/proc/self/fd"],
371 ["/dev/stdin", "/proc/self/fd/0"],
372 ["/dev/stdout", "/proc/self/fd/1"],
373 ["/dev/stderr", "/proc/self/fd/2"],
374 ["/dev/ptmx", "/dev/pts/ptmx"],
375 ["/dev/ptmx", "/dev/pts/ptmx"]
376 ) {
377 my ($link, $target) = @{$link};
378 if (-l "$rootdir/$link") {
379 unlink "$rootdir/$link" or die "cannot unlink $link";
380 }
381 if (-e "$rootdir/$link") {
382 unlink "$rootdir/$link" or die "cannot unlink $link";
383 }
384 symlink $target, "$rootdir/$link"
385 or die "failed to create symlink $link";
386 }
What could be a good reason for the symlink in line 384 to fail?
Funny detail: Some of my autobuilders have 1 CPU and others have 2 CPUs.
As of today, I only have messages like the above from machines
with 2 CPUs. Maybe it's a coincidence, or maybe not.
I'm attaching a full build log as a sample.
Thanks.
osmo-bts_1.7.2+dfsg1-2_amd64-20241015T103926.265Z.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: sbuild
Source-Version: 0.86.3
Done: Jochen Sprickerhof <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sbuild, 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.
Jochen Sprickerhof <[email protected]> (supplier of updated sbuild 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: SHA512
Format: 1.8
Date: Sun, 27 Oct 2024 08:12:10 +0100
Source: sbuild
Architecture: source
Version: 0.86.3
Distribution: unstable
Urgency: medium
Maintainer: sbuild maintainers <[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Closes: 1012856 1073295 1085219
Changes:
sbuild (0.86.3) unstable; urgency=medium
.
[ Johannes Schauer Marin Rodrigues ]
* bin/sbuild-usernsexec: add interesting package sets for the unshare backend
* bin/sbuild-usernsexec: do not die if symlink creation fails but warn with
the possible reason for failure
(Closes: #1085219)
.
[ Chris Hofstaedtler ]
* Drop sbuild-debuild code
.
[ Johannes Schauer Marin Rodrigues ]
* If run in unshare mode and if unset in ~/.sbuildrc, run piuparts and
autopkgtest in unshare mode as well, re-using the sbuild tarball
* unify ROOT_ARGS handling of autopkgtest and piuparts
* lib/Sbuild/Build.pm: remove use of apt's Debug::BuildDeps=1 which was last
used in jessie and no longer exists in apt since stretch
.
[ Benjamin Drung ]
* debian/tests/unshare-qemuwrapper: Test absolute paths in %SBUILD_DSC
* debian/tests/unshare: Test fix building symlinks not ending on .dsc
(Closes: #1012856)
.
[ Jochen Sprickerhof ]
* Don't show "Keeping session:" in unshare mode (Closes: #1073295)
* Update sbuild wiki link
Checksums-Sha1:
235b6f2da2d5e2b9dfd8e251f7200e528f148961 2561 sbuild_0.86.3.dsc
e14b10933642d33b3c7434c485bd7cc0d0554a0e 243488 sbuild_0.86.3.tar.xz
Checksums-Sha256:
054f5fff638612b76302a5f2e06ac206768d9cc8080a3ad0b23202b51524d5e9 2561
sbuild_0.86.3.dsc
41667cb5e4a2104db195c4a784120f35599cd813dba737d69f4031e22cb7d3e4 243488
sbuild_0.86.3.tar.xz
Files:
17d6aa4d9b1847cda8e3f1241001018e 2561 devel optional sbuild_0.86.3.dsc
ed0d14475d8292231cb30c6660dcba06 243488 devel optional sbuild_0.86.3.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmcd6vwACgkQW//cwljm
lDN2AxAAmQwuoTIZ/1743+ElqjjI4bwz3/+G0g0kODDigTuZ7focq4xDB8hikDKB
vN464wdzg1oARTLN6w9Bsay14vOuPR6rfCjnEKPhf3ySGwIiRjsihO33QYUyLYVz
aU/7htRTFWvLf4LC4cSfAmUGd4Z9HKc1Lz0gwbpUIdK9hdl9zWsx/IfEIAg+fa8Z
V7k0prP3x3CH65JpXe8LKf8ho2E9jXzuV278fMR/6FyB8D/6gR/UCz0nABZHUr6r
9GaFIXVTn0S3H0tilRY+OPtXCqeIgWK1/vahSllkVQE7uzWml/byapxxd8Xb6c6a
bMRJ3ZMsgR2NLla6Kw8zCLa2qKMv0M8guHKhA02uo1M3Re/9V9r3lUSv9sVl3eaE
zRSF1JIZsusXVtMioPoK7D3GRWgngDW3w7PklYlbE7tEpY/475hiEM+xHrvXy6g2
XzWGW1ZSrU3TsRIWAT9bvdqol51v87ojF9MftiiXFipkw4Dt/0W++Pv1eP2Ulc/l
MN5eQSrtx2GokeOOQiqqe0hhcyHf3VUdYbQZXW0Krp2XBw3h7csAm78AWL+jqJxd
HGv/CsjyRZPYHPjlchuPdl5c+eUhgvM/KDgwEcpQYWxBP5YKEVB1pJ9I7hWTKjT4
WTmMJfnUJly2NdBq4NDBoD7vDhswk7b15zwcawRMnzVFdOeF6jA=
=wmQ7
-----END PGP SIGNATURE-----
pgpla6rB6_fz_.pgp
Description: PGP signature
--- End Message ---