[From nobody Sun Oct 18 11:25:05 2026
Received: (at submit) by bugs.debian.org; 29 Oct 2024 18:46:29 +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=-119.4 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
 USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 115; hammy, 150; neutral, 407; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sanvila@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:40828)
 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;sanvila@debian.org&gt;)
 id 1t5rEb-000kcm-CZ
 for submit@bugs.debian.org; Tue, 29 Oct 2024 18:46:29 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :To:Subject:From:MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=REKVa/3WevarSxcpcxcKc7eNOIfYp76dJFYcDcwB0o0=; b=UUQqrceEYpn1ayjasu4i6scKec
 kGc/YGRRO5xF17lWttBk2vWaop3Og2kWezZLVyp/B12xRs8xT681ardUywYpbQKi8OmRMjVKNLz52
 201qWWc2HR1XKQ06P0k8UcnytxfgvwVZRh2J+U6lg8719sbbQLEHGg7sfELWOleSBxv8BuBiTkHXr
 M1X0xzMNTJVScpo5PiNNSDr3ko+2tF6nGZjpO0JfOAWA+w13dpYpjVSKk+rLudVNHLhfHku+avO+S
 e5ynlBy88cg7QBTrSSmXX/Um2djiGP1d3Gf6ujZ/UBXi+zvbz1B47lZgiWzO5rj4LLqRYKyttV0s0
 s8CSYVQg==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1t5rEZ-007bGS-MY
 for submit@bugs.debian.org; Tue, 29 Oct 2024 18:46:27 +0000
Message-ID: &lt;7c49b09b-24dc-4d0c-8394-7a58553f3fb7@debian.org&gt;
Date: Tue, 29 Oct 2024 19:46:27 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Santiago Vila &lt;sanvila@debian.org&gt;
Subject: jarchivelib: FTBFS: java.lang.NullPointerException: Cannot invoke
 &quot;java.io.OutputStream.flush()&quot; because &quot;this.out&quot; is null
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Content-Language: en-US
X-Debbugs-Cc: sanvila@debian.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Debian-User: sanvila
Delivered-To: submit@bugs.debian.org

Package: src:jarchivelib
Version: 1.2.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
	mh_patchpoms -plibjarchivelib-java --debian-build --keep-pom-version --maven-repo=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/maven-repo
    dh_auto_build
	/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;PKGBUILDDIR&gt;&gt; -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian -Dmaven.repo.local=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
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.
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------&lt; org.rauschig:jarchivelib &gt;----------------------
[INFO] Building Java archiving library 1.2.0
[INFO]   from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ jarchivelib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ jarchivelib ---
[INFO] Recompiling the module because of changed source code.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 20 source files with javac [debug target 1.7] to target/classes
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/main/java/org/rauschig/jarchivelib/SevenZArchiver.java: Some input files use or override a deprecated API.
[INFO] /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/main/java/org/rauschig/jarchivelib/SevenZArchiver.java: Recompile with -Xlint:deprecation for details.
[INFO] /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/main/java/org/rauschig/jarchivelib/CommonsArchiver.java: /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/main/java/org/rauschig/jarchivelib/CommonsArchiver.java uses unchecked or unsafe operations.
[INFO] /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/main/java/org/rauschig/jarchivelib/CommonsArchiver.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ jarchivelib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 21 resources from src/test/resources to target/test-classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ jarchivelib ---
[INFO] Recompiling the module because of changed dependency.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 17 source files with javac [debug target 1.7] to target/test-classes
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
[WARNING] bootstrap class path not set in conjunction with -source 8
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/test/java/org/rauschig/jarchivelib/Archiver7zTest.java: /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/test/java/org/rauschig/jarchivelib/Archiver7zTest.java uses or overrides a deprecated API.
[INFO] /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/test/java/org/rauschig/jarchivelib/Archiver7zTest.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ jarchivelib ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @ jarchivelib ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.122 s
[INFO] Finished at: 2024-10-29T07:48:40Z
[INFO] ------------------------------------------------------------------------
    dh_auto_test
	/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;PKGBUILDDIR&gt;&gt; -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian -Dmaven.repo.local=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/maven-repo --batch-mode test
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.
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------&lt; org.rauschig:jarchivelib &gt;----------------------
[INFO] Building Java archiving library 1.2.0
[INFO]   from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ jarchivelib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /&lt;&lt;PKGBUILDDIR&gt;&gt;/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ jarchivelib ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ jarchivelib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 21 resources from src/test/resources to target/test-classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ jarchivelib ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ jarchivelib ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.rauschig.jarchivelib.CompressorBzip2Test
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 s - in org.rauschig.jarchivelib.CompressorBzip2Test
[INFO] Running org.rauschig.jarchivelib.ArchiveTarBzip2Test
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 s - in org.rauschig.jarchivelib.ArchiveTarBzip2Test
[INFO] Running org.rauschig.jarchivelib.ExtractPermissionsTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 s - in org.rauschig.jarchivelib.ExtractPermissionsTest
[INFO] Running org.rauschig.jarchivelib.CompressorXzTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 s - in org.rauschig.jarchivelib.CompressorXzTest
[INFO] Running org.rauschig.jarchivelib.PosixFilePermissionsMapperTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.rauschig.jarchivelib.PosixFilePermissionsMapperTest
[INFO] Running org.rauschig.jarchivelib.CompressorGzipTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in org.rauschig.jarchivelib.CompressorGzipTest
[INFO] Running org.rauschig.jarchivelib.ArchiverTarTest
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 s - in org.rauschig.jarchivelib.ArchiverTarTest
[INFO] Running org.rauschig.jarchivelib.ArchiverCpioTest
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 s - in org.rauschig.jarchivelib.ArchiverCpioTest
[INFO] Running org.rauschig.jarchivelib.ArchiverJarTest
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 s - in org.rauschig.jarchivelib.ArchiverJarTest
[INFO] Running org.rauschig.jarchivelib.FileTypeTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.rauschig.jarchivelib.FileTypeTest
[INFO] Running org.rauschig.jarchivelib.Archiver7zTest
[ERROR] Tests run: 20, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.541 s &lt;&lt;&lt; FAILURE! - in org.rauschig.jarchivelib.Archiver7zTest
[ERROR] create_recursiveDirectory_withoutFileExtension_properlyCreatesArchive(org.rauschig.jarchivelib.Archiver7zTest)  Time elapsed: 0.15 s  &lt;&lt;&lt; ERROR!
java.lang.NullPointerException: Cannot invoke &quot;java.io.OutputStream.flush()&quot; because &quot;this.out&quot; is null

[ERROR] create_multipleSourceFiles_properlyCreatesArchive(org.rauschig.jarchivelib.Archiver7zTest)  Time elapsed: 0.136 s  &lt;&lt;&lt; ERROR!
java.lang.NullPointerException: Cannot invoke &quot;java.io.OutputStream.flush()&quot; because &quot;this.out&quot; is null

[ERROR] create_recursiveDirectory_withFileExtension_properlyCreatesArchive(org.rauschig.jarchivelib.Archiver7zTest)  Time elapsed: 0.149 s  &lt;&lt;&lt; ERROR!
java.lang.NullPointerException: Cannot invoke &quot;java.io.OutputStream.flush()&quot; because &quot;this.out&quot; is null

[INFO] Running org.rauschig.jarchivelib.ArchiverZipTest
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 s - in org.rauschig.jarchivelib.ArchiverZipTest
[INFO] Running org.rauschig.jarchivelib.FactoryTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.rauschig.jarchivelib.FactoryTest
[INFO] Running org.rauschig.jarchivelib.ArchiverTarGzTest
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 s - in org.rauschig.jarchivelib.ArchiverTarGzTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   Archiver7zTest&gt;AbstractArchiverTest.create_multipleSourceFiles_properlyCreatesArchive:96 » NullPointer
[ERROR]   Archiver7zTest&gt;AbstractArchiverTest.create_recursiveDirectory_withFileExtension_properlyCreatesArchive:83 » NullPointer
[ERROR]   Archiver7zTest&gt;AbstractArchiverTest.create_recursiveDirectory_withoutFileExtension_properlyCreatesArchive:109 » NullPointer
[INFO]
[ERROR] Tests run: 215, Failures: 0, Errors: 3, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  33.978 s
[INFO] Finished at: 2024-10-29T07:49:15Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project jarchivelib: There are test failures.
[ERROR]
[ERROR] Please refer to /&lt;&lt;PKGBUILDDIR&gt;&gt;/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -&gt; [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
dh_auto_test: error: /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;PKGBUILDDIR&gt;&gt; -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian -Dmaven.repo.local=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/maven-repo --batch-mode test returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.
]