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

Bug 767205

Summary: dev-python/pychroot-0.10.3: Crashes on chroot exit
Product: Gentoo Linux Reporter: Skyler Mäntysaari <sm+gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/pkgcore/pychroot/issues/33
Whiteboard:
Package list:
Runtime testing required: ---

Description Skyler Mäntysaari 2021-01-25 21:25:52 UTC
The script spits out an error "UnboundLocalError: local variable 'c' referenced before assignment".

Reproducible: Always

Steps to Reproduce:
1. Emerge the package
2. Try to go to an chroot, and exit
3. Errors
Actual Results:  
It errored, and had to be "fixed" by editing the erroring file.

Expected Results:  
It would just work.

This happens when running our GenPi64 build system.

https://github.com/GenPi64/Build.Dist
https://wiki.gentoo.org/wiki/User:Maffblaster/Projects/GenPi64
Comment 1 Larry the Git Cow gentoo-dev 2021-01-26 03:08:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27384a43f8f5c57ceceacdc0259e5e4df0d7a292

commit 27384a43f8f5c57ceceacdc0259e5e4df0d7a292
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2021-01-26 02:50:57 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2021-01-26 03:07:47 +0000

    dev-python/pychroot: version bump to 0.10.4
    
    Closes: https://bugs.gentoo.org/767205
    Signed-off-by: Tim Harder <radhermit@gentoo.org>

 dev-python/pychroot/Manifest               |  1 +
 dev-python/pychroot/pychroot-0.10.4.ebuild | 44 ++++++++++++++++++++++++++++++
 dev-python/pychroot/pychroot-9999.ebuild   |  2 +-
 3 files changed, 46 insertions(+), 1 deletion(-)