Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127578 - ruby-gdchart-1.0.0 tar.gz = 0 bytes
Summary: ruby-gdchart-1.0.0 tar.gz = 0 bytes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 127595 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-25 16:29 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2006-03-31 06:48 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 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2006-03-25 16:29:19 UTC
Basically the tar.gz specified for this ebuild is a 0byte file, which, unsurprisinly, is kinda hard to unpack. And all the digest information says "yes, im expecting a 0 byte tar gz", which is what you'll get from every mirror hosting this file.
Yet, the ebuild of course, expects to have a "work" dir to build ruby-gdchart in.

I dont know about you guys, but I think I see a very large logic error here.


=digest-ruby-gdchart-1.0.0=

MD5 d41d8cd98f00b204e9800998ecf8427e ruby-gdchart-1.0.0.tar.gz 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 ruby-gdchart-1.0.0.tar.gz 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ruby-gdchart-1.0.0.tar.gz 0

$ du /usr/portage/distfiles/ruby-gdchart-1.0.0.tar.gz
0       /usr/portage/distfiles/ruby-gdchart-1.0.0.tar.gz

$ curl http://rubyforge.org/frs/download.php/6883/ruby-gdchart-1.0.0.tar.gz | wc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

      0       0       0   <-- output from wc

>>> checksums files   ;-) ruby-gdchart-0.0.9_beta.ebuild
>>> checksums files   ;-) ruby-gdchart-1.0.0.ebuild
>>> checksums files   ;-) files/digest-ruby-gdchart-0.0.9_beta
>>> checksums files   ;-) files/digest-ruby-gdchart-1.0.0
>>> checksums files   ;-) files/ruby-gdchart-0.0.9_beta-gcc41.patch
>>> checksums src_uri ;-) ruby-gdchart-1.0.0.tar.gz
>>> Unpacking source...
>>> Unpacking ruby-gdchart-1.0.0.tar.gz to /var/tmp/portage/ruby-gdchart-1.0.0/work

!!! ERROR: dev-ruby/ruby-gdchart-1.0.0 failed.
Call stack:
  ebuild.sh, line 1573:   Called dyn_unpack
  ebuild.sh, line 735:   Called src_unpack
  ebuild.sh, line 1288:   Called ruby_src_unpack
  ruby.eclass, line 57:   Called unpack 'ruby-gdchart-1.0.0.tar.gz'

!!! ruby-gdchart-1.0.0.tar.gz does not exist
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 00:39:17 UTC
*** Bug 127595 has been marked as a duplicate of this bug. ***
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-03-31 06:48:06 UTC
just fixed the ebuild, should be better now.

you may have to delete your faulty version in the distfiles directory in order to download the new one.