Summary: | [qsx] Ebuild failures occuring in global scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Overlays | Assignee: | Thomas Schneider <qsx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://qa-reports.gentoo.org/output/repos/qsx.html | ||
See Also: | https://github.com/pkgcore/pkgcore/issues/277 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 552950 |
Description
Michał Górny
2020-02-09 17:17:30 UTC
The reported failure is: > $ pmaint regen --use-local-desc --pkg-desc-index -t 1 qsx > * sys-kernel/dracut-049_p20191222: failed sourcing ebuild: returned val from gen_metadata was 'False' [FATAL] > * Cache regen failed with 1 I’m sorry, but I can’t reproduce that locally with portage (assuming the egencache command is equivalent): > qsx@coruscant ~/src/overlay (git)-[main] > % git status --ignored --short > qsx@coruscant ~/src/overlay (git)-[main] > % git rev-parse HEAD > 782104b415e584cb29219bd9ed38559476514187 > qsx@coruscant ~/src/overlay (git)-[main] > % egencache --update-pkg-desc-index --update-use-local-desc --repo qsx > qsx@coruscant ~/src/overlay (git)-[main] > % echo $? > 0 Also, I don’t know how the ebuild in question can trigger an error, as it’s a quite small patch to sys-kernel/dracut-049-r2 from gentoo. $ ebuild dracut-049_p20191222.ebuild setup Appending /tmp/gentoo-overlay to PORTDIR_OVERLAY... * dracut-049_p20191222.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] /tmp/gentoo-overlay/sys-kernel/dracut/dracut-049_p20191222.ebuild: line 59: no match: README.* /tmp/gentoo-overlay/sys-kernel/dracut/dracut-049_p20191222.ebuild: line 59: no match: README.* You've got a failing glob in global scope, apparently. Filed a pkgcore bug to improve the error message. (In reply to Michał Górny from comment #2) > You've got a failing glob in global scope, apparently. Huh, I see. No idea why I’ve done that, and how I’ve never noticed it. Fixed in https://github.com/qsuscs/gentoo-overlay/commit/ee5a73c57d0a50002f900e73a38bbff0b9903cab (In reply to Thomas Schneider from comment #4) > No idea why I’ve done that > FileNotFoundError: [Errno 2] No such file or directory: b'README' Ahem. Maybe I should test before committing (or just go to bed). Fixed in https://github.com/qsuscs/gentoo-overlay/commit/306c6be866ccc8ec0c9b6e5954e70999c0827620, I swear. |