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.
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
That archive should be called libgpiofix.tar.bz2
*** Bug 2544 has been marked as a duplicate of this bug. ***
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