ebuild <file.ebuild> digest does not check if the sourcefile.tar.gz is complete received ... 1) ebuild linux-2.6.2-dontknow digest - the source-tar (linux-2.6.2.tar.gz) is missing -> wget begins downloading ... - i cancel the wget-download (poweroff, cut the line ...) 2) new try 'ebuild linux-2.6.2.dontknow digest' -> ebuild thinks the partial source-tar is fine and generates a digest ... a new check of wget getting the file (looking if the file is complete) would be nice ..., currently don't have a better idea for solving the problem ...
i use: Portage 2.0.50_pre22 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-love2)
it works fine over here and i have the same portage version root@vapier 0 development-sources # ebuild development-sources-2.6.2.ebuild digest >>> Downloading ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/linux-2.6.2.tar.bz2 --09:30:04-- ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/linux-2.6.2.tar.bz2 => `/usr/portage/distfiles/linux-2.6.2.tar.bz2' Resolving ftp.ussg.iu.edu... 129.79.5.130 Connecting to ftp.ussg.iu.edu[129.79.5.130]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR linux-2.6.2.tar.bz2 ... done. Length: 33,899,733 (unauthoritative) 1% [> ] 487,200 166.47K/s ( interrupted by user -- ctrl-C?) root@vapier 0 development-sources # ebuild development-sources-2.6.2.ebuild digest >>> Resuming download... >>> Downloading ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/linux-2.6.2.tar.bz2 --09:30:10-- ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/linux-2.6.2.tar.bz2 => `/usr/portage/distfiles/linux-2.6.2.tar.bz2' Resolving ftp.ussg.iu.edu... 129.79.5.130 Connecting to ftp.ussg.iu.edu[129.79.5.130]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/gentoo/distfiles ... done. ==> SIZE linux-2.6.2.tar.bz2 ... done. ==> PASV ... done. ==> REST 504000 ... done. ==> RETR linux-2.6.2.tar.bz2 ... done. Length: 33,899,733 [33,395,733 to go] 1% [+ ] 600,600 152.59K/s ( interrupted by user -- ctrl-C?)
Yeah, WORKSFORME too.
Created attachment 25153 [details] love-sources ebuild
directory: /usr/portage/portage/sys-kernel/love-sources/ in /usr/portage/portage/sys-kernel/love-sources/files are no files ... porkoo love-sources # ebuild love-sources-2.6.2-r1.ebuild digest >>> Downloading http://gentoo.noved.org/distfiles/linux-2.6.2.tar.bz2 --19:28:30-- http://gentoo.noved.org/distfiles/linux-2.6.2.tar.bz2 => `/usr/portage/distfiles/linux-2.6.2.tar.bz2' Resolving gentoo.noved.org... failed: Name or service not known. >>> Downloading http://gentoo.netnitco.net/distfiles/linux-2.6.2.tar.bz2 --19:28:31-- http://gentoo.netnitco.net/distfiles/linux-2.6.2.tar.bz2 => `/usr/portage/distfiles/linux-2.6.2.tar.bz2' Resolving gentoo.netnitco.net... 216.176.132.235 Connecting to gentoo.netnitco.net[216.176.132.235]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 33,899,733 [application/x-tar] 0% [ ] 64,128 21.38K/s ( interrupted by user -- ctrl-C?) porkoo love-sources # ebuild love-sources-2.6.2-r1.ebuild digest >>> Generating digest file... <<< linux-2.6.2.tar.bz2 <<< 2.6.2-love1.patch.bz2 >>> Generating manifest file... <<< 2.6.2-love1-notes.txt <<< love-sources-2.6.2-r1.ebuild <<< files/digest-love-sources-2.6.2-r1 >>> Computed message digests.
that is an invalid case ... expecting portage to double check file sizes by running wget on the SRC_URI is a very big waste imho