Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20200 - Broken ebuild for app-doc/ebook-gcc-3.2
Summary: Broken ebuild for app-doc/ebook-gcc-3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-30 00:21 UTC by Adam Jakubek
Modified: 2003-05-06 14:08 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 Adam Jakubek 2003-04-30 00:21:09 UTC
When doing emerge -s ebook-gcc portage reports that ebook-gcc has missing/bad digest. I tried to generate it with ebuild /usr/portage/app-doc/ebook-gcc/ebook-gcc-3.2.ebuild digest, but it failed to fetch the ebook file from sourceforge (error 404, not found). I compared the paths, wget tries to download: http://lidn.sourceforge.net/books_download/GCC.tar.gz, correct path is: http://lidn.sourceforge.net/books_download/gcc-3.2.tgz. The 'GCC' part of URL can be corrected to 'gcc-3.2' by a simple modification to ebuild file. It seems however, that the .tar.gz extension is hardcoded in several places in the ebook.eclass file. This blocks adding of many ebooks from lidn project which have .tgz extension (including ebook-gcc). A possible solution would be to add another variable to ebook eclass interface which would specify an extension of the ebook file.

Reproducible: Always
Steps to Reproduce:

1.emerge -s ebook-gcc
2.ebuild /usr/portage/app-doc/ebook-gcc-3.2.ebuild digest

Actual Results:  
Ebuild failed to generate digest file.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-06 14:08:37 UTC
fixed in cvs