Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935176 - [arrans-overlay] Ebuild failures occuring in global scope
Summary: [arrans-overlay] Ebuild failures occuring in global scope
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arran Ubels
URL: https://qa-reports.gentoo.org/output/...
Whiteboard:
Keywords:
Depends on:
Blocks: repository-qa-issues
  Show dependency tree
 
Reported: 2024-06-30 11:18 UTC by Thomas Bracht Laumann Jespersen
Modified: 2024-07-03 04:29 UTC (History)
1 user (show)

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 Thomas Bracht Laumann Jespersen 2024-06-30 11:18:33 UTC
Our automated repository checks [1] have detected that the 'arrans-
overlay' repository contains ebuilds that trigger fatal errors during
the cache regeneration. This usually means that the ebuilds call 'die'
in global scope indicating serious issues or have other serious QA
violations.

Global-scope failures prevent the ebuild not only from being installed
but also from being properly processed by the Package Manager. Since
metadata can not be obtained for those ebuilds, no cache entries are
created for them and the Package Manager needs to retry running them
every time it stumbles upon them. This involves both a serious slowdown
and repeating error output while performing dependency resolution.

The most common cause of global-scope failures is use of removed or
banned APIs in old ebuilds. In particular, this includes eclasses being
removed or removing support for old EAPIs. Nonetheless there are also
other issues such as performing illegal operations in global scope
(external program calls), malformed bash in ebuilds or malformed
metadata.xml.

The error log for the repository can be found at:

  https://qa-reports.gentoo.org/output/repos/arrans-overlay.html

In particular, please look for highlighted error messages.

Please fix the issue ASAP, possibly via removing unmaintained, old
ebuilds. We reserve the right to remove the repository from our list if
we do not receive any reply within 4 weeks.

[1]:https://wiki.gentoo.org/wiki/Project:Repository_mirror_and_CI
Comment 1 Arran Ubels 2024-06-30 12:58:45 UTC
I have fixed the issue. I haven't yet put something to prevent it form happening in the future. What's the process?
Comment 2 Arran Ubels 2024-06-30 13:01:28 UTC
Fix in commit ~15 minutes for it to be mirrored:
https://github.com/arran4/arrans_overlay/commit/f18213d84f3f1d5cb507148e0019243d10cfd6a9

I will figure out a way of prevent these getting though.
Comment 3 Thomas Bracht Laumann Jespersen 2024-07-02 04:30:19 UTC
(In reply to Arran Ubels from comment #1)
> I have fixed the issue. I haven't yet put something to prevent it form
> happening in the future. What's the process?

We run these QA checks against overlays periodically, and if an issue is found we file these bugs. The bugs are to help inform the overlay owners and track the status, and it's only really a problem if issues aren't resolved. Don't worry about the bugs being filed, it did the job and notified you and I'm happy that you responded so quick :-)

The best tooling for committing ebuilds I can recommend is pkgcheck/pkgdev as they will run the same checks for you locally.
Comment 4 Arran Ubels 2024-07-02 04:38:44 UTC
Will it close itself or should I?

Is there any process documentation?
Comment 5 Thomas Bracht Laumann Jespersen 2024-07-03 04:29:50 UTC
It'll get closed the next time I run the QA checks, but you're welcome to close it when fixed.

There's some documentation here: https://wiki.gentoo.org/wiki/Project:Repository_mirror_and_CI