Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951185 - dev-lang/ocaml-5.3.0 file collisions with dev-ml/findlib-1.9.8
Summary: dev-lang/ocaml-5.3.0 file collisions with dev-ml/findlib-1.9.8
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: 2025-03-12 08:17 UTC by Michał Górny
Modified: 2025-03-12 20:17 UTC (History)
4 users (show)

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


Attachments
/tmp/dist/dev-lang:ocaml-5.3.0:20250312-074131.log (dev-lang:ocaml-5.3.0:20250312-074131.log,140.18 KB, text/plain)
2025-03-12 08:17 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,8.42 KB, text/plain)
2025-03-12 08:17 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-03-12 08:17:29 UTC
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.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-03-12 08:17:48 UTC
Created attachment 920604 [details]
emerge --info
Comment 2 Tupone Alfredo gentoo-dev 2025-03-12 09:01:42 UTC
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
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-12 09:05:04 UTC
(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.
Comment 4 Larry the Git Cow gentoo-dev 2025-03-12 20:05:16 UTC
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(+)