Bug#923757: libirclib-java: FTBFS in buster/sid

Santiago Vila sanvila at debian.org
Tue Mar 5 00:19:42 GMT 2019


Package: src:libirclib-java
Version: 1.10-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh --with javahelper build-indep
dh: Compatibility levels before 9 are deprecated (level 7 in use)
   dh_update_autotools_config -i
   jh_linkjars -i
   jh_build -i
find src -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.irclib -d debian/_jh_build.irclib -source 1.7 -target 1.7 -encoding ISO8859-1
warning: [options] bootstrap class path not set in conjunction with -source 7
src/org/schwering/irc/lib/ssl/SSLSocketFactoryFactory.java:147: warning: non-varargs call of varargs method with inexact argument type for last parameter;
		Method getSocketFactoryMethod = contextClass.getMethod("getSocketFactory", null);
		                                                                           ^
  cast to Class for a varargs call
  cast to Class[] for a non-varargs call and to suppress this warning
src/org/schwering/irc/lib/ssl/SSLSocketFactoryFactory.java:155: warning: non-varargs call of varargs method with inexact argument type for last parameter;
		Object socketFactory = getSocketFactoryMethod.invoke(context, null);
		                                                              ^
  cast to Object for a varargs call
  cast to Object[] for a non-varargs call and to suppress this warning
src/org/schwering/irc/lib/ssl/SSLSocketFactoryFactory.java:209: warning: non-varargs call of varargs method with inexact argument type for last parameter;
		Method getSocketFactoryMethod = contextClass.getMethod("getSocketFactory", null);
		                                                                           ^
  cast to Class for a varargs call
  cast to Class[] for a non-varargs call and to suppress this warning
src/org/schwering/irc/lib/ssl/SSLSocketFactoryFactory.java:217: warning: non-varargs call of varargs method with inexact argument type for last parameter;
		Object socketFactory = getSocketFactoryMethod.invoke(context, null);
		                                                              ^
  cast to Object for a varargs call
  cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 warnings
find src -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath :debian/_jh_build.irclib -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp -source 1.7
Creating destination directory: "debian/_jh_build.javadoc/api/"
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jre-headless/api/ are in named modules.
src/org/schwering/irc/lib/IRCConstants.java:854: warning - invalid usage of tag &
src/org/schwering/irc/lib/IRCConstants.java:854: warning - invalid usage of tag &
src/org/schwering/irc/lib/IRCConstants.java:854: warning - invalid usage of tag &
2 errors
3 warnings
make: *** [debian/rules:9: build-indep] Error 123
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libirclib-java.html

where you can get a full build log if you need it.

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.



More information about the pkg-java-maintainers mailing list