[Debichem-devel] Bug#1013591: oscar4: FTBFS: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources

Lucas Nussbaum lucas at debian.org
Fri Jun 24 12:17:55 BST 2022


Source: oscar4
Version: 5.1.2+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ln -fs /usr/share/EMBOSS/data/OBO/chebi.obo oscar4-obo/src/main/resources/uk/ac/cam/ch/wwmm/oscar/obo/terms/chebi.obo
> ln -s oscar4-tokeniser oscar4-tokenizer
> dh_auto_configure
> 	mh_patchpoms -pliboscar4-java --debian-build --keep-pom-version --maven-repo=/<<BUILDDIR>>/oscar4-5.1.2\+dfsg/debian/maven-repo
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    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=/<<BUILDDIR>>/oscar4-5.1.2\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/oscar4-5.1.2\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/oscar4-5.1.2\+dfsg/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] oscar4-parent                                                      [pom]
> [INFO] oscar4-core                                                        [jar]
> [INFO] Chemical Name Dictionaries                                         [jar]
> [INFO] oscar4-obo                                                         [jar]
> [INFO] oscar4-tokenizer                                                   [jar]
> [INFO] oscar4-recogniser-core                                             [jar]
> [INFO] oscar4-memmrecogniser                                              [jar]
> [INFO] oscar4-patternrecogniser                                           [jar]
> [INFO] oscar4-opsin                                                       [jar]
> [INFO] oscar4-api                                                         [jar]
> [INFO] oscar4-preprocessor                                                [jar]
> [INFO] oscar4-formatter                                                   [jar]
> [INFO] oscar4-data                                                        [jar]
> [INFO] 
> [INFO] -------------------< uk.ac.cam.ch.wwmm.oscar:oscar4 >-------------------
> [INFO] Building oscar4-parent 5.1.2                                      [1/13]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ oscar4 ---
> [INFO] 
> [INFO] ----------------< uk.ac.cam.ch.wwmm.oscar:oscar4-core >-----------------
> [INFO] Building oscar4-core 5.1.2                                        [2/13]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ oscar4-core ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ oscar4-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 11 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ oscar4-core ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 29 source files to /<<PKGBUILDDIR>>/oscar4-core/target/classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/oscar4-core/src/main/java/uk/ac/cam/ch/wwmm/oscar/document/NamedEntity.java: /<<PKGBUILDDIR>>/oscar4-core/src/main/java/uk/ac/cam/ch/wwmm/oscar/document/NamedEntity.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/oscar4-core/src/main/java/uk/ac/cam/ch/wwmm/oscar/document/NamedEntity.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ oscar4-core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 6 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ oscar4-core ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 14 source files to /<<PKGBUILDDIR>>/oscar4-core/target/test-classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ oscar4-core ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ oscar4-core ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/oscar4-core/target/oscar4-core-5.1.2.jar
> [INFO] 
> [INFO] ------------< uk.ac.cam.ch.wwmm.oscar:oscar4-chemnamedict >-------------
> [INFO] Building Chemical Name Dictionaries 5.1.2                         [3/13]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ oscar4-chemnamedict ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ oscar4-chemnamedict ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ oscar4-chemnamedict ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 26 source files to /<<PKGBUILDDIR>>/oscar4-chemnamedict/target/classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/oscar4-chemnamedict/src/main/java/uk/ac/cam/ch/wwmm/oscar/chemnamedict/core/ImmutableChemNameDict.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/oscar4-chemnamedict/src/main/java/uk/ac/cam/ch/wwmm/oscar/chemnamedict/core/ImmutableChemNameDict.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ oscar4-chemnamedict ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ oscar4-chemnamedict ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 10 source files to /<<PKGBUILDDIR>>/oscar4-chemnamedict/target/test-classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ oscar4-chemnamedict ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ oscar4-chemnamedict ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/oscar4-chemnamedict/target/oscar4-chemnamedict-5.1.2.jar
> [INFO] 
> [INFO] -----------------< uk.ac.cam.ch.wwmm.oscar:oscar4-obo >-----------------
> [INFO] Building oscar4-obo 5.1.2                                         [4/13]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ oscar4-obo ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ oscar4-obo ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 6 resources
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for oscar4-parent 5.1.2:
> [INFO] 
> [INFO] oscar4-parent ...................................... SUCCESS [  0.265 s]
> [INFO] oscar4-core ........................................ SUCCESS [  2.015 s]
> [INFO] Chemical Name Dictionaries ......................... SUCCESS [  0.748 s]
> [INFO] oscar4-obo ......................................... FAILURE [  0.023 s]
> [INFO] oscar4-tokenizer ................................... SKIPPED
> [INFO] oscar4-recogniser-core ............................. SKIPPED
> [INFO] oscar4-memmrecogniser .............................. SKIPPED
> [INFO] oscar4-patternrecogniser ........................... SKIPPED
> [INFO] oscar4-opsin ....................................... SKIPPED
> [INFO] oscar4-api ......................................... SKIPPED
> [INFO] oscar4-preprocessor ................................ SKIPPED
> [INFO] oscar4-formatter ................................... SKIPPED
> [INFO] oscar4-data ........................................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  3.178 s
> [INFO] Finished at: 2022-06-24T05:47:03Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources (default-resources) on project oscar4-obo: /<<PKGBUILDDIR>>/oscar4-obo/target/classes/uk/ac/cam/ch/wwmm/oscar/obo/terms/chebi.obo: Operation not permitted -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :oscar4-obo
> dh_auto_build: error: /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=/<<BUILDDIR>>/oscar4-5.1.2\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/oscar4-5.1.2\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/oscar4-5.1.2\+dfsg/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/oscar4_5.1.2+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debichem-devel mailing list