Created attachment 920603 [details] /tmp/dist/dev-lang:ocaml-5.3.0:20250312-074131.log * package dev-lang/ocaml-5.3.0 NOT merged * * Detected file collision(s): * * /usr/lib64/ocaml/ocamldoc/META * /usr/lib64/ocaml/threads/META * /usr/lib64/ocaml/str/META * /usr/lib64/ocaml/unix/META * /usr/lib64/ocaml/dynlink/META * /usr/lib64/ocaml/stdlib/META * /usr/lib64/ocaml/compiler-libs/META * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-ml/findlib-1.9.8:0::gentoo * /usr/lib64/ocaml/compiler-libs/META * /usr/lib64/ocaml/dynlink/META * /usr/lib64/ocaml/ocamldoc/META * /usr/lib64/ocaml/stdlib/META * /usr/lib64/ocaml/str/META * /usr/lib64/ocaml/threads/META * /usr/lib64/ocaml/unix/META * * Package 'dev-lang/ocaml-5.3.0' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message.
Created attachment 920604 [details] emerge --info
I don't know how to solve this automatically. findlib always gives problem as install some META files if they are not already present. The solution I have adopted is to emerge -C findlib, emerge the new ocaml and the emerge again findlib. Ideas to fix this automatically are welcomed
(In reply to Tupone Alfredo from comment #2) > I don't know how to solve this automatically. > > findlib always gives problem as install some META files if they are not > already present. > Then we have to either: a) make sure they're always installed before findlib, b) stop findlib installing them ever, or c) (a variant of a) - have some other package install stub META files > The solution I have adopted is to emerge -C findlib, emerge the new ocaml > and the emerge again findlib. For now, the status quo isn't good, and we should mask again until this is figured out.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea21b351645ce875693e0bec52535321b467c86d commit ea21b351645ce875693e0bec52535321b467c86d Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2025-03-12 20:04:13 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2025-03-12 20:05:00 +0000 dev-lang/ocaml: require findlib with purged META Closes: https://bugs.gentoo.org/951185 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-lang/ocaml/{ocaml-5.3.0.ebuild => ocaml-5.2.0-r1.ebuild} | 3 ++- dev-lang/ocaml/{ocaml-5.2.0.ebuild => ocaml-5.2.1-r1.ebuild} | 5 +++-- dev-lang/ocaml/{ocaml-5.2.1.ebuild => ocaml-5.3.0-r1.ebuild} | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885eddc1b5d5422fd38af596770e408076156fc6 commit 885eddc1b5d5422fd38af596770e408076156fc6 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2025-03-12 19:41:39 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2025-03-12 20:04:56 +0000 dev-ml/findlib: drop some META files Bug: https://bugs.gentoo.org/951185 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-ml/findlib/findlib-1.9.8-r1.ebuild | 94 ++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+)