Created attachment 716760 [details] emerge-info.txt The Portage set config file installed to /usr/share/portage/config/sets/ocaml.conf by dev-lang/ocaml (found in the portage tree at $PORTDIR/dev-lang/ocaml/files/ocaml.conf, where it hasn't been changed since being imported to Git) is as follows: [ocaml-rebuild] class = portage.sets.dbapi.OwnerSet files = /usr/lib/ocaml exclude-files = /usr/bin/ocaml But under profile 17.1, OCaml lib files are installed to /usr/lib64/ocaml. This causes the @ocaml-rebuild set to not match any packages: $ sudo emerge -a1 -j2 @ocaml-rebuild These are the packages that would be merged, in order: Calculating dependencies ... done! Nothing to merge; quitting. If I change /usr/share/portage/config/sets/ocaml.conf to say /usr/lib64/ocaml instead, "emerge @ocaml-rebuild" rebuilds all OCaml packages.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32961e61fdd8aef2d28e533c01ca81d90140f7ff commit 32961e61fdd8aef2d28e533c01ca81d90140f7ff Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-18 20:54:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-18 21:08:29 +0000 dev-lang/ocaml: fix installed Portage set libdir target Closes: https://bugs.gentoo.org/796641 Signed-off-by: Sam James <sam@gentoo.org> .../{ocaml-4.05.0-r5.ebuild => ocaml-4.05.0-r7.ebuild} | 10 ++++++++-- .../{ocaml-4.05.0-r6.ebuild => ocaml-4.05.0-r8.ebuild} | 12 +++++++++--- .../{ocaml-4.09.0-r1.ebuild => ocaml-4.09.0-r2.ebuild} | 11 ++++++++--- .../{ocaml-4.10.2-r1.ebuild => ocaml-4.10.2-r2.ebuild} | 10 +++++++--- .../{ocaml-4.11.2-r1.ebuild => ocaml-4.11.2-r2.ebuild} | 15 ++++++++++----- .../{ocaml-4.12.0-r1.ebuild => ocaml-4.12.0-r2.ebuild} | 14 +++++++++----- 6 files changed, 51 insertions(+), 21 deletions(-)