| Summary: | sys-apps/portage: repoman --if-modified crashes with UnboundLocalError when a package has been removed | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
| Component: | Repoman | Assignee: | Portage team <dev-portage> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | InVCS |
| Priority: | Normal | ||
| Version: | 2.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_546010 I've posted it for review here: https://archives.gentoo.org/gentoo-portage-dev/message/a752d39b8ea45893f12040ab3c459165 This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ec0954d7a8e66cf07679ac94502b5dfa37a27882 Released in portage-2.2.19 This fix got lost in the stage1 repoman refactoring. Fixed in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=d715028a686513979e6fb2b270df5f825d30cb65 |
Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/repoman", line 1380, in <module> mysettings=repoman_settings, myportdb=portdb) File "/usr/lib64/python3.4/site-packages/portage/package/ebuild/digestgen.py", line 169, in digestgen "assume-digests" in mysettings.features)) File "/usr/lib64/python3.4/site-packages/portage/manifest.py", line 400, in create cpvlist = self._update_thick_pkgdir(cat, pn, pkgdir) File "/usr/lib64/python3.4/site-packages/portage/manifest.py", line 475, in _update_thick_pkgdir for f in pkgdir_files: UnboundLocalError: local variable 'pkgdir_files' referenced before assignment