[Debian-med-packaging] Bug#1048227: simrisc: Fails to build source after successful build

Santiago Vila sanvila at debian.org
Mon Nov 24 13:29:40 GMT 2025


tags 1048227 patch
thanks

Hi. I'm attaching my proposal to fix this bug.

I was thinking about doing a team upload, but I see that you are
preparing a release, so I'm not pushing anything to salsa at this moment.

However, I've just temporarily changed the CI/CD configuration in
salsa so that it points to my salsa-ci fork, as it fixes a subtle bug
triggered by the fact that the source has a file called "build".
Details about the bug in this MR:

https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/680

After that, I've triggered a new pipeline and I think this time
it might work.

[ When/if the MR is merged, we can change CI/CD configuration again so
  that it uses debian/salsa-ci.yml again ]

Thanks.
-------------- next part --------------
commit cc52d61bd32ec66f7f97c1e07d4493a583afc493
Author: Santiago Vila <sanvila at debian.org>
Date:   Mon Nov 24 12:15:00 2025 +0100

    d/rules: Fix clean target. Closes: #1048227.

diff --git a/debian/rules b/debian/rules
index 97dff0d..9a7db14 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,8 +37,8 @@ export CXX = g++
 	dh $@
 
 override_dh_auto_clean:
-	./build clean || true
-	rm -rf tmp/
+	./build distclean
+	rm -f spch
 	dh_auto_clean
 
 override_dh_auto_build-arch:


More information about the Debian-med-packaging mailing list