Bug#1116927: xerial-sqlite-jdbc: FTBFS with the nocheck build profile

Santiago Vila sanvila at debian.org
Tue Sep 30 15:55:47 BST 2025


Package: src:xerial-sqlite-jdbc
Version: 3.50.3.0+dfsg-1
Severity: important
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

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

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck

(It's a wiki, so you are welcome to contribute)

[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].

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 add an affects on src:xerial-sqlite-jdbc, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=maven --with javahelper
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
	bash -c "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"
	mh_unpatchpoms -plibxerial-sqlite-jdbc-java
if [ -e VERSION.old ]; then mv VERSION.old VERSION; fi
if [ -e debian/maven.properties ]; then rm debian/maven.properties; fi
# Cleaning the native part.
/usr/bin/make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Makefile.common:4: Set JAVA_HOME environment variable
Will build using target: Linux-x86_64 (detected os: Linux, arch: x86_64)
rm -rf target/sqlite-3.50.3-Linux-x86_64
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=maven
   jh_clean -O--buildsystem=maven
Duplicate specification "u=s" for option "u"
   dh_clean -O--buildsystem=maven
 debian/rules binary
dh binary --buildsystem=maven --with javahelper
   dh_update_autotools_config -O--buildsystem=maven
   dh_autoreconf -O--buildsystem=maven
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Setting the version of installed sqlite3 lib in the VERSION file, using dpkg
# to get this version number.
# Also putting it in d/maven.properties...
cp VERSION VERSION.old
sqliteVersion=$(dpkg -s libsqlite3-dev | grep "Version" | sed 's/Version: \(.*\)-.*/\1/') && \
        echo "version=$sqliteVersion" > VERSION && \
        echo "sqlite.version=$sqliteVersion" > debian/maven.properties
# Together with the architecture.
echo "build.architecture=$(arch)" >> debian/maven.properties
dh_auto_configure
	mh_patchpoms -plibxerial-sqlite-jdbc-java --debian-build --keep-pom-version --maven-repo=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg/debian/maven-repo
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   jh_linkjars -O--buildsystem=maven
Duplicate specification "unlink|u" for option "u"
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build JNI
export JAVA_HOME=/usr/lib/jvm/default-java && \
        export DEB_HOST_MULTIARCH=x86_64-linux-gnu && \
        /usr/bin/make
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Will build using target: Linux-x86_64 (detected os: Linux, arch: x86_64)
"$JAVA_HOME/bin/javac"  -cp /usr/share/java/slf4j-api.jar -d target/common-lib -sourcepath src/main/java -h target/common-lib src/main/java/org/sqlite/core/NativeDB.java
src/main/java/org/sqlite/core/CoreDatabaseMetaData.java:200: warning: [removal] finalize() in Object has been deprecated and marked for removal
    protected void finalize() throws Throwable {
                   ^
src/main/java/org/sqlite/jdbc3/JDBC3ResultSet.java:513: warning: [removal] Long(long) in Long has been deprecated and marked for removal
                    return new Long(val);
                           ^
src/main/java/org/sqlite/jdbc3/JDBC3ResultSet.java:515: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
                    return new Integer((int) val);
                           ^
src/main/java/org/sqlite/jdbc3/JDBC3ResultSet.java:518: warning: [removal] Double(double) in Double has been deprecated and marked for removal
                return new Double(getDouble(col));
                       ^
src/main/java/org/sqlite/core/CorePreparedStatement.java:123: warning: [removal] Double(double) in Double has been deprecated and marked for removal
                batch(pos, new Double((value / 86400000.0) + 2440587.5));
                           ^
src/main/java/org/sqlite/core/CorePreparedStatement.java:127: warning: [removal] Long(long) in Long has been deprecated and marked for removal
                batch(pos, new Long(value / config.getDateMultiplier()));
                           ^
src/main/java/org/sqlite/jdbc3/JDBC3PreparedStatement.java:315: warning: [removal] Double(double) in Double has been deprecated and marked for removal
        batch(pos, new Double(value));
                   ^
src/main/java/org/sqlite/jdbc3/JDBC3PreparedStatement.java:320: warning: [removal] Float(float) in Float has been deprecated and marked for removal
        batch(pos, new Float(value));
                   ^
src/main/java/org/sqlite/jdbc3/JDBC3PreparedStatement.java:325: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
        batch(pos, new Integer(value));
                   ^
src/main/java/org/sqlite/jdbc3/JDBC3PreparedStatement.java:330: warning: [removal] Long(long) in Long has been deprecated and marked for removal
        batch(pos, new Long(value));
                   ^
src/main/java/org/sqlite/jdbc3/JDBC3PreparedStatement.java:354: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
            batch(pos, new Integer(((Short) value).intValue()));
                       ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src/main/java/org/sqlite/jdbc3/JDBC3Connection.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
11 warnings
mv target/common-lib/org_sqlite_core_NativeDB.h target/common-lib/NativeDB.h
#gcc -Itarget/sqlite-3.46.1-Linux-x86_64 -Itarget/sqlite-amalgamation-3460100 -Ilib/inc_linux -I/usr/lib/jvm/default-java/include -Os -fPIC -m64 -fvisibility=hidden   -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -I target/common-lib -c -o target/sqlite-3.46.1-Linux-x86_64/NativeDB.o src/main/java/org/sqlite/core/NativeDB.c
gcc -Itarget/sqlite-3.46.1-Linux-x86_64 -Itarget/sqlite-amalgamation-3460100 -Ilib/inc_linux -I/usr/lib/jvm/default-java/include -Os -fPIC -m64 -fvisibility=hidden   -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -I target/common-lib -Wdate-time -D_FORTIFY_SOURCE=2 -c -g -o target/sqlite-3.46.1-Linux-x86_64/NativeDB.o src/main/java/org/sqlite/core/NativeDB.c
#gcc -Itarget/sqlite-3.46.1-Linux-x86_64 -Itarget/sqlite-amalgamation-3460100 -Ilib/inc_linux -I/usr/lib/jvm/default-java/include -Os -fPIC -m64 -fvisibility=hidden   -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -o target/sqlite-3.46.1-Linux-x86_64/libsqlitejdbc.so target/sqlite-3.46.1-Linux-x86_64/NativeDB.o target/sqlite-3.46.1-Linux-x86_64/sqlite3.o -shared -static-libgcc -pthread -lm 
gcc -Itarget/sqlite-3.46.1-Linux-x86_64 -Itarget/sqlite-amalgamation-3460100 -Ilib/inc_linux -I/usr/lib/jvm/default-java/include -Os -fPIC -m64 -fvisibility=hidden   -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -Wl,-z,relro -Wl,-z,now -o target/sqlite-3.46.1-Linux-x86_64/libsqlitejdbc.so target/sqlite-3.46.1-Linux-x86_64/NativeDB.o -shared -static-libgcc -pthread -lm  -lsqlite3
#cp target/sqlite-3.46.1-Linux-x86_64/libsqlitejdbc.so /tmp/libsqlitejdbc.so
#strip /tmp/libsqlitejdbc.so
#cp /tmp/libsqlitejdbc.so target/sqlite-3.46.1-Linux-x86_64/libsqlitejdbc.so
# Do nothing more. The .so will be put into /usr/lib/jni, not into the jar.
#@mkdir -p src/main/resources/org/sqlite/native/Linux/x86_64
#cp target/sqlite-3.46.1-Linux-x86_64/libsqlitejdbc.so src/main/resources/org/sqlite/native/Linux/x86_64/libsqlitejdbc.so
#@mkdir -p target/classes/org/sqlite/native/Linux/x86_64
#cp target/sqlite-3.46.1-Linux-x86_64/libsqlitejdbc.so target/classes/org/sqlite/native/Linux/x86_64/libsqlitejdbc.so
rm -rf target/dependency-maven-plugin-markers
# We shall handle the Java build through dh_auto_build, with maven-debian-helper.
#mvn package
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=maven -Nlibxerial-sqlite-jdbc-jni
	/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=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg/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] -----------------------< org.xerial:sqlite-jdbc >-----------------------
[INFO] Building SQLite JDBC 3.50.3.0
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.assertj:assertj-core:jar:debian is missing, no dependency information available
[WARNING] The POM for org.mockito:mockito-core:jar:debian is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.170 s
[INFO] Finished at: 2025-09-30T11:31:35Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sqlite-jdbc: Could not resolve dependencies for project org.xerial:sqlite-jdbc:jar:3.50.3.0
[ERROR] dependency: org.assertj:assertj-core:jar:debian (test)
[ERROR] 	Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.assertj:assertj-core:jar:debian has not been downloaded from it before.
[ERROR] dependency: org.mockito:mockito-core:jar:debian (test)
[ERROR] 	Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.mockito:mockito-core:jar:debian has not been downloaded from it before.
[ERROR] -> [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/DependencyResolutionException
dh_auto_build: 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=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/xerial-sqlite-jdbc-3.50.3.0\+dfsg/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the pkg-java-maintainers mailing list