Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1287060

Bug#1131707: raysession: FTBFS: mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Black Gold/': No such file or directory

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1131707: raysession: FTBFS: mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Black Gold/': No such file or directory
Date 2026-03-23 14:40 +0100
Message-ID <MBNFE-9HCb-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: src:raysession
Version: 0.17.4-1
Severity: serious
Tags: ftbfs forky sid patch

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log, which in this case
is also the most relevant part. If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202603/


Note: This happens because the Makefile installs themes in this location:

/usr/share/raysession/HoustonPatchbay/themes/*

but then debian/rules tries to "mv" the themes, acting as if they were
installed here instead:

/usr/share/raysession/HoustonPatchbay/*

which may or may not be the case depending on luck.

In this build log:

https://buildd.debian.org/status/fetch.php?pkg=raysession&arch=all&ver=0.17.4-1&stamp=1773956261&raw=0

you will see this:

rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/ray-daemon
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/ray-proxy
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/applications/
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/ray-jack_checker_daemon
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/icons/hicolor/scalable/apps/
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/ray-jack_config_script
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/ray-pulse2jack
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/raysession/
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/ray_control
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/raysession/locale/
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/bin/ray_git
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/applications/raysession.desktop
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/raysession//
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/icons/hicolor/*/apps/raysession.png
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/raysession/HoustonPatchbay/locale/
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/icons/hicolor/scalable/apps/raysession.svg
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/etc/xdg/raysession/client_templates/
rm -rf /build/reproducible-path/raysession-0.17.4/debian/raysession/etc/xdg/raysession/client_templates/40_ray_nsm
install -d /build/reproducible-path/raysession-0.17.4/debian/raysession/usr/share/bash-completion/completions/
rm -rf /build/reproducible-path/raysession-0.17.4/debian/raysession/etc/xdg/raysession/client_templates/60_ray_lash
rm -f /build/reproducible-path/raysession-0.17.4/debian/raysession/etc/bash_completion.d/ray_completion.sh


Those are targets "uninstall" and "pure_install" running at the same time because
the Makefile has a built-in race condition here:

install: uninstall pure_install

When building the package in parallel, the behavior of that is undefined.

In the buildds, the themes ended up being at /usr/share/raysession/HoustonPatchbay/*
by pure chance, and debian/rules is currently relying on such undefined behaviour
to work.

Upstream has just accepted a Pull Request I sent to fix the race condition,
and the attached patch should fix the problem for everybody (after the race
condition is fixed, debian/rules does not need to "mv" anything).

(Please replace XXXXXX in Bug-Debian field by the actual bug number, which
is unknown as I write this).

Thanks.

--------------------------------------------------------------------------------
[...]
# Install Translations
mkdir -p /<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/locale/ /<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/locale
install -m 644 locale/*.ts /<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/locale/
install -m 644 HoustonPatchbay/locale/*.ts /<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/locale
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -fr /<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/themes/'Yellow Boards'
mv /<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Black Gold'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Dark Boards'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Dark Purples'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Gray Sand'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Light Blue Rose'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Modern Dark'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Portholes Dark'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Silver Gold'/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/War/ \
	/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/'Yellow Boards'/ /<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/themes/
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Black Gold/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Dark Boards/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Dark Purples/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Gray Sand/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Light Blue Rose/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Modern Dark/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Portholes Dark/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Silver Gold/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/War/': No such file or directory
mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Yellow Boards/': No such file or directory
make[1]: *** [debian/rules:21: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1131707: raysession: FTBFS: mv: cannot stat '/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Black Gold/': No such file or directory Santiago Vila <sanvila@debian.org> - 2026-03-23 14:40 +0100

csiph-web