Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112864 - ebuild qcad-x.x.x.ebuild unpack extract files even when workdir is ok
Summary: ebuild qcad-x.x.x.ebuild unpack extract files even when workdir is ok
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 16:01 UTC by Tupone Alfredo
Modified: 2005-11-27 09:34 UTC (History)
0 users

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


Attachments
qcad-2.0.4.0-r3.ebuild (qcad-2.0.4.0-r3.ebuild,2.63 KB, text/plain)
2005-11-17 16:03 UTC, Tupone Alfredo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tupone Alfredo gentoo-dev 2005-11-17 16:01:56 UTC
If you unpack qcad, and you unpack it again, it does fully again the works. This
happens because the mtime compare fails: one of the 2 qcad tar files happen to
have the '.' directory in it and set accordingly the time.
And time actually is before the tar mtime

Reproducible: Always
Steps to Reproduce:
1.ebuild qcad-2.0.4.0-r2.ebuild unpack
2.ebuild qcad-2.0.4.0-r2.ebuild unpack
3.

Actual Results:  
The 2 tar are extracted twice

Expected Results:  
The 2 tar should be extracted just once.
2nd time, the system should says

>>> WORKDIR is up-to-date, keeping...
Comment 1 Tupone Alfredo gentoo-dev 2005-11-17 16:03:31 UTC
Created attachment 73110 [details]
qcad-2.0.4.0-r3.ebuild 

just a touch {WORKDIR} after the unpack fix it

perhaps no need to change the revision, as there are no functional changes
Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-11-27 09:34:16 UTC
Please provide diffs to the current ebuild in future as it makes the changes 
you made easier to see. This is quite a superficial bug - I have applied your 
fix to qcad-2.0.4.0-r2.