Bug#545642: ehcache: FTBFS: package org.hibernate.cache does not exist

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Sep 8 09:44:04 UTC 2009


Package: ehcache
Version: 1.5.0+dak1-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20090907 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  /usr/bin/fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> dh_clean 
> 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/commons-logging.jar:/usr/share/java/servlet-api-2.4.jar:/usr/share/java/backport-util-concurrent.jar:/usr/share/java/jsr107cache.jar:/usr/share/java/commons-collections3.jar:/usr/share/java/jgroups-all.jar:/usr/lib/jvm/default-java//lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true   -buildfile debian/build.xml  clean
> Buildfile: debian/build.xml
> 
> clean:
> 
> BUILD SUCCESSFUL
> Total time: 0 seconds
> rm -f debian/stamp-ant-build
>  dpkg-source -b ehcache-1.5.0+dak1
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building ehcache using existing ehcache_1.5.0+dak1.orig.tar.gz
> dpkg-source: info: building ehcache in ehcache_1.5.0+dak1-2.diff.gz
> dpkg-source: info: building ehcache in ehcache_1.5.0+dak1-2.dsc
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> 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/commons-logging.jar:/usr/share/java/servlet-api-2.4.jar:/usr/share/java/backport-util-concurrent.jar:/usr/share/java/jsr107cache.jar:/usr/share/java/commons-collections3.jar:/usr/share/java/jgroups-all.jar:/usr/lib/jvm/default-java//lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true   -buildfile debian/build.xml  jar
> Buildfile: debian/build.xml
> 
> init:
>     [mkdir] Created dir: /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/target/classes
> 
> compile:
>     [javac] Compiling 120 source files to /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/target/classes
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:22: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.Cache;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:23: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.CacheException;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:24: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.Timestamper;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:45: cannot find symbol
>     [javac] symbol: class Cache
>     [javac] public final class EhCache implements Cache {
>     [javac]                                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:74: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final Object get(Object key) throws CacheException {
>     [javac]                                                ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:104: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final Object read(Object key) throws CacheException {
>     [javac]                                                 ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:116: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final void update(Object key, Object value) throws CacheException {
>     [javac]                                                               ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:127: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final void put(Object key, Object value) throws CacheException {
>     [javac]                                                            ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:147: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final void remove(Object key) throws CacheException {
>     [javac]                                                 ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:162: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final void clear() throws CacheException {
>     [javac]                                      ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:176: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final void destroy() throws CacheException {
>     [javac]                                        ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:196: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final void lock(Object key) throws CacheException {
>     [javac]                                               ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:205: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]     public final void unlock(Object key) throws CacheException {
>     [javac]                                                 ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:22: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.Cache;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:23: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.CacheException;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:24: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.CacheProvider;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:25: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.Timestamper;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:55: cannot find symbol
>     [javac] symbol: class CacheProvider
>     [javac] public final class EhCacheProvider implements CacheProvider {
>     [javac]                                               ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:85: cannot find symbol
>     [javac] symbol  : class Cache
>     [javac] location: class net.sf.ehcache.hibernate.EhCacheProvider
>     [javac]     public final Cache buildCache(String name, Properties properties) throws CacheException {
>     [javac]                  ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:85: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCacheProvider
>     [javac]     public final Cache buildCache(String name, Properties properties) throws CacheException {
>     [javac]                                                                              ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:114: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCacheProvider
>     [javac]     public final void start(Properties properties) throws CacheException {
>     [javac]                                                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:22: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.Cache;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:23: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.CacheException;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:24: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.CacheProvider;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:25: package org.hibernate.cache does not exist
>     [javac] import org.hibernate.cache.Timestamper;
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:51: cannot find symbol
>     [javac] symbol: class CacheProvider
>     [javac] public final class SingletonEhCacheProvider implements CacheProvider {
>     [javac]                                                        ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:87: cannot find symbol
>     [javac] symbol  : class Cache
>     [javac] location: class net.sf.ehcache.hibernate.SingletonEhCacheProvider
>     [javac]     public final Cache buildCache(String name, Properties properties) throws CacheException {
>     [javac]                  ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:87: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.SingletonEhCacheProvider
>     [javac]     public final Cache buildCache(String name, Properties properties) throws CacheException {
>     [javac]                                                                              ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:117: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.SingletonEhCacheProvider
>     [javac]     public final void start(Properties properties) throws CacheException {
>     [javac]                                                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:93: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:132: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:134: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:151: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:153: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:166: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:186: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:213: cannot find symbol
>     [javac] symbol  : variable Timestamper
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]         return Timestamper.next();
>     [javac]                ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:221: cannot find symbol
>     [javac] symbol  : variable Timestamper
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]         return Timestamper.ONE_MS * SIXTY_THOUSAND_MS;
>     [javac]                ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:254: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(ce);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCache.java:279: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCache
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:96: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCacheProvider
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:104: cannot find symbol
>     [javac] symbol  : variable Timestamper
>     [javac] location: class net.sf.ehcache.hibernate.EhCacheProvider
>     [javac]         return Timestamper.next();
>     [javac]                ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/EhCacheProvider.java:135: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.EhCacheProvider
>     [javac]                 throw new CacheException("Attempt to restart an already started EhCacheProvider. Use sessionFactory.close() " +
>     [javac]                           ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:99: cannot find symbol
>     [javac] symbol  : class CacheException
>     [javac] location: class net.sf.ehcache.hibernate.SingletonEhCacheProvider
>     [javac]             throw new CacheException(e);
>     [javac]                       ^
>     [javac] /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/hibernate/SingletonEhCacheProvider.java:107: cannot find symbol
>     [javac] symbol  : variable Timestamper
>     [javac] location: class net.sf.ehcache.hibernate.SingletonEhCacheProvider
>     [javac]         return Timestamper.next();
>     [javac]                ^
>     [javac] Note: /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/net/sf/ehcache/store/LruMemoryStore.java uses or overrides 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] 45 errors
> 
> BUILD FAILED
> /build/user-ehcache_1.5.0+dak1-2-amd64-0MM2NW/ehcache-1.5.0+dak1/debian/build.xml:17: Compile failed; see the compiler error output for details.
> 
> Total time: 3 seconds
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/09/07/ehcache_1.5.0+dak1-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-java-maintainers mailing list