Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367541

Summary: www-servers/jetty-6.1.24 mvn: command not found
Product: Gentoo Linux Reporter: Tobias Sachs <diespambox>
Component: New packagesAssignee: Dustin C. Hatch <dustin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tobias Sachs 2011-05-16 15:55:19 UTC
I was not able to emerge jetty until i did:

ln `which mvn-2.2`  /usr/sbin/mvn


Not sure if this bug should go to dev-java/maven-bin


Reproducible: Always

Steps to Reproduce:
emerge www-servers/jetty

Actual Results:  
>>> Emerging (1 of 2) www-servers/jetty-6.1.24 from dustin
 * jetty-6.1.24-src.zip RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                  [ ok ]
 * Package:    www-servers/jetty-6.1.24
 * Repository: dustin
 * USE:        elibc_glibc kernel_linux ldap ssl userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking jetty-6.1.24-src.zip to /var/tmp/portage/www-servers/jetty-6.1.24/work
>>> Source unpacked in /var/tmp/portage/www-servers/jetty-6.1.24/work
>>> Preparing source in /var/tmp/portage/www-servers/jetty-6.1.24/work/jetty-6.1.24 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-servers/jetty-6.1.24/work/jetty-6.1.24 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-servers/jetty-6.1.24/work/jetty-6.1.24 ...
/var/tmp/portage/www-servers/jetty-6.1.24/temp/environment: line 3977: mvn: command not found
 * ERROR: www-servers/jetty-6.1.24 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3977:  Called die
 * The specific snippet of code:
 *       mvn -ff -s ${FILESDIR}/settings.xml install -Dmaven.test.skip -DWORKDIR="${WORKDIR}" || die
 * 
 * If you need support, post the output of 'emerge --info =www-servers/jetty-6.1.24',
 * the complete build log and the output of 'emerge -pqv =www-servers/jetty-6.1.24'.
 * This ebuild is from an overlay named 'dustin': '/var/lib/layman/dustin/'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/www-servers/jetty-6.1.24/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/jetty-6.1.24/temp/environment'.
 * S: '/var/tmp/portage/www-servers/jetty-6.1.24/work/jetty-6.1.24'
Comment 1 Tobias Sachs 2011-05-16 16:22:32 UTC
it now does some stuff but only gets here:
[INFO] Building Terracotta Sessions for Jetty
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://www.terracotta.org/download/reflector/maven2/org/terracotta/maven/plugins/tc-maven-plugin/1.1.8/tc-maven-plugin-1.1.8.pom
[WARNING] Unable to get resource 'org.terracotta.maven.plugins:tc-maven-plugin:pom:1.1.8' from repository terracotta-plugin-repository (http://www.terracotta.org/download/reflector/maven2): Error transferring file: Server returned HTTP response code: 503 for URL: http://www.tm
Downloading: http://repo1.maven.org/maven2/org/terracotta/maven/plugins/tc-maven-plugin/1.1.8/tc-maven-plugin-1.1.8.pom
[INFO] Unable to find resource 'org.terracotta.maven.plugins:tc-maven-plugin:pom:1.1.8' in repository central (http://repo1.maven.org/maven2)
Downloading: http://www.terracotta.org/download/reflector/maven2/org/terracotta/maven/plugins/tc-maven-plugin/1.1.8/tc-maven-plugin-1.1.8.pom
[WARNING] Unable to get resource 'org.terracotta.maven.plugins:tc-maven-plugin:pom:1.1.8' from repository terracotta-repository (http://m
Downloading: http://repo1.maven.org/maven2/org/terracotta/maven/plugins/tc-maven-plugin/1.1.8/tc-maven-plugin-1.1.8.pom
[INFO] Unable to find resource 'org.terracotta.maven.plugins:tc-maven-plugin:pom:1.1.8' in repository central (http://repo1.maven.org/ma)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.terracotta.maven.plugins:tc-maven-plugin

Reason: POM 'org.terracotta.maven.plugins:tc-maven-plugin' not found in repository: Unable to download the artifact from any repository
  
  org.terracotta.maven.plugins:tc-maven-plugin:pom:1.1.8

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  oss.sonatype.org (http://oss.sonatype.org/content/repositories/jetty-snapshots/),
  codehaus.org (http://snapshots.repository.codehaus.org),
  terracotta-repository (http://www.terracotta.org/download/reflector/maven2),
  terracotta-plugin-repository (http://www.terracotta.org/download/reflector/maven2)
 
 for project org.terracotta.maven.plugins:tc-maven-plugin


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 minutes 4 seconds
[INFO] Finished at: Mon May 16 18:20:29 CEST 2011
[INFO] Final Memory: 95M/348M
[INFO] ------------------------------------------------------------------------
 * ERROR: www-servers/jetty-6.1.24 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3977:  Called die
 * The specific snippet of code:
 *       mvn -ff -s ${FILESDIR}/settings.xml install -Dmaven.test.skip -DWORKDIR="${WORKDIR}" || die
 *
 * If you need support, post the output of 'emerge --info =www-servers/jetty-6.1.24',
 * the complete build log and the output of 'emerge -pqv =www-servers/jetty-6.1.24'.
 * This ebuild is from an overlay named 'dustin': '/var/lib/layman/dustin/'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/www-servers/jetty-6.1.24/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/jetty-6.1.24/temp/environment'.
 * S: '/var/tmp/portage/www-servers/jetty-6.1.24/work/jetty-6.1.24'
Comment 2 Dustin C. Hatch 2011-05-20 02:15:24 UTC
Please see bug #328747 for discussion of the Jetty ebuilds.

I have replaced the ebuild for jetty in my overlay with the original from the aforementioned bug as it behaves much more reliably.

*** This bug has been marked as a duplicate of bug 328747 ***