Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49264 - dev-java/gnu-activation: emerge fails due to wrong filename in ebuild
Summary: dev-java/gnu-activation: emerge fails due to wrong filename in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-28 02:26 UTC by Gerie Langeveld
Modified: 2004-04-28 16:10 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 Gerie Langeveld 2004-04-28 02:26:03 UTC
Emerging Gnu-Activation-20040331 fails because the untarred file has a different name than the one in the script. The script expects "gnu-activation-20040331", but "activation-20040331" was created in reality (in the work dir):

 - /usr/portage/distfiles/activation-20040331-gentoo.tar.bz2 saved
>>> Unpacking source...
>>> Unpacking activation-20040331-gentoo.tar.bz2 to \
/var/tmp/portage/gnu-activation-20040331/work \
/usr/sbin/ebuild.sh: line 37: cd: \ 
/var/tmp/portage/gnu-activation-20040331/work/gnu-activation-20040331: No such file or directory
!!! ERROR: dev-java/gnu-activation-20040331 failed
!!! Function econf, Line 367, Exitcode 1
!!! no configurescript found.
Comment 1 Chris White (RETIRED) gentoo-dev 2004-04-28 09:05:12 UTC
Didn't get that on mine:

bash-2.05b# ACCEPT_KEYWORDS="~x86" emerge -v =dev-java/activation-20040331
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/activation-20040331 to /
>>> Downloading http://mirrors.tds.net/gentoo/distfiles/activation-20040331-gentoo.tar.bz2
--00:44:11--  http://mirrors.tds.net/gentoo/distfiles/activation-20040331-gentoo.tar.bz2
           => `/usr/portage/distfiles/activation-20040331-gentoo.tar.bz2'
mirrors.tds.net をDNSに問いあわせています... 216.170.153.145
mirrors.tds.net[216.170.153.145]:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 80,708 [application/x-bzip2]

100%[====================================>] 80,708       203.34K/s             

00:44:12 (203.27 KB/s) - `/usr/portage/distfiles/activation-20040331-gentoo.tar.bz2' を保存しました [80708/80708]

>>> md5 src_uri ;-) activation-20040331-gentoo.tar.bz2
>>> Unpacking source...
>>> Unpacking activation-20040331-gentoo.tar.bz2 to /var/tmp/portage/activation-20040331/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes

Might want to try an emerge sync just in case.
Comment 2 Gerie Langeveld 2004-04-28 09:37:12 UTC
Indeed, but you are emerging a different package.
You emerge activation,
I emerge gnu-activation,
which seems to come from the same package. That one gives the error.
(I'm confused to what the differences between the two are.)
Comment 3 Chris White (RETIRED) gentoo-dev 2004-04-28 13:04:28 UTC
bash-2.05b# emerge -pv gnu-activation

These are the packages that I would merge, in order:

Calculating dependencies   
emerge: there are no masked or unmasked ebuilds to satisfy "gnu-activation".

!!! Error calculating dependencies. Please correct.

bash-2.05b# emerge search activation
Searching...   
[ Results for search key : activation ]
[ Applications found : 2 ]
 
*  dev-java/activation [ Masked ]
      Latest version available: 20040331
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 78 kB
      Homepage:    http://www.gnu.org/software/classpathx/jaf/
      Description: GNU implementation of the Java Activation Framework
      License:     LGPL-2.1


It's the same thing.  It just got renamed I guess.  I'd go with the activation one as I can't find any sort of "gnu-activation" package, so I assumed it got renamed and the old one deleted in the latest portage tree.



Comment 4 Gerie Langeveld 2004-04-28 13:32:34 UTC
It showed up this morning as a dependency of gnu-javamail:

bash# ACCEPT_KEYWORDS="~x86" emerge -pv gnu-javamail

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/gnu-activation-20040331  +doc  0 kB 
[ebuild  N    ] dev-java/gnu-classpath-0.08  +doc +jikes -native  5,959 kB 
[ebuild  N    ] dev-java/gnu-crypto-2.0.1  +doc +jikes  3,804 kB 
[ebuild  N    ] dev-java/jessie-0.9.7  +doc +jikes  750 kB 
[ebuild  N    ] dev-java/gnu-classpath-inetlib-20040331  +doc +jikes  109 kB 
[ebuild  N    ] dev-java/gnu-javamail-20040331  +doc +jikes  229 kB 

Total size of downloads: 10,854 kB
Comment 5 Chris White (RETIRED) gentoo-dev 2004-04-28 15:59:00 UTC
Yes, after asking the people in #gentoo-java they let me know it was the other way around.  activation actually became gnu-activation, unlike what I had anticipated.  This in mind I'm going to re-test this out and see if I can come up with the expected results.
Comment 6 Chris White (RETIRED) gentoo-dev 2004-04-28 16:09:49 UTC
bash-2.05b# ACCEPT_KEYWORDS="~x86" emerge gnu-activation
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/gnu-activation-20040331 to /
>>> md5 src_uri ;-) activation-20040331-gentoo.tar.bz2
>>> Unpacking source...
>>> Unpacking activation-20040331-gentoo.tar.bz2 to /var/tmp/portage/gnu-activation-20040331/work
/usr/sbin/ebuild.sh: line 37: cd: /var/tmp/portage/gnu-activation-20040331/work/gnu-activation-20040331: そのようなファイルやディレクトリはありません
>>> Source unpacked.

!!! ERROR: dev-java/gnu-activation-20040331 failed.
!!! Function econf, Line 367, Exitcode 1
!!! no configure script found

Yup, I just emerge sync'ed and was able to reproduce it now.
Comment 7 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-04-28 16:10:59 UTC
Fixed. Didn't bump, as it doesn't compile as-is. Please allow for a few moments for the rsync mirrors to catch up.