Bug#533461: glassfish: FTBFS: package javax.management.j2ee.statistics does not exist
Daniel Schepler
dschepler at gmail.com
Wed Jun 17 19:43:13 UTC 2009
Package: glassfish
Version: 1:2ur2-b04-2
Severity: serious
From my pbuilder build log:
...
all:
init:
[mkdir] Created dir: /tmp/buildd/glassfish-2ur2-b04/appserv-api/build
compile:
[javac] Compiling 523 source files to /tmp/buildd/glassfish-2ur2-b04/appserv-api/build
[javac] /tmp/buildd/glassfish-2ur2-b04/appserv-api/src/java/com/sun/appserv/management/monitor/MonitoringStats.java:39: package javax.management.j2ee.statistics does not exist
[javac] import javax.management.j2ee.statistics.Stats;
[javac] ^
[javac] /tmp/buildd/glassfish-2ur2-b04/appserv-api/src/java/com/sun/appserv/management/monitor/MonitoringStats.java:40: package javax.management.j2ee.statistics does not exist
[javac] import javax.management.j2ee.statistics.Statistic;
...
[javac] /tmp/buildd/glassfish-2ur2-b04/appserv-api/src/java/com/sun/appserv/management/util/misc/PackageStringSources.java:89: warning: [unchecked] unchecked call to getConstructor(java.lang.Class<?>...) as a
member of the raw type java.lang.Class
[javac] final Constructor c = packageStringSourceClass.getConstructor( new Class[] { StringSource.class } );
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 100 errors
[javac] 16 warnings
BUILD FAILED
/tmp/buildd/glassfish-2ur2-b04/debian/build.xml:62: The following error occurred while executing this line:
/tmp/buildd/glassfish-2ur2-b04/appserv-api/build.xml:88: Compile failed; see the compiler error output for details.
Total time: 39 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
If I install libservlet2.3-java as well as the listed Build-Depends, then
the package builds fine.
--
Daniel Schepler
More information about the pkg-java-maintainers
mailing list