Bug#638576: libxerces2-java: FTBFS on amd64/sid

brian m. carlson sandals at crustytoothpaste.net
Fri Aug 19 21:09:45 UTC 2011


Package: libxerces2-java
Version: 2.9.1-4.1
Severity: serious
Justification: no longer builds from source

libxerces2-java doesn't build anymore.  Attached is the build log from
my system.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxerces2-java depends on:
ii  default-jre-headless [ 1:1.6-40          Standard Java or Java compatible R
ii  gcj-4.4-jre-headless [ 4.4.6-6           Java runtime environment using GIJ
ii  gcj-4.6-jre-headless [ 4.6.1-3           Java runtime environment using GIJ
ii  gcj-jre-headless [java 4:4.6.1-2         Java runtime environment using GIJ
ii  libjaxp1.3-java        1.3.05-1          Java XML parser and transformer AP
ii  openjdk-6-jre-headless 6b23~pre7-1       OpenJDK Java runtime, using Hotspo
ii  openjdk-7-jre-headless 7~b147-2.0~pre2-3 OpenJDK Java runtime, using Hotspo

Versions of packages libxerces2-java recommends:
pn  libxerces2-java-gcj           <none>     (no description available)

Versions of packages libxerces2-java suggests:
pn  libxerces2-java-doc           <none>     (no description available)

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
Script started on Fri 19 Aug 2011 09:06:05 PM UTC
buildpkg: command line : dpkg-buildpackage -us -uc -rfakeroot
buildpkg: CC   : gcc
buildpkg: CXX  : g++
buildpkg: PATH : /home/bmc/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/bin/X11:/usr/games
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package libxerces2-java
dpkg-buildpackage: source version 2.9.1-4.1
dpkg-buildpackage: source changed by Giuseppe Iuculano <iuculano at debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build libxerces2-java-2.9.1
 fakeroot debian/rules clean
/usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING:  simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead
test -x debian/rules
dh_testroot
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/tmp/libxerces2-java-2.9.1'
/usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING:  simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/libxerces2-java-2.9.1'
if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/01_xjavac_taskdef.patch debian/patches/02_build_dont_unzip.patch debian/patches/03_bootclasspath.patch debian/patches/04_CVE-2009-2625.patch
Trying reverse patch debian/patches/04_CVE-2009-2625.patch at level 1 ... success.
Trying reverse patch debian/patches/03_bootclasspath.patch at level 1 ... 0 ... success.
Trying reverse patch debian/patches/02_build_dont_unzip.patch at level 1 ... 0 ... success.
Trying reverse patch debian/patches/01_xjavac_taskdef.patch at level 1 ... 0 ... success.
if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; fi
if [ "reverse-patches" != "reverse-patches" ] ; then \
		/usr/bin/make -f debian/rules update-config ; \
	fi
for dir in debian/patches ; do \
	    rm -f $dir/*.log ; \
	done
dh_clean 
	rm -f debian/libxerces2-java.substvars
	rm -f debian/libxerces2-java.*.debhelper
	rm -rf debian/libxerces2-java/
	rm -f debian/libxerces2-java-gcj.substvars
	rm -f debian/libxerces2-java-gcj.*.debhelper
	rm -rf debian/libxerces2-java-gcj/
	rm -f debian/libxerces2-java-doc.substvars
	rm -f debian/libxerces2-java-doc.*.debhelper
	rm -rf debian/libxerces2-java-doc/
	rm -f debian/*.debhelper.log
	rm -f debian/files
	find .  \( \( -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} \; \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4 -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true    -propertyfile /tmp/libxerces2-java-2.9.1/debian/ant.properties clean
Buildfile: /tmp/libxerces2-java-2.9.1/build.xml

BUILD FAILED
/tmp/libxerces2-java-2.9.1/build.xml:42: taskdef class org.apache.xerces.util.XJavac cannot be found
 using the classloader AntClassLoader[]

Total time: 0 seconds
make: [clean] Error 1 (ignored)
rm -f debian/stamp-ant-build
rm -rf build
rm -rf debian/tmp
 dpkg-source -b libxerces2-java-2.9.1
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building libxerces2-java using existing libxerces2-java_2.9.1.orig.tar.gz
dpkg-source: info: building libxerces2-java in libxerces2-java_2.9.1-4.1.diff.gz
dpkg-source: warning: file libxerces2-java-2.9.1/debian/pom.xml has no final newline (either original or modified version)
dpkg-source: info: building libxerces2-java in libxerces2-java_2.9.1-4.1.dsc
 debian/rules build
/usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING:  simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead
test -x debian/rules
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/tmp/libxerces2-java-2.9.1'
/usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING:  simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/libxerces2-java-2.9.1'
if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/01_xjavac_taskdef.patch debian/patches/02_build_dont_unzip.patch debian/patches/03_bootclasspath.patch debian/patches/04_CVE-2009-2625.patch
Trying patch debian/patches/01_xjavac_taskdef.patch at level 1 ... 0 ... success.
Trying patch debian/patches/02_build_dont_unzip.patch at level 1 ... 0 ... success.
Trying patch debian/patches/03_bootclasspath.patch at level 1 ... 0 ... success.
Trying patch debian/patches/04_CVE-2009-2625.patch at level 1 ... success.
if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi
if [ "debian/stamp-patched" != "reverse-patches" ] ; then \
		/usr/bin/make -f debian/rules update-config ; \
	fi
make[1]: Entering directory `/tmp/libxerces2-java-2.9.1'
/usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING:  simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/tmp/libxerces2-java-2.9.1'
cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4 -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true    -propertyfile /tmp/libxerces2-java-2.9.1/debian/ant.properties jar sampjar javadocs 
Buildfile: /tmp/libxerces2-java-2.9.1/build.xml

init:
     [echo] ---------------- Xerces-J 2.9.1 [1999-2007] ---------------

prepare:
    [mkdir] Created dir: /tmp/libxerces2-java-2.9.1/build

prepare-common:
    [mkdir] Created dir: /tmp/libxerces2-java-2.9.1/build/src
    [mkdir] Created dir: /tmp/libxerces2-java-2.9.1/build/classes
    [mkdir] Created dir: /tmp/libxerces2-java-2.9.1/build/classes/META-INF
    [mkdir] Created dir: /tmp/libxerces2-java-2.9.1/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/libxerces2-java-2.9.1/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/libxerces2-java-2.9.1/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/libxerces2-java-2.9.1/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/libxerces2-java-2.9.1/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/libxerces2-java-2.9.1/build/classes/META-INF/services

prepare-src:
     [copy] Copying 1 file to /tmp/libxerces2-java-2.9.1/build/classes/META-INF/services
     [copy] Copying 692 files to /tmp/libxerces2-java-2.9.1/build/src

compile:
     [copy] Copying 13 files to /tmp/libxerces2-java-2.9.1/build/classes
   [xjavac] Compiling 667 source files to /tmp/libxerces2-java-2.9.1/build/classes
   [xjavac] XMLCatalogResolver.java:40: package org.apache.xml.resolver does not exist
   [xjavac] import org.apache.xml.resolver.Catalog;
   [xjavac]                               ^
   [xjavac] XMLCatalogResolver.java:41: package org.apache.xml.resolver does not exist
   [xjavac] import org.apache.xml.resolver.CatalogManager;
   [xjavac]                               ^
   [xjavac] XMLCatalogResolver.java:42: package org.apache.xml.resolver.readers does not exist
   [xjavac] import org.apache.xml.resolver.readers.OASISXMLCatalogReader;
   [xjavac]                                       ^
   [xjavac] XMLCatalogResolver.java:43: package org.apache.xml.resolver.readers does not exist
   [xjavac] import org.apache.xml.resolver.readers.SAXCatalogReader;
   [xjavac]                                       ^
   [xjavac] XMLCatalogResolver.java:69: cannot find symbol
   [xjavac] symbol  : class CatalogManager
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]     private CatalogManager fResolverCatalogManager = null;
   [xjavac]             ^
   [xjavac] XMLCatalogResolver.java:72: cannot find symbol
   [xjavac] symbol  : class Catalog
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]     private Catalog fCatalog = null;
   [xjavac]             ^
   [xjavac] XMLCatalogResolver.java:573: cannot find symbol
   [xjavac] symbol  : class Catalog
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]     private void attachReaderToCatalog (Catalog catalog) {
   [xjavac]                                         ^
   [xjavac] XMLCatalogResolver.java:537: cannot find symbol
   [xjavac] symbol  : class CatalogManager
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]         fResolverCatalogManager = new CatalogManager();
   [xjavac]                                       ^
   [xjavac] XMLCatalogResolver.java:556: cannot find symbol
   [xjavac] symbol  : class Catalog
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]             fCatalog = new Catalog(fResolverCatalogManager);
   [xjavac]                            ^
   [xjavac] XMLCatalogResolver.java:579: cannot find symbol
   [xjavac] symbol  : class SAXCatalogReader
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]         SAXCatalogReader saxReader = new SAXCatalogReader(spf);
   [xjavac]         ^
   [xjavac] XMLCatalogResolver.java:579: cannot find symbol
   [xjavac] symbol  : class SAXCatalogReader
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]         SAXCatalogReader saxReader = new SAXCatalogReader(spf);
   [xjavac]                                          ^
   [xjavac] XMLCatalogResolver.java:580: cannot find symbol
   [xjavac] symbol  : variable OASISXMLCatalogReader
   [xjavac] location: class org.apache.xerces.util.XMLCatalogResolver
   [xjavac]         saxReader.setCatalogParser(OASISXMLCatalogReader.namespaceName, "catalog", 
   [xjavac]                                    ^
   [xjavac] Note: Some input files use or override a deprecated API.
   [xjavac] Note: Recompile with -Xlint:deprecation for details.
   [xjavac] 12 errors

BUILD FAILED
/tmp/libxerces2-java-2.9.1/build.xml:274: Compile failed; see the compiler error output for details.

Total time: 9 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Script done on Fri 19 Aug 2011 09:06:19 PM UTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20110819/32a8a700/attachment-0001.pgp>


More information about the pkg-java-maintainers mailing list