Bug#706172: antlr3 attempts to install files in /usr/share/maven-repo on building (FTBFS)

Emmanuel Bourg ebourg at apache.org
Thu Apr 25 20:45:41 UTC 2013


Package: antlr3
Version: 3.2-7
Severity: serious
Justification: fails to build from source (but built successfully in the past)

I'm unable to build antlr3, it fails to install the pom in debian/maven-repo:

[INFO] ------------------------------------------------------------------------
[INFO] Building ANTLR Master build control POM
[INFO]    task-segment: [package, install, org.debian.maven:debian-maven-plugin:1.6:install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/ebourg/antlr3/pom.xml to /home/ebourg/antlr3/debian/maven-repo/org/antlr/antlr-master/3.2/antlr-master-3.2.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact: Unable to open file /home/ebourg/antlr3/debian/maven-repo/org/antlr/antlr-master/3.2/antlr-master-3.2.pom for writing.


The pom can't be installed because debian/maven-repo/org/antlr/antlr-master/3.2
is a symlink to /usr/share/maven-repo/org/antlr/antlr-master/3.2 :

ebourg at debiandev:~/antlr3$ ll /home/ebourg/antlr3/debian/maven-repo/org/antlr/antlr-master/
total 8
drwxr-xr-x 2 ebourg ebourg 4096 Apr 25 22:25 .
drwxr-xr-x 6 ebourg ebourg 4096 Apr 25 22:25 ..
lrwxrwxrwx 1 ebourg ebourg   48 Apr 25 22:25 3.2 -> /usr/share/maven-repo/org/antlr/antlr-master/3.2
lrwxrwxrwx 1 ebourg ebourg   48 Apr 25 22:25 3.x -> /usr/share/maven-repo/org/antlr/antlr-master/3.x

Thus it's only possible to build the package as root.



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages antlr3 depends on:
ii  default-jre-headless [java6-runtime-headless]    1:1.6-47
ii  gcj-4.7-jre-headless [java5-runtime-headless]    4.7.2-3
ii  gcj-jre-headless [java5-runtime-headless]        4:4.7.2-1
ii  libstringtemplate-java                           3.2.1-1
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b27-1.12.4-1

antlr3 recommends no packages.

antlr3 suggests no packages.

-- no debconf information



More information about the pkg-java-maintainers mailing list