[From nobody Wed Oct 14 12:37:12 2026
Received: (at submit) by bugs.debian.org; 13 Aug 2023 23:40:00 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-101.5 required=4.0 tests=ATTENDEES_DBSPAM_BODY3,
 ATTENDEES_DBSPAM_BODY7,BAYES_00,DATE_IN_PAST_03_06,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,
 UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
 autolearn=no autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 54; hammy, 150; neutral, 403; spammy,
 0. spammytokens: hammytokens:0.000-+--UD:orig.tar.xz,
 0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR,
 0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin
Return-path: &lt;lucas@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:60398)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1qVKgj-004k41-8A
 for submit@bugs.debian.org; Sun, 13 Aug 2023 23:39:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Message-Id:Date:Subject:To:From:
 Reply-To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=Mr+Dc5rrnMbu2IX9yQW2ZrpbeUmbSasgZZfazAqgN6k=; b=fyc1BHyrk4pKyGTeDzarVxVDdY
 oIAJFLSIwGjl74PnthwuQHbKEIS0egtzQSPHDVbMMZd/bwkWv5OlR07LzyzN/Awx7dH01FFm96Mp7
 ul5iayoPj2FQMWlC6ZP3qY42uEK+S4HtkqecpztoYSvi1BvMlIhLPyM3pkjkONF3+IvBMAedAR1o8
 PGM/c863us/NsLY9jOieUlipR+D0szht5VepXZXNC9LDt3PZltM+AIxrIyVtlFK6GbGPRVlCYwLjo
 BBog2zpJsP7alvUqQR0ifXwrW/4HT2asWVLuyo5huF4X9pXNAufSAeXCaroMvPIY5KXwThPCUFdh8
 ibrOlfdw==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1qVKgh-0023vr-6m
 for submit@bugs.debian.org; Sun, 13 Aug 2023 23:39:58 +0000
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: zstd-jni-java: Fails to build source after successful build
Date: Sun, 13 Aug 2023 21:21:34 +0200
Message-Id: &lt;1691954494.975939.1285366.nullmailer@grub.nussbaum.fr&gt;
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: zstd-jni-java
Version: 1.5.2-5+ds-3
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

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:
&gt; cd /&lt;&lt;PKGBUILDDIR&gt;&gt; &amp;&amp; runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
&gt; --------------------------------------------------------------------------------------------------------------------------------------
&gt; 
&gt; dpkg-buildpackage: info: source package zstd-jni-java
&gt; dpkg-buildpackage: info: source version 1.5.2-5+ds-3
&gt; dpkg-buildpackage: info: source distribution unstable
&gt; dpkg-buildpackage: info: source changed by Markus Koschany &lt;apo@debian.org&gt;
&gt;  dpkg-source --before-build .
&gt;  debian/rules clean
&gt; dh clean --buildsystem=maven --with javahelper --with maven_repo_helper
&gt; 	rm -f debian/libzstd-jni-java.debhelper.log debian/libzstd-jni1.debhelper.log
&gt;    debian/rules execute_before_dh_auto_clean
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; rm -f src/main/java/com/github/luben/zstd/util/ZstdVersion.java
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    dh_auto_clean -O--buildsystem=maven
&gt; 	mh_patchpoms -plibzstd-jni-java --debian-build --keep-pom-version --maven-repo=/&lt;&lt;BUILDDIR&gt;&gt;/zstd-jni-java-1.5.2-5\+ds/debian/maven-repo
&gt; 	touch debian/stamp-poms-patched
&gt; 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/&lt;&lt;BUILDDIR&gt;&gt;/zstd-jni-java-1.5.2-5\+ds -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/&lt;&lt;BUILDDIR&gt;&gt;/zstd-jni-java-1.5.2-5\+ds/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/&lt;&lt;BUILDDIR&gt;&gt;/zstd-jni-java-1.5.2-5\+ds/debian -Dmaven.repo.local=/&lt;&lt;BUILDDIR&gt;&gt;/zstd-jni-java-1.5.2-5\+ds/debian/maven-repo --batch-mode clean
&gt; OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
&gt; [0m[0m[INFO] Scanning for projects...
&gt; [INFO] 
&gt; [INFO] ---------------------&lt; com.github.luben:zstd-jni &gt;----------------------
&gt; [INFO] Building zstd-jni 1.5.2-5
&gt; [INFO] --------------------------------[ jar ]---------------------------------
&gt; [WARNING] The artifact org.apache.maven.plugins:maven-clean-plugin:jar:2.5 has been relocated to org.apache.maven.plugins:maven-clean-plugin:jar:3.2.0
&gt; [INFO] 
&gt; [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ zstd-jni ---
&gt; [INFO] Deleting /&lt;&lt;PKGBUILDDIR&gt;&gt;/target
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] BUILD SUCCESS
&gt; [INFO] ------------------------------------------------------------------------
&gt; [INFO] Total time:  0.219 s
&gt; [INFO] Finished at: 2023-08-12T07:41:08Z
&gt; [INFO] ------------------------------------------------------------------------
&gt; [0m[0m	rm -r /&lt;&lt;BUILDDIR&gt;&gt;/zstd-jni-java-1.5.2-5\+ds/debian/maven-repo
&gt; 	bash -c &quot;for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done&quot;
&gt; 	mh_unpatchpoms -plibzstd-jni-java
&gt; 	rm -f debian/stamp-poms-patched
&gt; 	mh_clean
&gt;    dh_autoreconf_clean -O--buildsystem=maven
&gt;    jh_clean -O--buildsystem=maven
&gt; 	rm -fr debian/_jh_manifest* debian/_jh_build*
&gt; 	rm -fr debian/.eclipse-build
&gt; 	rm -f debian/orbitdeps.debhelper
&gt;    dh_clean -O--buildsystem=maven
&gt; 	rm -f debian/debhelper-build-stamp
&gt; 	rm -rf debian/.debhelper/
&gt; 	rm -f -- debian/libzstd-jni-java.substvars debian/libzstd-jni1.substvars debian/files
&gt; 	rm -fr -- debian/libzstd-jni-java/ debian/tmp/ debian/libzstd-jni1/
&gt; 	find .  \( \( \
&gt; 		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
&gt; 	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
&gt; 		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
&gt; 		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
&gt; 		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
&gt; 		\) -exec rm -f {} + \) -o \
&gt; 		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
&gt;  dpkg-source -b .
&gt; dpkg-source: info: using source format '3.0 (quilt)'
&gt; dpkg-source: info: building zstd-jni-java using existing ./zstd-jni-java_1.5.2-5+ds.orig.tar.xz
&gt; dpkg-source: info: using patch list from debian/patches/series
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/libzstd-jni.so:
&gt; dpkg-source: error:   new version is symlink to libzstd-jni.so.1
&gt; dpkg-source: error:   old version is nonexistent
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/libzstd-jni.so.1:
&gt; dpkg-source: error:   new version is symlink to libzstd-jni.so.1.5.2-5
&gt; dpkg-source: error:   old version is nonexistent
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CMakeDetermineCompilerABI_C.bin: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CMakeDetermineCompilerABI_C.bin in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: warning: executable mode 0755 of 'obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CMakeDetermineCompilerABI_C.bin' will not be represented in diff
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CompilerIdC/a.out: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CompilerIdC/a.out in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: warning: executable mode 0755 of 'obj-x86_64-linux-gnu/CMakeFiles/3.27.2/CompilerIdC/a.out' will not be represented in diff
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_directbuffercompress_zstd.c.o: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_directbuffercompress_zstd.c.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_directbufferdecompress_zstd.c.o: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_directbufferdecompress_zstd.c.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_fast_zstd.c.o: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_fast_zstd.c.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_inputstream_zstd.c.o: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_inputstream_zstd.c.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_outputstream_zstd.c.o: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_outputstream_zstd.c.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_zdict.c.o: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_zdict.c.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_zstd.c.o: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/CMakeFiles/zstd-jni.dir/src/main/native/jni_zstd.c.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: warning: file zstd-jni-java-1.5.2-5+ds/obj-x86_64-linux-gnu/install_manifest.txt has no final newline (either original or modified version)
&gt; dpkg-source: error: cannot represent change to obj-x86_64-linux-gnu/libzstd-jni.so.1.5.2-5: binary file contents changed
&gt; dpkg-source: error: add obj-x86_64-linux-gnu/libzstd-jni.so.1.5.2-5 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
&gt; dpkg-source: warning: executable mode 0755 of 'obj-x86_64-linux-gnu/libzstd-jni.so.1.5.2-5' will not be represented in diff
&gt; dpkg-source: error: unrepresentable changes to source
&gt; dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
&gt; 
&gt; E: Command 'cd /&lt;&lt;PKGBUILDDIR&gt;&gt; &amp;&amp; runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/zstd-jni-java_1.5.2-5+ds-3_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.
]