Your message dated Mon, 23 Mar 2026 15:05:12 +0000
with message-id <[email protected]>
and subject line Bug#1131707: fixed in raysession 0.17.4-2
has caused the Debian Bug report #1131707,
regarding raysession: FTBFS: mv: cannot stat 
'/<<PKGBUILDDIR>>/debian/raysession/usr/share/raysession/HoustonPatchbay/Black 
Gold/': No such file or directory
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.)


-- 
1131707: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131707
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------
diff --git a/debian/patches/fix-race-condition.patch 
b/debian/patches/fix-race-condition.patch
new file mode 100644
index 0000000..1e21d42
--- /dev/null
+++ b/debian/patches/fix-race-condition.patch
@@ -0,0 +1,31 @@
+From: Santiago Vila <[email protected]>
+Subject: Fix race condition in Makefile
+Bug-Debian: https://bugs.debian.org/XXXXXXX
+Origin: 
https://github.com/Houston4444/RaySession/commit/8478c6143d1880c40d7d27a9cc4be99d2948b8e0
+
+Drop "install" target and rename "pure_install" to just "install".
+
+The "install" target should not depend on both "uninstall" and
+"pure_install" targets, because they could be executed at the same
+time when parallel make is enabled, with undefined behavior.
+
+--- a/Makefile
++++ b/Makefile
+@@ -121,8 +121,6 @@
+ 
+ # -------------------------
+ 
+-install: uninstall pure_install
+-
+ uninstall:
+       rm -f $(DESTDIR)$(PREFIX)/bin/raysession
+       rm -f $(DESTDIR)$(PREFIX)/bin/ray-daemon
+@@ -142,7 +140,7 @@
+       rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/ray_control
+       rm -rf $(DEST_RAY)
+ 
+-pure_install:
++install:
+       # Create directories
+       install -d $(DESTDIR)$(PREFIX)/bin/
+       install -d $(DESTDIR)$(PREFIX)/share/applications/
diff --git a/debian/patches/series b/debian/patches/series
index 529c740..853214e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0002-do-not-compile.patch
 0003-fix-symlinks-and-use-system-fonts.patch
 0004-fix-locale-install.patch
+fix-race-condition.patch
diff --git a/debian/rules b/debian/rules
index f420584..a8b11f7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,13 +18,3 @@ execute_before_dh_link:
 override_dh_auto_install:
        dh_auto_install -- PREFIX=/usr
        rm -fr 
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/themes/'Yellow 
Boards'
-       mv 
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Black Gold'/ \
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Dark Boards'/ 
\
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Dark 
Purples'/ \
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Gray Sand'/ \
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Light Blue 
Rose'/ \
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Modern Dark'/ 
\
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Portholes 
Dark'/ \
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Silver Gold'/ 
\
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/War/ \
-               
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/'Yellow 
Boards'/ 
$(CURDIR)/debian/raysession/usr/share/raysession/HoustonPatchbay/themes/

--- End Message ---
--- Begin Message ---
Source: raysession
Source-Version: 0.17.4-2
Done: Dennis Braun <[email protected]>

We believe that the bug you reported is fixed in the latest version of
raysession, 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.
Dennis Braun <[email protected]> (supplier of updated raysession 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: Mon, 23 Mar 2026 15:15:39 +0100
Source: raysession
Architecture: source
Version: 0.17.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <[email protected]>
Changed-By: Dennis Braun <[email protected]>
Closes: 1131707
Changes:
 raysession (0.17.4-2) unstable; urgency=medium
 .
   * Fix theme installation via the Makefile (Closes: #1131707)
     Thanks to Santiago!
Checksums-Sha1:
 018ecc11fe49f0511f3efaf5dce4db93ca9b09d5 2153 raysession_0.17.4-2.dsc
 61826d5f8a383477ea416a78b30d6ca869b4f5df 5260 raysession_0.17.4-2.debian.tar.xz
 524bba96a87d18ab98cb3b8a4da460d6784fe152 5849 
raysession_0.17.4-2_source.buildinfo
Checksums-Sha256:
 916727df36959191a223ba3b323b6cc1afe253dcee689e8794f43b05969bc3d4 2153 
raysession_0.17.4-2.dsc
 11b4f4c355ad6c7cf7182dd99f4a4ba9ac6284995d298a88ff429c37d3a1c121 5260 
raysession_0.17.4-2.debian.tar.xz
 4a3a7967769c47dc30ad7bb7da49fba880cb2b8559829f6dec639184e91b38d4 5849 
raysession_0.17.4-2_source.buildinfo
Files:
 4f442b038ec7617bcb3b51503d0cea4c 2153 sound optional raysession_0.17.4-2.dsc
 4d9ffc3665b824c529c7c234b8575530 5260 sound optional 
raysession_0.17.4-2.debian.tar.xz
 c2abf3fab4652a96eea3fcb38af3af43 5849 sound optional 
raysession_0.17.4-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJpwVDFCRBjTqVdkCuYNkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmdRD50j43RdLOcCc7w6MzknuL2zkX2w4O8ZRwGQLa2D
GRYhBDy3wwKvtX5hqMYX3WNOpV2QK5g2AAAHIw/9ElC+xBX4LKeiAXHVjphZcjGE
/GaY5N12tht6m3uGM6OMGTxPOMo61VQP2vQcodkCKSw5eAVBDlkC1cVQqxI2YriM
AsHYvF8oq7+HZzns0YNOzQN7v5YkL3BFEWa+mo4l3bvIUCMqzYuIxKIfMwVLeZLC
PJFttWLSD8kdF0xdaw0l+Gu44lig8qdCfXGIOvRBbD/gsRa0TeGvt34ULsLYvBp/
aIs+yfw5aC8DJlGs1KdeprrvGCWCSKjhHn/d4SYbjLp/sxRj0tEDs29nhHwv2dil
f6WBSs7m8aqms/AiZTPcCHlGnRy4jOqc/si2CNb2CyvNvzJLagwNMu8F9vDVDd1u
gE9SVYMgp4J491OvSIV8c+t7EERyVgmth+crZOs5gftEjyxMLgh/sFf4A9VjvnpT
Rj8dGKzntqHwo4ahj7aXxln394peZEexuLPETPJshnLYIdFLf265hnkLTRJs7MOh
S9mk4Qws43aDTw1sK/UnCvwW1RIQguMEOoFECmaeDY5AU5rSH73cN5Y1uadtaoBQ
cHanBf84RKqPzXzvQNklC+XHr+eSV4jtTaO1Kr5vfFLkrstYMgZqBqqOPf/EBmNf
Yes60/Hfn5y8atbnfRRpxTomvUdIC8BYQguQhiFMNFf+Q9s6orNjdAWx79/yIwzD
VPefjopJPRqKFRaxZks=
=tiQK
-----END PGP SIGNATURE-----

Attachment: pgpLgRWb3e5mw.pgp
Description: PGP signature


--- End Message ---

Reply via email to