#1048227 simrisc: Fails to build source after successful build

Package:
src:simrisc
Source:
src:simrisc
Submitter:
Lucas Nussbaum
Date:
2025-11-28 18:51:02 UTC
Severity:
normal
Tags:
#1048227#5
Date:
2023-08-13 19:21:27 UTC
From:
To:
Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/simrisc_15.03.00-2_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1048227#14
Date:
2025-11-24 13:29:40 UTC
From:
To:
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.

#1048227#21
Date:
2025-11-24 14:17:38 UTC
From:
To:
Hi.

I forgot to check the latest version indeed!

Updated patch attached (which simplifies debian/rules even more, as
both tmp and spch are already handled by distclean).

[ If you have not tagged and uploaded yet, maybe it would still be
  possible to include this in version -1 ]

Thanks.

#1048227#26
Date:
2025-11-28 18:49:39 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
simrisc, 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 1048227@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated simrisc 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 25 Nov 2025 09:26:43 -0800
Source: simrisc
Architecture: source
Version: 16.05.00-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1048227
Changes:
 simrisc (16.05.00-1) unstable; urgency=medium
 .
   [ Frank B. Brokken ]
   * New upstream version 16.05.00
   * New upstream version dropped option -S, slightly modified the DoublingTime
     agegroups, repaired a bug in couting the true/fals positive/negative
     results, and age specifications of screening rounds can be specified using
     fractions.
     See also the upstream changeogs for versions 16.03.00 thru 16.05.00.
   * Updated debian/control.
 .
   [ tony mancill ]
   * Use distclean instead of clean for dh_auto_clean (Closes: #1048227)
     Thank you to Santiago Vila for the bug report and patch.
Checksums-Sha1:
 c95a30d637bfdd590ef3260474a97af8a583d0b7 2205 simrisc_16.05.00-1.dsc
 dc638eb44786d1094799d50d40c84d7c84d3900a 809340 simrisc_16.05.00.orig.tar.gz
 d88047681cf190987cc1bbb0ca380ad197c83460 108396 simrisc_16.05.00-1.debian.tar.xz
 e8a59dc392ca705f62535e30000ec955942f3997 9543 simrisc_16.05.00-1_amd64.buildinfo
Checksums-Sha256:
 8f739e2ebe545fb653de04a1a8517c24274e1ec2042cd44ea328a9f6bbb3d6eb 2205 simrisc_16.05.00-1.dsc
 76b09abb605a1eaf0f17401ca6fbc39319cf36fdab01daa82f0a7d1d47502664 809340 simrisc_16.05.00.orig.tar.gz
 00e920b5732f8bf71caec17657237bde24c07f3c5510a1c793a93ddfa6361e2e 108396 simrisc_16.05.00-1.debian.tar.xz
 e321c3197c8ae79161a0efacac7f2d15367221bac5a050a471e4d069846dc372 9543 simrisc_16.05.00-1_amd64.buildinfo
Files:
 5b68e937c454d4d1a7a9a39dc2cfb4fe 2205 science optional simrisc_16.05.00-1.dsc
 7479c7b83acec638f3129a3812a533b8 809340 science optional simrisc_16.05.00.orig.tar.gz
 85a48ed8603c8f15de3d0a848ac38035 108396 science optional simrisc_16.05.00-1.debian.tar.xz
 b2aa7966b3da29e7c2090c76c8b11042 9543 science optional simrisc_16.05.00-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmkp6x0UHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpYJwQ//X+T2JMPH14KNXMKfJsqRZbTpHVsN
al1clBk/ijVqtqPZtP3+Ae1MKcvIZTNlkGA6oUtbzUUn2194MbhGutC1DfymA5vm
YtU1BHwBjEa28U0Odqk5cLnfBD6RrcQwfNkVUyp9CpZUBnw+Lc1/ZGRadSlenonp
SxKQI9FpKH1NfOk8INvgNnc+2K+uR1FZpCJkEU0WKXBRldNMRmGit2jldsYAkUBY
eJg5kX12u6SA5Y5pEVhEo2TG7T0mC6JvTrTuHOcz1C7eZygWnGOwHeEy5I9MSHDH
EfhpxWRtwMMDZFC4Y/P+JhAYPu9q+TAIaGlYYHRk/YbDHfTlX/sPCx5Gf2lAJd3j
ozBXLpHJCMHQ1UboL9AzA4EZywP57/aKhT6Pe9KMT0nuQ7mRGjMXN/s/Bw79SOfh
TvrWxuhqIDPETOch6gi21dMqkUldXNC1KAnd3Ph1jFajo6LqZXeLg4Af0bLyIQx6
J9wazjE/2sPRmDKUlfmej9H2u2k0EqAS2wgDYm5UXdfbuGdCdl/4ZcMYiu42Gcah
cqFtAA8qGXfWQN54vSrLKqLRghHpZznWYbqFy79VBiyu/sLw4xDIJRtvuR2w+yZ7
f5jnOYh3oaJ/kh3YZ5mZk70QT7ndWDIRF9MxLnogazfWqPCwlBEoFpq1WQHLvRDR
/IPtLD383VHV1GQ=
=6bWT
-----END PGP SIGNATURE-----