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

Bug 906128

Summary: [Tracker] Drop remaining non-PMS helpers
Product: Portage Development Reporter: Ulrich Müller <ulm>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=416719
https://bugs.gentoo.org/show_bug.cgi?id=259422
Whiteboard: Ban helpers after 2023-12-31
Package list:
Runtime testing required: ---
Bug Depends on: 102297, 899898, 906129, 906156    
Bug Blocks:    

Description Ulrich Müller gentoo-dev 2023-05-11 09:11:02 UTC
The following helpers in bin/ebuild-helpers are not defined by PMS.
Quote: "[They] are reserved for package manager use and may not be used or relied upon by ebuilds:"

- prepall, prepalldocs, prepallinfo, prepallman:
  These have been banned (i.e. they die unconditionally).

- prepallstrip, prepstrip:
  For some reason, these die only in EAPI 7 and later.
  Probably should be changed to die unconditionally.
  Last usage removed from Gentoo repo on 2019-04-14.

- prepinfo:
  Outputs a deprecation warning. Could be banned when bug 899898 is fixed.
  Last usage removed from Gentoo repo on 2018-11-22.

- prepman:
  Outputs a deprecation warning.
  Last usage removed from Gentoo repo on 2019-04-14.

- portageq:
  *No* deprecation warning.
  Last usage removed from Gentoo repo on 2020-07-27.
Comment 1 Ulrich Müller gentoo-dev 2023-05-12 17:42:42 UTC
A branch with the final bans is here (merge after 2023-12-31):
https://github.com/ulm/portage/tree/ban-helpers