Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176936 Details for
Bug 253210
sys-apps/portage-2.2_rc20: emerging fails with FEATURES=buildpkg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix logic so the AssertionError isn't triggered
buildpkg_failure.patch (text/plain), 1016 bytes, created by
Zac Medico
on 2008-12-31 07:41:13 UTC
(
hide
)
Description:
fix logic so the AssertionError isn't triggered
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-12-31 07:41:13 UTC
Size:
1016 bytes
patch
obsolete
>Index: pym/_emerge/__init__.py >=================================================================== >--- pym/_emerge/__init__.py (revision 12370) >+++ pym/_emerge/__init__.py (working copy) >@@ -2677,8 +2677,12 @@ > be released when merge() is called. > """ > >- if self._default_exit(packager) == os.EX_OK and \ >- self.opts.buildpkgonly: >+ if self._default_exit(packager) != os.EX_OK: >+ self._unlock_builddir() >+ self.wait() >+ return >+ >+ if self.opts.buildpkgonly: > # Need to call "clean" phase for buildpkgonly mode > portage.elog.elog_process(self.pkg.cpv, self.settings) > phase = "clean" >@@ -2689,9 +2693,10 @@ > self._start_task(clean_phase, self._clean_exit) > return > >- if self._final_exit(packager) != os.EX_OK or \ >- self.opts.buildpkgonly: >- self._unlock_builddir() >+ # Continue holding the builddir lock until >+ # after the package has been installed. >+ self._current_task = None >+ self.returncode = packager.returncode > self.wait() > > def _clean_exit(self, clean_phase):
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 253210
: 176936