Bug#638782: mh_make: endless loop when running in surefire 2.4.3

Torsten Werner twerner at debian.org
Sun Aug 21 20:07:32 UTC 2011


Package: maven-debian-helper
Version: 1.4.3
Severity: normal

Hi,

i've tried to mavenize surefire 2.4.3 but i am cought in an endless loop in
mh_make. It wants me to install libsurefire-java which is already installed.
I'll attach a log file.

Cheers,
Torsten

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages maven-debian-helper depends on:
ii  default-jdk                   1:1.6-40   Standard Java or Java compatible D
ii  libmaven-clean-plugin-java    2.3-3      Maven clean plugin
ii  libmaven-compiler-plugin-java 2.0.2-4    Maven compiler plugin
ii  libmaven-jar-plugin-java      2.2-4      Maven Jar plugin
ii  libmaven-resources-plugin-jav 2.3-5      Maven resources plugin
ii  libmaven-site-plugin-java     2.1-1      Maven Site Plugin for generating a
ii  libplexus-velocity-java       1.1.7-3    Plexus component interface to velo
ii  libsurefire-java              2.4.3-3    Surefire test framework for Java
ii  maven-repo-helper             1.5.2      Helper tools for including Maven m
ii  maven2                        2.2.1-5    Java software project management a
ii  velocity                      1.6.2-4    Java-based template engine for web

Versions of packages maven-debian-helper recommends:
ii  apt-file                2.4.0            search for files within Debian pac
ii  devscripts              2.10.69+squeeze1 scripts to make the life of a Debi
ii  subversion              1.6.12dfsg-6     Advanced version control system

Versions of packages maven-debian-helper suggests:
ii  libmaven-javadoc-plugin-java  2.6.1-1    Maven Javadoc Plugin

-- no debconf information
-------------- next part --------------
$ mh_make
Environment variable DEBLICENSE not set, using GPL-3+ by default

Enter the name of the new Debian source package. If empty, it will defaults to surefire
>

Enter the name of the binary package. If empty, it will defaults to libsurefire-java
>

Run tests while building the package?
[y]/n > 

Generate the Javadoc while building the package?
[y]/n > 

Checking that apt-file is installed and has been configured...
[ok]

Checking that licensecheck is installed...
[ok]
cat: debian/libsurefire-java.poms: Datei oder Verzeichnis nicht gefunden

Solving dependencies for package libsurefire-java (tests are included) (documentation is included)
Enter the upstream version for the package. If you press <Enter> it will default to 2.4.3
> 
Version of org.apache.maven.surefire:surefire is 2.4.3
Choose how it will be transformed:
[1] - Replace all versions starting by 2. with 2.x
 2  - Change the version to the symbolic 'debian' version
 3  - Keep the version
 4  - Custom rule
> 2
This project contains modules. Include all modules?
[y]/n > 
Version of org.apache.maven.surefire:surefire-api is 2.4.3
Choose how it will be transformed:
[1] - Change the version to the symbolic 'debian' version
 2  - Replace all versions starting by 2. with 2.x
 3  - Keep the version
 4  - Custom rule
> 
Version of org.apache.maven.surefire:surefire-booter is 2.4.3
Choose how it will be transformed:
[1] - Change the version to the symbolic 'debian' version
 2  - Replace all versions starting by 2. with 2.x
 3  - Keep the version
 4  - Custom rule
> 
Version of org.apache.maven.surefire:surefire-providers is 2.4.3
Choose how it will be transformed:
[1] - Change the version to the symbolic 'debian' version
 2  - Replace all versions starting by 2. with 2.x
 3  - Keep the version
 4  - Custom rule
> 
Version of org.apache.maven.surefire:surefire-junit is 2.4.3
Choose how it will be transformed:
[1] - Change the version to the symbolic 'debian' version
 2  - Replace all versions starting by 2. with 2.x
 3  - Keep the version
 4  - Custom rule
> 
Version of org.apache.maven.surefire:surefire-junit4 is 2.4.3
Choose how it will be transformed:
[1] - Change the version to the symbolic 'debian' version
 2  - Replace all versions starting by 2. with 2.x
 3  - Keep the version
 4  - Custom rule
> 
Version of org.apache.maven.surefire:surefire-testng is 2.4.3
Choose how it will be transformed:
[1] - Change the version to the symbolic 'debian' version
 2  - Replace all versions starting by 2. with 2.x
 3  - Keep the version
 4  - Custom rule
> 
Version of org.apache.maven.surefire:surefire-integration-tests is 2.4.3
Choose how it will be transformed:
[1] - Change the version to the symbolic 'debian' version
 2  - Replace all versions starting by 2. with 2.x
 3  - Keep the version
 4  - Custom rule
> 
Resolving junit:junit:jar:3.x of scope test...
[ok]
Resolving jmock:jmock:jar:1.x of scope test...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.1 of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2 of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving commons-lang:commons-lang:jar:debian of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-shade-plugin:maven-plugin:1.2.1 of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-shade-plugin:maven-plugin:1.2.1 of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving junit:junit:jar:3.x of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving junit:junit:jar:4.x of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2 of scope runtime...
[ok]
Resolving org.apache.maven:maven-artifact:jar:debian of scope runtime...
[ok]
Resolving junit:junit:jar:3.x of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2 of scope runtime...
[ok]
Resolving org.apache.maven:maven-plugin-api:jar:debian of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven:maven-artifact:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven:maven-project:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven:maven-core:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven:maven-toolchain:jar:debian of scope runtime...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.1 of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-plugin-plugin:maven-plugin:2.5 of scope runtime...
[ok]
Resolving org.apache.maven.reporting:maven-reporting-api:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.reporting:maven-reporting-impl:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugin-testing:maven-plugin-testing-harness:jar:debian of scope test...
[ok]
Resolving org.codehaus.plexus:plexus-utils:jar:debian of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.1 of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-plugin-plugin:maven-plugin:2.5 of scope runtime...
[ok]
Resolving org.apache.maven.plugins:maven-surefire-report-plugin:jar:debian of scope runtime...
[check with bundle dependency type]

In surefire-integration-tests/pom.xml:
This documentation or report plugin cannot be found in the Maven repository for Debian. Ignore this plugin?
  org.apache.maven.plugins:maven-surefire-report-plugin:bundle:debian
[y]/n > n
> dpkg --search /usr/share/maven-repo/org/apache/maven/plugins/maven-surefire-report-plugin 
libsurefire-java: /usr/share/maven-repo/org/apache/maven/plugins/maven-surefire-report-plugin
Found libsurefire-java
Please install the missing dependency using
  sudo apt-get install libsurefire-java
Try again to resolve the dependency?
[y]/n > 
Resolving org.apache.maven.plugins:maven-surefire-report-plugin:bundle:debian of scope runtime...
Please install the missing dependency using
  sudo apt-get install libsurefire-java
Try again to resolve the dependency?
[y]/n > 


More information about the pkg-java-maintainers mailing list