Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138950 Details for
Bug 202748
www-servers/apache-2.2.6-r6 fails to install as binary package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
save temp files when a binary install fails
save_temp.patch (text/plain), 911 bytes, created by
Zac Medico
on 2007-12-20 04:10:13 UTC
(
hide
)
Description:
save temp files when a binary install fails
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-12-20 04:10:13 UTC
Size:
911 bytes
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 8971) >+++ pym/portage.py (revision 8972) >@@ -9439,6 +9439,7 @@ > mycat = None > mypkg = None > did_merge_phase = False >+ success = False > try: > """ Don't lock the tbz2 file because the filesytem could be readonly or > shared by a cluster.""" >@@ -9516,6 +9517,7 @@ > retval = mylink.merge(pkgloc, infloc, myroot, myebuild, cleanup=0, > mydbapi=mydbapi, prev_mtimes=prev_mtimes) > did_merge_phase = True >+ success = retval == os.EX_OK > return retval > finally: > mysettings.pop("PORTAGE_BINPKG_FILE", None) >@@ -9528,7 +9530,8 @@ > # so that it's only called once. > elog_process(mycat + "/" + mypkg, mysettings) > try: >- shutil.rmtree(builddir) >+ if success: >+ shutil.rmtree(builddir) > except (IOError, OSError), e: > if e.errno != errno.ENOENT: > raise
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202748
: 138950 |
138953