Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 342118 Details for
Bug 446
sys-apps/portage - Implement a sanity check on symlinks in ${D}.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
portage_symlink_qa_warning.patch
file_446.txt (text/plain), 688 bytes, created by
Tom Wijsman (TomWij) (RETIRED)
on 2013-03-15 11:46:35 UTC
(
hide
)
Description:
portage_symlink_qa_warning.patch
Filename:
MIME Type:
Creator:
Tom Wijsman (TomWij) (RETIRED)
Created:
2013-03-15 11:46:35 UTC
Size:
688 bytes
patch
obsolete
>diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py >index f918c2c..d4aac22 100644 >--- a/pym/portage/dbapi/vartree.py >+++ b/pym/portage/dbapi/vartree.py >@@ -4484,6 +4484,11 @@ class dblink(object): > pass > > if mymtime != None: >+ if not os.path.exists(myrealto) and not os.path.exists(join(srcroot, myabsto)): >+ self._eqawarn('preinst', >+ [_("QA Warning: Symbolic link /%s points to /%s which does not exist.") >+ % (relative_path, myabsto)]) >+ > showMessage(">>> %s -> %s\n" % (mydest, myto)) > if sys.hexversion >= 0x3030000: > outfile.write("sym "+myrealdest+" -> "+myto+" "+str(mymtime // 1000000000)+"\n")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 446
: 342118