Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40593 - ebuild digest and partial received files
Summary: ebuild digest and partial received files
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 05:49 UTC by Daniel Webert
Modified: 2004-02-07 16:59 UTC (History)
0 users

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


Attachments
love-sources ebuild (love-sources-2.6.2-r1.ebuild,2.96 KB, text/plain)
2004-02-07 16:33 UTC, Daniel Webert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2004-02-06 05:49:39 UTC
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 ...
Comment 1 Daniel Webert 2004-02-06 05:56:53 UTC
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)
Comment 2 SpanKY gentoo-dev 2004-02-06 06:30:33 UTC
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?)
Comment 3 Markus Nigbur (RETIRED) gentoo-dev 2004-02-06 14:24:11 UTC
Yeah, WORKSFORME too.
Comment 4 Daniel Webert 2004-02-07 16:33:32 UTC
Created attachment 25153 [details]
love-sources ebuild
Comment 5 Daniel Webert 2004-02-07 16:38:09 UTC
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.
Comment 6 SpanKY gentoo-dev 2004-02-07 16:59:25 UTC
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