Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#834671: libxalan2-java: FTBFS in testing (Error: could not match input)

5 views
Skip to first unread message

Santiago Vila

unread,
Aug 17, 2016, 6:30:05 PM8/17/16
to
Package: src:libxalan2-java
Version: 2.7.1-9
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh_listpackages: -s/--same-arch is deprecated; please use -a/--arch instead
test -x debian/rules
mkdir -p "."
rm -f lib/BCEL.jar lib/regexp.jar
ln -s /usr/share/java/bcel.jar lib/BCEL.jar
ln -s /usr/share/java/regexp.jar lib/regexp.jar
jh_linkjars
jh_build -J
touch debian/jh_build_stamp
cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xml-apis.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/bsf.jar:/usr/share/java/bcel.jar:/usr/share/java/cup.jar:/usr/share/java/regexp.jar:/usr/share/java/stylebook.jar:/usr/share/java/JLex.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true -propertyfile /<<PKGBUILDDIR>>/debian/ant.properties jar xsltc.unbundledjar javadocs docs
Buildfile: /<<PKGBUILDDIR>>/build.xml


[... snipped ...]

[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 warnings

xalan-interpretive.compile:
[echo] Compiling Xalan interpretive classes
[javac] /<<PKGBUILDDIR>>/build.xml:404: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 114 source files to /<<PKGBUILDDIR>>/build/classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 warnings
[copy] Copying 12 files to /<<PKGBUILDDIR>>/build/classes
[copy] Copying 1 file to /<<PKGBUILDDIR>>/build/classes/org/apache/xalan/res

xsltc.prepare:
[echo] Compiling XSLTC utilities
[javac] /<<PKGBUILDDIR>>/build.xml:452: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to /<<PKGBUILDDIR>>/build/classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 3 warnings

xsltc.java_cup:
[echo] java_cup preparsing
[java] Exception in thread "main" java.lang.Error: Error: could not match input
[java] at java_cup.Lexer.zzScanError(Lexer.java:728)
[java] at java_cup.Lexer.next_token(Lexer.java:1058)
[java] at java_cup.parser.scan(parser.java:417)
[java] at java_cup.runtime.lr_parser.parse(lr_parser.java:578)
[java] at java_cup.Main.parse_grammar_spec(Main.java:477)
[java] at java_cup.Main.main(Main.java:186)
[java] at org.apache.xalan.xsltc.util.JavaCupRedirect.main(JavaCupRedirect.java:90)

BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:481: Java returned: 1

Total time: 8 seconds
/usr/share/cdbs/1/class/ant.mk:39: recipe for target 'debian/stamp-ant-build' failed
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.

For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:

https://tests.reproducible-builds.org/

Thanks.

Santiago Vila

unread,
Aug 23, 2016, 7:30:02 AM8/23/16
to
On Tue, Aug 23, 2016 at 10:27:07AM +0000, Debian Bug Tracking System wrote:

> Files:
> 70c1a6ff3530b04e6ad62d33ff99592a 1969 java optional cup_0.11a+20060608-8.dsc
> a17d8727b785eed718e448c9dca0b13c 6148 java optional cup_0.11a+20060608-8.debian.tar.xz
> 6be68ae5d67dfc667d3582757e6a3612 127308 java optional cup_0.11a+20060608-8_all.deb

Dear Debian Java Maintainers:

Thank you for fixing this bug.

I have a question: Is there a particular reason why you are still not
doing source-only uploads?

Source-only uploads are particularly interesting for "Arch: all"
packages, because it's a way to double-check for package correctness
(FTBFS bugs in particular).

Ordinary uploads for "Arch: any" are tested by all the arch-dependent
autobuilders, so the effect of not doing source-only uploads in "Arch: all"
packages is that they are tested a lot less than "Arch: any" packages.

Thanks.
0 new messages