Bug#767115: libfreemarker-java: Declares a parent pom not packaged in Debian

Jordi Mallach jordi at debian.org
Tue Oct 28 14:49:27 UTC 2014


Source: libfreemarker-java
Severity: serious

Hi,

By request of Emmanuel, I'm filing this serious bug afainst libfreemarker.

I'm trying to build kurento-module-creator, which builds ok in Launchpad PPA,
but fails on Debian. Apparently, it declares a dep on a non-packaged pom
(http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom ?)
as seen in this build log:

dpkg-source: warning: failed to verify signature on /usr/src/packages/SOURCES/kurento-module-creator_3.0.6-trusty.dsc
dpkg-source: info: extracting kurento-module-creator in /usr/src/packages/BUILD/kurento-module-creator-3.0.6
dpkg-source: info: unpacking kurento-module-creator_3.0.6-trusty.tar.gz
-----------------------------------------------------------------
----- building kurento-module-creator_3.0.6-trusty.dsc (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
Reading package lists...
dpkg-buildpackage: source package kurento-module-creator
dpkg-buildpackage: source version 3.0.6-trustybs1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by abuild <abuild at buildd>
 dpkg-source --before-build kurento-module-creator-3.0.6
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
test -x debian/rules
mkdir -p "."
mh_lspoms --non-interactive --offline -pkurento-module-creator --force
Analysing pom.xml...
The list of POM files is now in debian/kurento-module-creator.poms
/usr/share/maven-debian-helper/copy-repo.sh /usr/src/packages/BUILD/kurento-module-creator-3.0.6/debian
mh_patchpoms -pkurento-module-creator --debian-build --keep-pom-version --maven-repo=/usr/src/packages/BUILD/kurento-module-creator-3.0.6/debian/maven-repo  --build-no-docs --ignore-rules=debian/maven.ignoreRules --clean-ignore-rules=debian/maven.cleanIgnoreRules
touch debian/stamp-poms-patched
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/usr/src/packages/BUILD/kurento-module-creator-3.0.6/debian/maven-repo  clean
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building kurento-module-creator
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Oct 28 12:23:10 UTC 2014
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
rm -f -r /usr/src/packages/BUILD/kurento-module-creator-3.0.6/debian/maven-repo debian/stamp-maven-build
rm -f debian/maven.rules
rm -f debian/*.substvars
/usr/bin/make -f debian/rules unpatch-poms
make[1]: Entering directory '/usr/src/packages/BUILD/kurento-module-creator-3.0.6'
mh_unpatchpoms -pkurento-module-creator
rm -f -f debian/stamp-poms-patched
make[1]: Leaving directory '/usr/src/packages/BUILD/kurento-module-creator-3.0.6'
dh_clean
mh_unpatchpoms -pkurento-module-creator
rm -f -f debian/stamp-poms-patched
mh_clean
 debian/rules build
test -x debian/rules
mkdir -p "."
mh_lspoms --non-interactive --offline -pkurento-module-creator --force
Analysing pom.xml...
The list of POM files is now in debian/kurento-module-creator.poms
/usr/share/maven-debian-helper/copy-repo.sh /usr/src/packages/BUILD/kurento-module-creator-3.0.6/debian
mh_patchpoms -pkurento-module-creator --debian-build --keep-pom-version --maven-repo=/usr/src/packages/BUILD/kurento-module-creator-3.0.6/debian/maven-repo  --build-no-docs
touch debian/stamp-poms-patched
# before-build target may be used to unpatch the pom files, so we need to check if
# patching the pom files is needed here, normally not
if [ ! -f pom.xml.save ]; then \
      /usr/bin/make -f debian/rules patch-poms; \
fi
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dclassworlds.conf=/etc/maven2/m2-debian-nodocs.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/usr/src/packages/BUILD/kurento-module-creator-3.0.6/debian/maven-repo  package
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building kurento-module-creator
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 42 resources
[INFO] Copying 1 resource
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.freemarker:freemarker:jar:debian

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: org.freemarker:freemarker:jar:debian for project org.freemarker:freemarker:jar:debian


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Oct 28 12:23:47 UTC 2014
[INFO] Final Memory: 7M/17M
[INFO] ------------------------------------------------------------------------
/usr/share/cdbs/1/class/maven.mk:87: recipe for target 'mvn-build' failed
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-java-maintainers mailing list