Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503066 - dev-java/jaxme-0.5.2: wrong dependency to log4j
Summary: dev-java/jaxme-0.5.2: wrong dependency to log4j
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 17:19 UTC by Johann Schmitz (ercpe) (RETIRED)
Modified: 2014-03-02 16:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-02-28 17:19:13 UTC
The ebuild specifies >=dev-java/log4j-1.2.8 but fails to find it when :2 is the only installed version:

[I] dev-java/log4j
     Available versions:  
     (0)    1.2.15-r2 1.2.16
     (2)    (~)2.0_beta9^t[1]
       {doc javamail jms jmx jpa servlet slf4j source ELIBC="FreeBSD"}
     Installed versions:  2.0_beta9(2)^t[1](18:13:14 28/02/14)(doc javamail jms jmx jpa servlet slf4j source ELIBC="-FreeBSD")
     Homepage:            http://logging.apache.org/log4j/
     Description:         A low-overhead robust logging package for Java


 * Package:    dev-java/jaxme-0.5.2
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Using: icedtea-bin-6
>>> Unpacking source...
>>> Unpacking ws-jaxme-0.5.2-src.tar.gz to /var/tmp/portage/dev-java/jaxme-0.5.2/work
>>> Source unpacked in /var/tmp/portage/dev-java/jaxme-0.5.2/work
>>> Preparing source in /var/tmp/portage/dev-java/jaxme-0.5.2/work/ws-jaxme-0.5.2 ...
!!! ERROR: Package log4j was not found!
 * ERROR: dev-java/jaxme-0.5.2::gentoo failed (prepare phase):
 *   There was a problem getting the classpath for log4j.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3876:  Called java-pkg-2_src_prepare
 *   environment, line 1771:  Called java-utils-2_src_prepare
 *   environment, line 3151:  Called java_prepare
 *   environment, line 3167:  Called java-pkg_jarfrom 'log4j' 'log4j.jar' 'log4j-1.2.8.jar'
 *   environment, line 2795:  Called java-pkg_jar-from 'log4j' 'log4j.jar' 'log4j-1.2.8.jar'
 *   environment, line 2725:  Called die
 * The specific snippet of code:
 *       [[ $? != 0 ]] && die ${error_msg};
 * 
 * If you need support, post the output of `emerge --info '=dev-java/jaxme-0.5.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/jaxme-0.5.2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.12.7"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info =jaxme-0.5.2
 * The complete build log is located at '/var/tmp/portage/dev-java/jaxme-0.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jaxme-0.5.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/jaxme-0.5.2/work/ws-jaxme-0.5.2/prerequisites'
 * S: '/var/tmp/portage/dev-java/jaxme-0.5.2/work/ws-jaxme-0.5.2'



The dependency should look like: 

	>=dev-java/log4j-1.2.8:0
Comment 1 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-03-02 16:44:38 UTC
Fixed in -r1

+  02 Mar 2014; Johann Schmitz <ercpe@gentoo.org> +jaxme-0.5.2-r1.ebuild:
+  Fixed dependency as per bug #503066. Updated copyright.