Hi Emmanuel,
I'm trying to update pomegranate-clojure to v1.0.0, but I can't get the
package to build since your latest update.
I've attached my pomegranate build log for a build on the latest master
(debian/0.4.0-3). It seems to be failing due to a plexus issue:
[WARNING] The POM for org.codehaus.plexus:plexus-classworlds:jar:debian
is missing, no dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.347 s
[INFO] Finished at: 2017-11-12T19:30:36Z
[INFO] Final Memory: 15M/483M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.debian.maven:debian-maven-plugin:2.2.3:install (default-cli) on
project pomegranate: Execution default-cli of goal
org.debian.maven:debian-maven-plugin:2.2.3:install failed: Plugin
org.debian.maven:debian-maven-plugin:2.2.3 or one of its dependencies
could not be resolved: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode and the artifact
org.codehaus.plexus:plexus-classworlds:jar:debian has not been
downloaded from it before. -> [Help 1]
But I've been unable to figure out why it's having this problem. I tried
a maven rule for version replacement but that didn't seem to help.
CI is also failing since the last upload, indicating the package isn't
working:
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/pomegranate-clojure/20171112_164306/log.gz
That suggests to me that the classpath needs an update, since it can't
find wagon after the dependency change.
- e
$ gbp buildpackage -uc -us --git-ignore-branch
dpkg-buildpackage -rfakeroot -us -uc -ui -i -I
dpkg-buildpackage: info: source package pomegranate-clojure
dpkg-buildpackage: info: source version 0.4.0-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Emmanuel Bourg <[email protected]>
dpkg-source -i -I --before-build pomegranate-clojure
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with javahelper
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 -plibpomegranate-clojure
jh_clean
dh_clean
dpkg-source -i -I -b pomegranate-clojure
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building pomegranate-clojure using existing
./pomegranate-clojure_0.4.0.orig.tar.gz
dpkg-source: info: building pomegranate-clojure in
pomegranate-clojure_0.4.0-3.debian.tar.xz
dpkg-source: info: building pomegranate-clojure in
pomegranate-clojure_0.4.0-3.dsc
debian/rules build
dh build --with javahelper
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -plibpomegranate-clojure --debian-build --keep-pom-version
--maven-repo=/debian/pomegranate-clojure/debian/maven-repo
jh_linkjars
dh_auto_build
/usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/debian/pomegranate-clojure
-Dclassworlds.conf=/etc/maven/m2-debian.conf
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml
-Ddebian.dir=/debian/pomegranate-clojure/debian
-Dmaven.repo.local=/debian/pomegranate-clojure/debian/maven-repo package
-DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building pomegranate 0.4.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
pomegranate ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ pomegranate
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @
pomegranate ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/debian/pomegranate-clojure/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @
pomegranate ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ pomegranate ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ pomegranate ---
[INFO] Building jar: /debian/pomegranate-clojure/target/pomegranate-0.4.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.097 s
[INFO] Finished at: 2017-11-12T19:30:31Z
[INFO] Final Memory: 14M/609M
[INFO] ------------------------------------------------------------------------
jh_build
dh_auto_test
/usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/debian/pomegranate-clojure
-Dclassworlds.conf=/etc/maven/m2-debian.conf
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml
-Ddebian.dir=/debian/pomegranate-clojure/debian
-Dmaven.repo.local=/debian/pomegranate-clojure/debian/maven-repo test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building pomegranate 0.4.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
pomegranate ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ pomegranate
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @
pomegranate ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/debian/pomegranate-clojure/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @
pomegranate ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ pomegranate ---
[INFO] No tests to run.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.849 s
[INFO] Finished at: 2017-11-12T19:30:34Z
[INFO] Final Memory: 13M/609M
[INFO] ------------------------------------------------------------------------
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary
dh binary --with javahelper
dh_testroot
dh_prep
dh_auto_install
/usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/debian/pomegranate-clojure
-Dclassworlds.conf=/etc/maven/m2-debian.conf
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml
-Ddebian.dir=/debian/pomegranate-clojure/debian
-Dmaven.repo.local=/debian/pomegranate-clojure/debian/maven-repo
-Ddebian.dir=/debian/pomegranate-clojure/debian
-Ddebian.package=libpomegranate-clojure
-Dmaven.repo.local=/debian/pomegranate-clojure/debian/maven-repo
-Dinstall.to.usj=true org.debian.maven:debian-maven-plugin:2.2.3:install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building pomegranate 0.4.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- debian-maven-plugin:2.2.3:install (default-cli) @ pomegranate ---
[WARNING] The POM for org.codehaus.plexus:plexus-classworlds:jar:debian is
missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.347 s
[INFO] Finished at: 2017-11-12T19:30:36Z
[INFO] Final Memory: 15M/483M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.debian.maven:debian-maven-plugin:2.2.3:install (default-cli) on project
pomegranate: Execution default-cli of goal
org.debian.maven:debian-maven-plugin:2.2.3:install failed: Plugin
org.debian.maven:debian-maven-plugin:2.2.3 or one of its dependencies could not
be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in
offline mode and the artifact org.codehaus.plexus:plexus-classworlds:jar:debian
has not been downloaded from it before. -> [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/PluginResolutionException
dh_auto_install: /usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/debian/pomegranate-clojure
-Dclassworlds.conf=/etc/maven/m2-debian.conf
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml
-Ddebian.dir=/debian/pomegranate-clojure/debian
-Dmaven.repo.local=/debian/pomegranate-clojure/debian/maven-repo
-Ddebian.dir=/debian/pomegranate-clojure/debian
-Ddebian.package=libpomegranate-clojure
-Dmaven.repo.local=/debian/pomegranate-clojure/debian/maven-repo
-Dinstall.to.usj=true org.debian.maven:debian-maven-plugin:2.2.3:install
returned exit code 1
debian/rules:4: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit
status 2
debuild: fatal error at line 1151:
dpkg-buildpackage -rfakeroot -us -uc -ui -i -I failed
gbp:error: 'debuild -i -I -uc -us' failed: it exited with 29
_______________________________________________
Pkg-clojure-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clojure-maintainers