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

Bug 161692

Summary: =dev-java/commons-httpclient-3.0.1 fails to find commons-codec package during build
Product: Gentoo Linux Reporter: Alistair Bush (RETIRED) <ali_bush>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alistair Bush (RETIRED) gentoo-dev 2007-01-12 06:41:52 UTC
commons-httpclient fails as attempting to retrieve slot 0 commons-codec yet commons-codec (version 1.2 and 1.3-r2) resides in SLOTs 1.2 and 1.3.

Steps to repoduce

1. emerge =commons-httpclient-3.0.1



>>> Emerging (1 of 1) dev-java/commons-httpclient-3.0.1 to /
 * commons-httpclient-3.0.1-src.tar.gz MD5 ;-) ...                           [ ok ]
 * commons-httpclient-3.0.1-src.tar.gz RMD160 ;-) ...                        [ ok ]
 * commons-httpclient-3.0.1-src.tar.gz SHA1 ;-) ...                          [ ok ]
 * commons-httpclient-3.0.1-src.tar.gz SHA256 ;-) ...                        [ ok ]
 * commons-httpclient-3.0.1-src.tar.gz size ;-) ...                          [ ok ]
 * checking ebuild checksums ;-) ...                                         [ ok ]
 * checking auxfile checksums ;-) ...                                        [ ok ]
 * checking miscfile checksums ;-) ...                                       [ ok ]
 * checking commons-httpclient-3.0.1-src.tar.gz ;-) ...                      [ ok ]
 * Using: blackdown-jdk-1.4.2
>>> Unpacking source...
>>> Unpacking commons-httpclient-3.0.1-src.tar.gz to /var/tmp/portage/dev-java/commons-httpclient-3.0.1/work
tar: A lone zero block at 30781
 * Applying commons-httpclient-3.0.1-gentoo.patch ...                        [ ok ]
!!! ERROR: Package commons-codec was not found!

!!! ERROR: dev-java/commons-httpclient-3.0.1 failed.
Call stack:
  ebuild.sh, line 1610:   Called dyn_unpack
  ebuild.sh, line 750:   Called qa_call 'src_unpack'
  environment, line 4333:   Called src_unpack
  commons-httpclient-3.0.1.ebuild, line 39:   Called java-pkg_jar-from 'commons-codec'
  java-utils-2.eclass, line 739:   Called die

!!! There was a problem getting the classpath for commons-codec.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info

I believe this will be an easy fix, yet sadly I dont have any time to do the patch today.  Will attempt this tomorrow if still open.
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2007-01-12 07:35:28 UTC
Sorry invalid bug as this was an issue relating to my environment.