Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2541 - Portage is assuming files have been downloaded and attempts to extract non-existent archives.
Summary: Portage is assuming files have been downloaded and attempts to extract non-ex...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
: 2544 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-07 15:50 UTC by Michael Thompson
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

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


Attachments
This is a set of fix's for this bug. (libgpiofix.tar.bz2,34.27 KB, application/octet-stream)
2002-05-07 23:23 UTC, Michael M Nazaroff (RETIRED)
Details
corrected ebuild for libgpio (libgpio-20020507.ebuild,658 bytes, text/plain)
2002-05-08 02:28 UTC, George Shapovalov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Thompson 2002-05-07 15:50:00 UTC
This issue came up with the media-libs/libgpio package.  libgpio-20010607.ebuild doesn't 
specify a source URI and the tarball it is looking for is not on the ibiblio.org server.  Instead of 
returning a "file not found" type error, Portage assumes the file was downloaded and continues 
with the ebuild process, resulting in errors.  Notably, this also occurs when using the "--
fetchonly" option with emerge.

# emerge --fetchonly libgpio
Calculating dependencies 
...done!
>>> emerge media-libs/libgpio-20010607 to /

A normal emerge results in:

 # 
emerge libgpio
Calculating dependencies ...done!
>>> emerge media-libs/libgpio-20010607 
to /
>>> Unpacking source...
>>> Unpacking libgpio-cvs-20010607.tar.bz2
cat: 
/usr/portage/distfiles/libgpio-cvs-20010607.tar.bz2: No such file or directory

bzip2: 
Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason 
follows.
bzip2: Invalid argument
        Input file = (stdin), output file = (stdout)

It is 
possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test 
integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data 
from undamaged sections of corrupted files.

>>> Source unpacked.
env: ./autogen.sh: No 
such file or directory
!!! ERROR: the ./autogen.sh command did not complete 
successfully.
!!! ("./autogen.sh --prefix=/usr --host=i686-pc-linux-gnu")
!!! Since this is a 
critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/media-
libs/libgpio/libgpio-20010607.ebuild .

Also `ebuild /usr/portage/media-
libs/libgpio/libgpio-20010607.ebuild fetch` returns no output, acting as if the file has 
already been downloaded.

And no, the tarball does not exist in /usr/portage/distfiles.
Comment 1 Michael M Nazaroff (RETIRED) gentoo-dev 2002-05-07 23:23:41 UTC
Created attachment 889 [details]
This is a set of fix's for this bug.

this set of fixes needs to be tested out to make sure everything works, I don't
have kde installed at the moment so I cannot test, but I will start the compile
tonight and test it out tomorrow to make sure everything works fine.

Wed May  8 21:25:28 PDT 2002

naz
Comment 2 Michael M Nazaroff (RETIRED) gentoo-dev 2002-05-07 23:27:39 UTC
That archive should be called libgpiofix.tar.bz2
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2002-05-07 23:29:42 UTC
*** Bug 2544 has been marked as a duplicate of this bug. ***
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2002-05-08 02:28:53 UTC
Created attachment 891 [details]
corrected ebuild for libgpio

Hi naz

I fixed this ebuild and also submitted source to gentoo.org server. 
ibiblio.org will pick it up shortly.
 I'll wait untill tomorrow and let you test it, then I (or you, if drobbins
puts you in by then) can commit it and close the bug. Since the changes were
small but pretty much in every line I just post whole ebuild here. I don't
think anything else is necessary, emerge should be able to fetch the source
tomorrow.

George