Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796641 - dev-lang/ocaml installs broken @ocaml-rebuild set config on 17.1 profiles
Summary: dev-lang/ocaml installs broken @ocaml-rebuild set config on 17.1 profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-18 20:21 UTC by Jonathan Lovelace
Modified: 2021-06-18 21:09 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,7.73 KB, text/plain)
2021-06-18 20:21 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2021-06-18 20:21:12 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2021-06-18 21:09:02 UTC
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(-)