Bug#1022416: apache-opennlp: FTBFS: make: *** [debian/rules:8: build] Error 25

Lucas Nussbaum lucas at debian.org
Sun Oct 23 14:14:31 BST 2022


Source: apache-opennlp
Version: 2.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 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>>'
> dh_auto_configure
> 	mh_patchpoms -plibapache-opennlp-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> [ERROR] Cannot find parent dependency org.apache:apache:pom:18, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
> [ERROR] Cannot find parent dependency org.apache.opennlp:opennlp:pom:2.0.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
> [ERROR] Cannot find parent dependency org.apache.opennlp:opennlp:pom:2.0.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
> mkdir --parents debian/maven-repo/org/apache/opennlp/opennlp-tools/debian
> test -e debian/maven-repo/org/apache/opennlp/opennlp-tools/debian/opennlp-tools-debian.pom || \
> 	ln -s ../../../../../../../opennlp-tools/pom.xml \
> 	debian/maven-repo/org/apache/opennlp/opennlp-tools/debian/opennlp-tools-debian.pom
> test -e debian/maven-repo/org/apache/opennlp/opennlp-tools/debian/opennlp-tools-debian.jar || \
> 	ln -s ../../../../../../../opennlp-tools/target/opennlp-tools-2.0.0.jar \
> 	debian/maven-repo/org/apache/opennlp/opennlp-tools/debian/opennlp-tools-debian.jar
> 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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] Invalid packaging for parent POM org.apache:apache:18, must be "pom" but is "jar" @ org.apache:apache:18
>  @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.opennlp:opennlp:2.0.0 (/<<PKGBUILDDIR>>/pom.xml) has 1 error
> [ERROR]     Invalid packaging for parent POM org.apache:apache:18, must be "pom" but is "jar" @ org.apache:apache:18
> [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/ProjectBuildingException
> 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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:8: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/apache-opennlp_2.0.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&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 debian-science-maintainers mailing list