Bug#828825: osgi-compendium: FTBFS: package javax.persistence does not exist

Daniel Schepler dschepler at gmail.com
Tue Jun 28 07:27:19 UTC 2016


Source: osgi-compendium
Version: 5.0.0-4
Severity: serious

>From my pbuilder build log:

...
   jh_build
find org -name *.java -and -type f -print0 | xargs -s 512000 -0
/usr/lib/jvm/default-java/bin/javac -g -cp
/usr/share/java/osgi.core.jar:/usr/share/java/servlet-api-3.1.jar:/usr/share/java/ee.foundation.jar:/usr/share/java/geronimo-jpa-2.0-spec.jar:debian/_jh_build.osgi.compendium
-d debian/_jh_build.osgi.compendium -source 1.5 -target 1.5
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in
a future release
warning: [options] target value 1.5 is obsolete and will be removed in
a future release
warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
org/osgi/service/dmt/spi/DataPlugin.java:60: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???dataRootURIs??? property when an
                                            ^
org/osgi/service/dmt/spi/DataPlugin.java:60: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???dataRootURIs??? property when an
                                             ^
org/osgi/service/dmt/spi/DataPlugin.java:60: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???dataRootURIs??? property when an
                                              ^
org/osgi/service/dmt/spi/DataPlugin.java:60: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???dataRootURIs??? property when an
                                                           ^
org/osgi/service/dmt/spi/DataPlugin.java:60: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???dataRootURIs??? property when an
                                                            ^
org/osgi/service/dmt/spi/DataPlugin.java:60: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???dataRootURIs??? property when an
                                                             ^
org/osgi/service/dmt/spi/ExecPlugin.java:41: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???execRootURIs??? property when an
                                            ^
org/osgi/service/dmt/spi/ExecPlugin.java:41: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???execRootURIs??? property when an
                                             ^
org/osgi/service/dmt/spi/ExecPlugin.java:41: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???execRootURIs??? property when an
                                              ^
org/osgi/service/dmt/spi/ExecPlugin.java:41: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???execRootURIs??? property when an
                                                           ^
org/osgi/service/dmt/spi/ExecPlugin.java:41: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???execRootURIs??? property when an
                                                            ^
org/osgi/service/dmt/spi/ExecPlugin.java:41: warning: unmappable
character for encoding ASCII
     * The string to be used as key for the ???execRootURIs??? property when an
                                                             ^
org/osgi/service/jpa/EntityManagerFactoryBuilder.java:20: error:
package javax.persistence does not exist
import javax.persistence.EntityManagerFactory;
                        ^
org/osgi/service/jpa/EntityManagerFactoryBuilder.java:64: error:
cannot find symbol
    EntityManagerFactory createEntityManagerFactory(Map<String, Object> props);
    ^
  symbol:   class EntityManagerFactory
  location: interface EntityManagerFactoryBuilder
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
16 warnings
debian/rules:12: recipe for target 'build' failed
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the pkg-java-maintainers mailing list