Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888843 - sys-apps/portage-3.0.41-r1: emerge won't record certain pkgs in world file
Summary: sys-apps/portage-3.0.41-r1: emerge won't record certain pkgs in world file
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 09:07 UTC by Roman Žilka
Modified: 2023-01-03 18:19 UTC (History)
0 users

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


Attachments
emerge --info (emerge--info,10.79 KB, text/plain)
2022-12-29 09:07 UTC, Roman Žilka
Details
emerge.log (emerge.log,4.19 KB, text/x-log)
2023-01-03 18:02 UTC, John Helmert III
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Žilka 2022-12-29 09:07:33 UTC
Created attachment 845567 [details]
emerge --info

"emerge app-alternatives/{bc,bzip2,gzip,sh,tar}" only records one of the atoms in the world file. It seems tied to app-alt, "emerge app-arch/{zoo,unp,arj}" works as expected.
Comment 1 Roman Žilka 2022-12-29 12:20:08 UTC
Another pkg which emerge won't record in the world file is sys-apps/which (by itself on the cmdline). Does it have something to do with these pkgs being in @system? virtual/ssh, which is in @system too, does record in world, though.
Comment 2 Roman Žilka 2023-01-03 10:19:02 UTC
To clarify, I'd like emerge to record all pkgs in the world file, even those that are in @system. A pkg I want may be in @system now, but not next year.
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-01-03 18:02:52 UTC
Created attachment 846847 [details]
emerge.log

Yeah, I can reproduce. "emerge app-alternatives/{bc,bzip2,gzip,sh,tar}" creates the attached emerge.log, and:

8e2544b58c4d / # cat /var/lib/portage/world
app-alternatives/bc

The command line in the logfile is:

1672768405:  *** emerge --regex-search-auto=y app-alternatives/bc app-alternatives/bzip2 app-alternatives/gzip app-alternatives/sh app-alternatives/tar
Comment 4 Mike Gilbert gentoo-dev 2023-01-03 18:19:39 UTC
(In reply to Roman Žilka from comment #2)
> To clarify, I'd like emerge to record all pkgs in the world file, even those
> that are in @system. A pkg I want may be in @system now, but not next year.

This request directly conflicts with bug 624628.

It does appear that @system packages will not be added to the world file at the moment; I'm not sure if that behavior is intentional or not.