#1046176 ring-clojure: Fails to build source after successful build

#1046176#5
Date:
2023-08-13 19:21:23 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/ring-clojure_1.8.2-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.

#1046176#10
Date:
2024-02-16 14:40:04 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ring-clojure, 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 1046176@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérôme Charaoui <jerome@riseup.net> (supplier of updated ring-clojure 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: Thu, 15 Feb 2024 21:22:48 -0500
Source: ring-clojure
Architecture: source
Version: 1.8.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Clojure Maintainers <team+clojure@tracker.debian.org>
Changed-By: Jérôme Charaoui <jerome@riseup.net>
Closes: 1046176 1049524
Changes:
 ring-clojure (1.8.2-3) unstable; urgency=medium
 .
   * d/rules: fix double build issue (Closes: #1046176, #1049524)
   * d/patches: mark lein local patches not-needed upstream
Checksums-Sha1:
 33f53a5731492a77828496c0718277a669b0f335 2006 ring-clojure_1.8.2-3.dsc
 16ba4663a0b9e1771b41e9185934501112dc9db6 6620 ring-clojure_1.8.2-3.debian.tar.xz
 27a408b3af281674a5bd28ff31d1c0d0450c36bc 11090 ring-clojure_1.8.2-3_amd64.buildinfo
Checksums-Sha256:
 a4e063dee5667497d63d04e72947132334ecaca3209cc67dfe95528ca0cc1f1a 2006 ring-clojure_1.8.2-3.dsc
 121c2c504b3066c942be0d6476f84469760a90555a8d53dfbbc6c229bb9aa986 6620 ring-clojure_1.8.2-3.debian.tar.xz
 278024ba36df967f48d4646cb05e25f0052960c99d374a693a81e298171a4130 11090 ring-clojure_1.8.2-3_amd64.buildinfo
Files:
 af09eabca6ad88bd11d56e719fd38ccd 2006 java optional ring-clojure_1.8.2-3.dsc
 cb64572d18450acd0f1b5f80b135a15d 6620 java optional ring-clojure_1.8.2-3.debian.tar.xz
 8e96d6607d2b8fa28971e4f5a46bf1ae 11090 java optional ring-clojure_1.8.2-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQTAq04Rv2xblqv/eu5pxS9ljpiFQgUCZc9mGQAKCRBpxS9ljpiF
QjMfAP0WNZamAQHX+I01uJok46czXE9hrOz6zxfkqJeP7wgoiAD/achU15xFxU9f
Pke+DMxTG4HUvl8Rk/cBMHu04CPloA4=
=kMD5
-----END PGP SIGNATURE-----

#1046176#29
Date:
2026-08-14 21:06:55 UTC
From:
To:
reopen 1046176
thanks
(when trying to build source after a binary build)

dpkg-source: error: add ring-websocket-protocols/target/ring-websocket-protocols-1.15.5.jar in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: warning: file /<<PKGBUILDDIR>>/ring-websocket-protocols/target/stale/leiningen.core.classpath.extract-native-dependencies has no final newline (either original or modified version)
dpkg-source: error: unrepresentable changes to source
dpkg-source: info: local changes detected, the modified files are:
 ring-core-protocols/.lein-failures
 ring-core-protocols/target/classes/META-INF/maven/org.ring-clojure/ring-core-protocols/pom.properties
 ring-core-protocols/target/stale/leiningen.core.classpath.extract-native-dependencies
 ring-core/.lein-failures
 ring-core/target/classes/META-INF/maven/ring/ring-core/pom.properties
 ring-core/target/stale/leiningen.core.classpath.extract-native-dependencies
 ring-jakarta-servlet/.lein-failures
 ring-jakarta-servlet/target/classes/META-INF/maven/org.ring-clojure/ring-jakarta-servlet/pom.properties
 ring-jakarta-servlet/target/stale/leiningen.core.classpath.extract-native-dependencies
 ring-jetty-adapter/.lein-failures
 ring-jetty-adapter/target/classes/META-INF/maven/ring/ring-jetty-adapter/pom.properties
 ring-jetty-adapter/target/stale/leiningen.core.classpath.extract-native-dependencies
 ring-servlet/.lein-failures
 ring-servlet/target/classes/META-INF/maven/ring/ring-servlet/pom.properties
 ring-servlet/target/stale/leiningen.core.classpath.extract-native-dependencies
 ring-websocket-protocols/target/classes/META-INF/maven/org.ring-clojure/ring-websocket-protocols/pom.properties
 ring-websocket-protocols/target/stale/leiningen.core.classpath.extract-native-dependencies
dpkg-buildpackage: error: dpkg-source -b . subprocess failed with exit status 1

Thanks.

#1046176#38
Date:
2026-08-15 01:56:24 UTC
From:
To:
Le 2026-08-14 à 17 h 06, Santiago Vila a écrit :

You're right, I meant to close a similar bug in another package, my
apologies.