Bug#643492: antlr-maven-plugin: FTBFS: Error building POM.

Miguel Landaeta miguel at miguel.cc
Wed Oct 12 21:07:04 UTC 2011


tags 643492 + help
thanks

On Tue, Sep 27, 2011 at 03:41:20PM +0200, Didier Raboud wrote:
> > [ERROR] BUILD ERROR
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> > 
> > 
> > Project ID: org.apache.maven.plugins:maven-plugin-plugin
> > 
> > Reason: POM 'org.apache.maven.plugins:maven-plugin-plugin' not found in repository: System is offline.
> > 
> >   org.apache.maven.plugins:maven-plugin-plugin:pom:2.8
> > 
> > 
> >  for project org.apache.maven.plugins:maven-plugin-plugin

After adding the missing Build-Depends on libmaven-plugin-tools-java,
this package continues to FTBFS, this time it seems to be incompatibility
with libmodello-maven-plugin-java API.

antlr-maven-plugin 2.2 release is available at upstream svn repository
but it fails with the same error.

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

AntlrHtmlReport.java:[35,38] package org.apache.maven.reporting.sink does not exist

AntlrHtmlReport.java:[221,36] cannot find symbol
symbol  : variable SinkFactory
location: class org.codehaus.mojo.antlr.AntlrHtmlReport


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Oct 12 21:00:24 UTC 2011
[INFO] Final Memory: 20M/332M
[INFO] ------------------------------------------------------------------------

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
 dpkg-buildpackage -rfakeroot -d -us -uc -S -sa
dpkg-buildpackage: dpkg-buildflags (origin: vendor): CFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
dpkg-buildpackage: dpkg-buildflags (origin: vendor): CPPFLAGS = 
dpkg-buildpackage: dpkg-buildflags (origin: vendor): CXXFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
dpkg-buildpackage: dpkg-buildflags (origin: vendor): FFLAGS = -g -O2
dpkg-buildpackage: dpkg-buildflags (origin: vendor): LDFLAGS = -Wl,-z,relro
dpkg-buildpackage: source package antlr-maven-plugin
dpkg-buildpackage: source version 2.1-2~miguel1
dpkg-buildpackage: source changed by Miguel Landaeta <miguel at miguel.cc>
 dpkg-source --before-build antlr-maven-plugin-2.1
dpkg-source: info: patches are not applied, applying them now
dpkg-source: info: applying modello-1.1.patch
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
cd . && QUILT_PATCHES=/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1/debian/patches quilt --quiltrc /dev/null push -a || test $? = 2
File series fully applied, ends at patch modello-1.1.patch
touch debian/stamp-patched
/usr/bin/make -f debian/rules update-config
make[1]: Entering directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
/usr/share/maven-debian-helper/copy-repo.sh /home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1/debian
skip faking of existing gnu-getopt:getopt::debian
skip faking of existing javax.activation:activation::debian
skip faking of existing javax.ejb:ejb-api::debian
skip faking of existing javax.mail:mail::debian
mh_patchpoms -plibantlr-maven-plugin-java --debian-build --keep-pom-version --maven-repo=/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1/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 -Dproperties.file.manual=/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1/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 Maven ANTLR Plugin
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.modello:modello-maven-plugin

Reason: POM 'org.codehaus.modello:modello-maven-plugin' not found in repository: System is offline.

  org.codehaus.modello:modello-maven-plugin:pom:1.0-alpha-8


 for project org.codehaus.modello:modello-maven-plugin


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 12 16:24:16 VET 2011
[INFO] Final Memory: 2M/116M
[INFO] ------------------------------------------------------------------------
make: [cleanbuilddir] Error 1 (ignored)
rm -f -r /home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1/debian/maven-repo debian/stamp-maven-build
rm -f debian/*.substvars
/usr/bin/make -f debian/rules unpatch-poms
make[1]: Entering directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
mh_unpatchpoms -plibantlr-maven-plugin-java
rm -f -f debian/stamp-poms-patched
make[1]: Leaving directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
dh_clean 
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1'
if [ -d "." ]; then \
	  cd . && QUILT_PATCHES=/home/miguel/pkg/antlr-maven-plugin/antlr-maven-plugin-2.1/debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \
	fi
Removing patch modello-1.1.patch
Restoring src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java
Restoring src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java
Restoring pom.xml

No patches applied
rm -rf ./.pc
rm -f debian/stamp-patch*
mh_unpatchpoms -plibantlr-maven-plugin-java
rm -f -f debian/stamp-poms-patched
mh_clean
 dpkg-source -b antlr-maven-plugin-2.1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: patches are not applied, applying them now
dpkg-source: info: applying modello-1.1.patch
dpkg-source: info: building antlr-maven-plugin using existing ./antlr-maven-plugin_2.1.orig.tar.gz
dpkg-source: info: building antlr-maven-plugin in antlr-maven-plugin_2.1-2~miguel1.debian.tar.gz
dpkg-source: info: building antlr-maven-plugin in antlr-maven-plugin_2.1-2~miguel1.dsc
 dpkg-genchanges -S -sa >../antlr-maven-plugin_2.1-2~miguel1_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build antlr-maven-plugin-2.1
dpkg-source: info: unapplying modello-1.1.patch
dpkg-buildpackage: full upload (original source is included)
Now running lintian...
Finished running lintian.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20111012/73f2c77a/attachment-0001.pgp>


More information about the pkg-java-maintainers mailing list