Bug#906350: doxia: FTBFS in buster/sid (Cannot find parent dependency org.apache.maven:maven-parent:pom:27)

2018-08-29 Thread Markus Koschany
Control: tags -1 confirmed


> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.maven.doxia:doxia:1.7 
> (/<>/pom.xml) has 1 error
> [ERROR] Invalid packaging for parent POM 
> org.apache.maven:maven-parent:27, must be "pom" but is "jar" @ 
> org.apache.maven:maven-parent:27

This issue was caused by the relocation of org.apache.maven:maven-parent
in libmaven-parent-java. The relocated pom.xml file is of type jar now
instead of type pom. This should be fixed in maven-debian-helper or in
libmaven-parent-java in my opinion.

See also #907554.

Markus



signature.asc
Description: OpenPGP digital signature


Bug#906350: doxia: FTBFS in buster/sid (Cannot find parent dependency org.apache.maven:maven-parent:pom:27)

2018-08-17 Thread Santiago Vila
Package: src:doxia
Version: 1.7-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:


[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
mh_patchpoms -plibdoxia-java --debian-build --keep-pom-version 
--maven-repo=/<>/debian/maven-repo
[ERROR] Cannot find parent dependency org.apache.maven:maven-parent:pom:27, use 
--no-parent option to resolve this issue or install the parent POM in the Maven 
repository
[ERROR] Cannot find parent dependency org.apache.maven.doxia:doxia:pom:1.7, use 
--no-parent option to resolve this issue or install the parent POM in the Maven 
repository
[ERROR] Cannot find parent dependency org.apache.maven.doxia:doxia:pom:1.7, use 
--no-parent option to resolve this issue or install the parent POM in the Maven 
repository
[ERROR] Cannot find parent dependency org.apache.maven.doxia:doxia:pom:1.7, use 
--no-parent option to resolve this issue or install the parent POM in the Maven 
repository
[ERROR] Cannot find parent dependency org.apache.maven.doxia:doxia:pom:1.7, use 
--no-parent option to resolve this issue or install the parent POM in the Maven 
repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency 
org.apache.maven.doxia:doxia-modules:pom:1.7, use --no-parent option to resolve 
this issue or install the parent POM in the Maven repository
   dh_auto_build -i
/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=/<> 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/<>/debian/maven.properties 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/<>/debian 
-Dmaven.repo.local=/<>/debian/maven-repo --batch-mode package 
javadoc:jar javadoc:aggregate -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...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Invalid packaging for parent POM org.apache.maven:maven-parent:27, must 
be "pom" but is "jar" @ org.apache.maven:maven-parent:27
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project