Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 158662

Summary: "ebuild .../samba-3.0.22-r3.ebuild compile" _always_ extracts source
Product: Gentoo Linux Reporter: Scott Bertilson <ssb>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Scott Bertilson 2006-12-20 09:51:20 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: 

It always says:
 * checking samba-3.0.22.tar.gz ;-) ...                                   [ ok ]
 * checking samba-3-gentoo-0.3.13.tar.bz2 ;-) ...                         [ ok ]
>>> Checking samba-3.0.22.tar.gz's mtime...
>>> samba-3.0.22.tar.gz has been updated; recreating WORKDIR...
>>> /usr/portage/net-fs/samba/samba-3.0.22-r3.ebuild has been updated;
recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking samba-3.0.22.tar.gz to /var/tmp/portage/samba-3.0.22-r3/work


It turns out that "distfiles/samba-3-gentoo-0.3.13.tar.bz2" contains:
   drwxr-xr-x chr/users         0 2005-10-06 06:45:28 ./
which results in:
   drwxr-xr-x  5 root root 4096 Oct  6  2005 /var/tmp/portage/samba-3.0.22-r3/work

When I did a "touch" on that directory, the problem went away and it did:
>>> WORKDIR is up-to-date, keeping...
>>> Compiling source in
/var/tmp/portage/samba-3.0.22-r3/work/samba-3.0.22/source ...

Much handier when hacking the source.

Reproducible: Always

Steps to Reproduce:
1.see details



Expected Results:  
Either the patch archive should not include the current directory
or something else should be done ("touch"?) to get it to have a
current date.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 09:55:06 UTC

*** This bug has been marked as a duplicate of 146801 ***