Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767205 - dev-python/pychroot-0.10.3: Crashes on chroot exit
Summary: dev-python/pychroot-0.10.3: Crashes on chroot exit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://github.com/pkgcore/pychroot/i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 21:25 UTC by Skyler Mäntysaari
Modified: 2021-01-26 03:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)