Bug#1021534: jbig2-imageio: FTBFS: Cannot find parent dependency org.apache:apache:pom:18

Andreas Beckmann anbe at debian.org
Mon Oct 10 10:47:47 BST 2022


Source: jbig2-imageio
Version: 3.0.3-1~exp1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

jbig2-imageio recently started to FTBFS. Previous rebuilds in February
and May were still successful.

 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
        mh_patchpoms -plibjbig2-imageio-java --debian-build --keep-pom-version --maven-repo=/build/jbig2-imageio-3.0.3/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
   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/jbig2-imageio-3.0.3 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/jbig2-imageio-3.0.3/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/jbig2-imageio-3.0.3/debian -Dmaven.repo.local=/build/jbig2-imageio-3.0.3/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
[ESC[1;34mINFOESC[m] Scanning for projects...
[ESC[1;31mERRORESC[m] [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
 @ 
[ESC[1;31mERRORESC[m] The build could not read 1 project -> ESC[1m[Help 1]ESC[m
[ESC[1;31mERRORESC[m]   
[ESC[1;31mERRORESC[m]   The project org.apache.pdfbox:jbig2-imageio:3.0.3 (/build/jbig2-imageio-3.0.3/pom.xml) has 1 error
[ESC[1;31mERRORESC[m]     Invalid packaging for parent POM org.apache:apache:18, must be "pom" but is "jar" @ org.apache:apache:18
[ESC[1;31mERRORESC[m] 
[ESC[1;31mERRORESC[m] To see the full stack trace of the errors, re-run Maven with the ESC[1m-eESC[m switch.
[ESC[1;31mERRORESC[m] Re-run Maven using the ESC[1m-XESC[m switch to enable full debug logging.
[ESC[1;31mERRORESC[m] 
[ESC[1;31mERRORESC[m] For more information about the errors and possible solutions, please read the following articles:
[ESC[1;31mERRORESC[m] ESC[1m[Help 1]ESC[m http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
ESC[0mESC[0mdh_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=/build/jbig2-imageio-3.0.3 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/jbig2-imageio-3.0.3/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/jbig2-imageio-3.0.3/debian -Dmaven.repo.local=/build/jbig2-imageio-3.0.3/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: binary] Error 25


Andreas



More information about the pkg-java-maintainers mailing list