Bug#946306: jsonld-java: FTBFS in sid

Gianfranco Costamagna locutusofborg at debian.org
Fri Dec 6 21:07:45 GMT 2019


Source: jsonld-java
Version: 0.13.0-1
Severity: serious

Hello, looks like jsonld-java is now FTBFS in sid

Can you please have a look?

I: Running cd /build/jsonld-java-0.13.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc 
dpkg-buildpackage: info: source package jsonld-java
dpkg-buildpackage: info: source version 0.13.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andrius Merkys <merkys at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   dh_auto_clean
	bash -c "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
	mh_unpatchpoms -plibjsonld-java
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building jsonld-java using existing ./jsonld-java_0.13.0.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building jsonld-java in jsonld-java_0.13.0-1.debian.tar.xz
dpkg-source: info: building jsonld-java in jsonld-java_0.13.0-1.dsc
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	mh_patchpoms -plibjsonld-java --debian-build --keep-pom-version --maven-repo=/build/jsonld-java-0.13.0/debian/maven-repo
   dh_auto_build
	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/jsonld-java-0.13.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/jsonld-java-0.13.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/jsonld-java-0.13.0/debian -Dmaven.repo.local=/build/jsonld-java-0.13.0/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.github.jsonld-java:jsonld-java:bundle:0.13.0
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpclient:jar -> duplicate declaration of version debian @ com.github.jsonld-java:jsonld-java-parent:0.13.0, /build/jsonld-java-0.13.0/pom.xml, line 121, column 16
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.github.jsonld-java:jsonld-java-parent:pom:0.13.0
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpclient:jar -> duplicate declaration of version debian @ line 121, column 16
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] JSONLD Java :: Parent                                              [pom]
[INFO] JSONLD Java :: Core                                             [bundle]
[INFO] 
[INFO] -------------< com.github.jsonld-java:jsonld-java-parent >--------------
[INFO] Building JSONLD Java :: Parent 0.13.0                              [1/2]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] -----------------< com.github.jsonld-java:jsonld-java >-----------------
[INFO] Building JSONLD Java :: Core 0.13.0                                [2/2]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jsonld-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /build/jsonld-java-0.13.0/core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jsonld-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /build/jsonld-java-0.13.0/core/target/classes
[INFO] /build/jsonld-java-0.13.0/core/src/main/java/com/github/jsonldjava/utils/JsonUtils.java: /build/jsonld-java-0.13.0/core/src/main/java/com/github/jsonldjava/utils/JsonUtils.java uses or overrides a deprecated API.
[INFO] /build/jsonld-java-0.13.0/core/src/main/java/com/github/jsonldjava/utils/JsonUtils.java: Recompile with -Xlint:deprecation for details.
[INFO] /build/jsonld-java-0.13.0/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java: Some input files use unchecked or unsafe operations.
[INFO] /build/jsonld-java-0.13.0/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jsonld-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1085 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jsonld-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to /build/jsonld-java-0.13.0/core/target/test-classes
[INFO] /build/jsonld-java-0.13.0/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /build/jsonld-java-0.13.0/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jsonld-java ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @ jsonld-java ---
[INFO] 
[INFO] --- maven-shade-plugin:3.1.1:shade (default) @ jsonld-java ---
[INFO] Excluding com.fasterxml.jackson.core:jackson-core:jar:2.x from the shaded jar.
[INFO] Excluding com.fasterxml.jackson.core:jackson-databind:jar:2.x from the shaded jar.
[INFO] Excluding com.fasterxml.jackson.core:jackson-annotations:jar:2.x from the shaded jar.
[INFO] Excluding org.apache.httpcomponents:httpclient:jar:debian from the shaded jar.
[INFO] Excluding org.apache.httpcomponents:httpcore:jar:debian from the shaded jar.
[INFO] Excluding commons-codec:commons-codec:jar:debian from the shaded jar.
[INFO] Excluding org.apache.httpcomponents:httpclient-cache:jar:debian from the shaded jar.
[INFO] Excluding org.slf4j:slf4j-api:jar:debian from the shaded jar.
[INFO] Excluding org.slf4j:jcl-over-slf4j:jar:debian from the shaded jar.
[INFO] Excluding commons-io:commons-io:jar:debian from the shaded jar.
[INFO] Including com.google.guava:guava:jar:debian in the shaded jar.
[INFO] Minimizing jar com.github.jsonld-java:jsonld-java:bundle:0.13.0
[INFO] Minimized 1773 -> 978 (55%)
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /build/jsonld-java-0.13.0/core/target/jsonld-java-0.13.0.jar with /build/jsonld-java-0.13.0/core/target/jsonld-java-0.13.0-shaded.jar
[INFO] Dependency-reduced POM written at: /build/jsonld-java-0.13.0/core/dependency-reduced-pom.xml
[INFO] 
[INFO] --- maven-jar-plugin:3.1.2:test-jar (default) @ jsonld-java ---
[INFO] Building jar: /build/jsonld-java-0.13.0/core/target/jsonld-java-0.13.0-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JSONLD Java :: Parent 0.13.0:
[INFO] 
[INFO] JSONLD Java :: Parent .............................. SUCCESS [  0.004 s]
[INFO] JSONLD Java :: Core ................................ SUCCESS [ 10.950 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.216 s
[INFO] Finished at: 2019-12-06T21:02:16Z
[INFO] ------------------------------------------------------------------------
   dh_auto_test
	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/jsonld-java-0.13.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/jsonld-java-0.13.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/jsonld-java-0.13.0/debian -Dmaven.repo.local=/build/jsonld-java-0.13.0/debian/maven-repo test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.github.jsonld-java:jsonld-java:bundle:0.13.0
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpclient:jar -> duplicate declaration of version debian @ com.github.jsonld-java:jsonld-java-parent:0.13.0, /build/jsonld-java-0.13.0/pom.xml, line 121, column 16
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.github.jsonld-java:jsonld-java-parent:pom:0.13.0
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpclient:jar -> duplicate declaration of version debian @ line 121, column 16
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] JSONLD Java :: Parent                                              [pom]
[INFO] JSONLD Java :: Core                                             [bundle]
[INFO] 
[INFO] -------------< com.github.jsonld-java:jsonld-java-parent >--------------
[INFO] Building JSONLD Java :: Parent 0.13.0                              [1/2]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] -----------------< com.github.jsonld-java:jsonld-java >-----------------
[INFO] Building JSONLD Java :: Core 0.13.0                                [2/2]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jsonld-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /build/jsonld-java-0.13.0/core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jsonld-java ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jsonld-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1085 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jsonld-java ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jsonld-java ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.github.jsonldjava.utils.JarCacheTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.162 s - in com.github.jsonldjava.utils.JarCacheTest
[INFO] Running com.github.jsonldjava.utils.JsonUtilsTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in com.github.jsonldjava.utils.JsonUtilsTest
[INFO] Running com.github.jsonldjava.core.LocalBaseTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.03 s <<< FAILURE! - in com.github.jsonldjava.core.LocalBaseTest
[ERROR] testMixedLocalRemoteBaseLocalContextFirst(com.github.jsonldjava.core.LocalBaseTest)  Time elapsed: 0.024 s  <<< ERROR!
com.github.jsonldjava.core.JsonLdError: loading remote context failed: https://raw.githubusercontent.com/monarch-initiative/monarch-app/master/conf/monarch-context.jsonld
	at com.github.jsonldjava.core.LocalBaseTest.testMixedLocalRemoteBaseLocalContextFirst(LocalBaseTest.java:47)
Caused by: java.net.UnknownHostException: raw.githubusercontent.com: Temporary failure in name resolution
	at com.github.jsonldjava.core.LocalBaseTest.testMixedLocalRemoteBaseLocalContextFirst(LocalBaseTest.java:47)

[ERROR] testMixedLocalRemoteBaseRemoteContextFirst(com.github.jsonldjava.core.LocalBaseTest)  Time elapsed: 0.005 s  <<< ERROR!
com.github.jsonldjava.core.JsonLdError: loading remote context failed: https://raw.githubusercontent.com/monarch-initiative/monarch-app/master/conf/monarch-context.jsonld
	at com.github.jsonldjava.core.LocalBaseTest.testMixedLocalRemoteBaseRemoteContextFirst(LocalBaseTest.java:26)
Caused by: java.net.UnknownHostException: raw.githubusercontent.com
	at com.github.jsonldjava.core.LocalBaseTest.testMixedLocalRemoteBaseRemoteContextFirst(LocalBaseTest.java:26)

[INFO] Running com.github.jsonldjava.core.DocumentLoaderTest
[WARNING] Tests run: 21, Failures: 0, Errors: 0, Skipped: 9, Time elapsed: 0.972 s - in com.github.jsonldjava.core.DocumentLoaderTest
[INFO] Running com.github.jsonldjava.core.ContextCompactionTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in com.github.jsonldjava.core.ContextCompactionTest
[INFO] Running com.github.jsonldjava.core.JsonLdPerformanceTest
[WARNING] Tests run: 10, Failures: 0, Errors: 0, Skipped: 9, Time elapsed: 0.015 s - in com.github.jsonldjava.core.JsonLdPerformanceTest
[INFO] Running com.github.jsonldjava.core.ContextTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in com.github.jsonldjava.core.ContextTest
[INFO] Running com.github.jsonldjava.core.NodeCompareTest
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s - in com.github.jsonldjava.core.NodeCompareTest
[INFO] Running com.github.jsonldjava.core.JsonLdProcessorTest
[INFO] Tests run: 472, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.572 s - in com.github.jsonldjava.core.JsonLdProcessorTest
[INFO] Running com.github.jsonldjava.core.ArrayContextToRDFTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.github.jsonldjava.core.ArrayContextToRDFTest
[INFO] Running com.github.jsonldjava.core.RegexTest
[INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.414 s - in com.github.jsonldjava.core.RegexTest
[INFO] Running com.github.jsonldjava.core.LongestPrefixTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.github.jsonldjava.core.LongestPrefixTest
[INFO] Running com.github.jsonldjava.core.QuadCompareTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.github.jsonldjava.core.QuadCompareTest
[INFO] Running com.github.jsonldjava.core.JsonLdFramingTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in com.github.jsonldjava.core.JsonLdFramingTest
[INFO] Running com.github.jsonldjava.core.MinimalSchemaOrgRegressionTest
[WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.001 s - in com.github.jsonldjava.core.MinimalSchemaOrgRegressionTest
[INFO] Running com.github.jsonldjava.core.DecimalLiteralCanonicalTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.github.jsonldjava.core.DecimalLiteralCanonicalTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   LocalBaseTest.testMixedLocalRemoteBaseLocalContextFirst:47 ? JsonLd loading re...
[ERROR]   LocalBaseTest.testMixedLocalRemoteBaseRemoteContextFirst:26 ? JsonLd loading r...
[INFO] 
[ERROR] Tests run: 597, Failures: 0, Errors: 2, Skipped: 21
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JSONLD Java :: Parent 0.13.0:
[INFO] 
[INFO] JSONLD Java :: Parent .............................. SUCCESS [  0.010 s]
[INFO] JSONLD Java :: Core ................................ FAILURE [ 11.101 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.239 s
[INFO] Finished at: 2019-12-06T21:02:31Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project jsonld-java: There are test failures.
[ERROR] 
[ERROR] Please refer to /build/jsonld-java-0.13.0/core/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :jsonld-java
dh_auto_test: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/jsonld-java-0.13.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/jsonld-java-0.13.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/jsonld-java-0.13.0/debian -Dmaven.repo.local=/build/jsonld-java-0.13.0/debian/maven-repo test returned exit code 1
make: *** [debian/rules:4: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration


G.



More information about the pkg-java-maintainers mailing list