Bug#1111620: src:pcbasic fails to build on reproduce.debian.net due to using screen

Jochen Sprickerhof jspricke at debian.org
Wed Aug 20 08:54:11 BST 2025


Source: pcbasic
Version: 2.0.7-7
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment

Hi,

your package currently fails to build on reproduce.debian.net:

https://reproduce.debian.net/all/#python3-pcbasic

log:

mkdir -p /build/reproducible-path/pcbasic-2.0.7/tests/unit/output/single
XDG_RUNTIME_DIR=`mktemp -d` screen -D -m -L -Logfile dh_auto_test.log /build/reproducible-path/pcbasic-2.0.7/debian/dh_auto_test_wrapper -- --test-args="/build/reproducible-path/pcbasic-2.0.7"
Cannot make directory '/run/screen': Permission denied

The problem is that screen creates /run/screen in the postinst and via
systemd tmpfiles.d (see #929418). /run is cleared due to debootsnap and
debrebuild as used by reproduce.debian.net work and systemd tmpfiles.d
is not run as there is no systemd run during the build. This basically
means that screen is not usable out of the box in minimal environments.
Note that the package builds fine on the buildds as screen is installed
during the build but this not guaranteed. It looks like screen is only
used as a wrapper here used for debugging. Could you maybe drop the
dependency?

Thanks!

Jochen



More information about the Reproducible-bugs mailing list