* Press Ctrl-C to Stop * * dev-ml/ocamlbuild-0.14.0-r1:0::gentoo * /usr/lib64/ocaml/ocamlbuild/META * * Package 'dev-ml/findlib-1.9.1' NOT merged due to file collisions. If ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j3-20210719-130004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit b7d77df817760b484e214e32e92a7a85cd41413f Merge: 31f9ab94336 9cdfa019afe Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jul 21 21:21:37 2021 +0000 Merge updates from master emerge -qpvO dev-ml/findlib [ebuild U ] dev-ml/findlib-1.9.1 [1.8.1-r2] USE="-doc -ocamlopt -tk"
Created attachment 725515 [details] emerge-info.txt
Created attachment 725518 [details] dev-ml:findlib-1.9.1:20210721-213429.log
Created attachment 725521 [details] emerge-history.txt
Created attachment 725524 [details] etc.portage.tar.bz2
Created attachment 725527 [details] logs.tar.bz2
I don't know how to handle automatically. New version of findlib provides directly META files for num and ocamlbuild, and does not provide them when building num and ocamlbuild. You need to emerge -C ocamlbuild emerge -C num emerge findlib emerge ocamlbuild num
I don't have num installed but did have to emerge -C camlp4 to be able to install findlib without collisions.
(In reply to Tupone Alfredo from comment #6) > I don't know how to handle automatically. New version of findlib provides > directly META files for num and ocamlbuild, and does not provide them when > building num and ocamlbuild. > > You need to > > emerge -C ocamlbuild > emerge -C num > emerge findlib > emerge ocamlbuild num This fixed my problem!
*** Bug 804495 has been marked as a duplicate of this bug. ***
(In reply to vowstar from comment #8) > (In reply to Tupone Alfredo from comment #6) > > You need to > > > > emerge -C ocamlbuild > > emerge -C num > > emerge findlib > > emerge ocamlbuild num > > This fixed my problem! Well, here I had to remove dev-ml/camlp4 as well, but installing dev-ml/ocamlbuild-0.14.0-r1 gives me: * Detected file collision(s): * * /usr/lib64/ocaml/ocamlbuild/META * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-ml/findlib-1.9.1:0::gentoo * /usr/lib64/ocaml/ocamlbuild/META So I needed to downgrade findlib to 1.8 and mask 1.9.
It is a bit strange. I tested again: with findlib-1.8.1 emerge -a ocamlbuild camlp4 echo "dev-ml/findlib" >> /etc/portage/package.accept_keywords/ml emerge findlib (NOT merged for collision with dev-ml/ocamlbuild and dev-ml/camlp4) emerge -C ocamlbuild camlp4 emerge findlib (this time is ok) emerge -a ocamlbuild camlp4 (everything is ok)
(In reply to Bernd Feige from comment #10) > Well, here I had to remove dev-ml/camlp4 as well, but installing > dev-ml/ocamlbuild-0.14.0-r1 gives me: > * Detected file collision(s): > * > * /usr/lib64/ocaml/ocamlbuild/META > * > * Searching all installed packages for file collisions... > * > * Press Ctrl-C to Stop > * > * dev-ml/findlib-1.9.1:0::gentoo > * /usr/lib64/ocaml/ocamlbuild/META > > So I needed to downgrade findlib to 1.8 and mask 1.9. how did you reinstall dev-ml/ocamlbuild ? via bin package?
(In reply to Tupone Alfredo from comment #12) > (In reply to Bernd Feige from comment #10) > > > Well, here I had to remove dev-ml/camlp4 as well, but installing > > dev-ml/ocamlbuild-0.14.0-r1 gives me: > > * Detected file collision(s): > > * > > * /usr/lib64/ocaml/ocamlbuild/META > > * > > * Searching all installed packages for file collisions... > > * > > * Press Ctrl-C to Stop > > * > > * dev-ml/findlib-1.9.1:0::gentoo > > * /usr/lib64/ocaml/ocamlbuild/META > > > > So I needed to downgrade findlib to 1.8 and mask 1.9. > > how did you reinstall dev-ml/ocamlbuild ? via bin package? Completely updated ~amd64 system here, no binary packages...
(In reply to vowstar from comment #8) > (In reply to Tupone Alfredo from comment #6) > > I don't know how to handle automatically. New version of findlib provides > > directly META files for num and ocamlbuild, and does not provide them when > > building num and ocamlbuild. > > > > You need to > > > > emerge -C ocamlbuild > > emerge -C num > > emerge findlib > > emerge ocamlbuild num > > This fixed my problem! This worked for me too, although I did the following in order to not pull the packages into the @world set: emerge -C ocamlbuild emerge -u1 findlib emerge -u1 ocamlbuild
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfd40d7cf6b67d78c9496ce0c0320562567e634 commit 8cfd40d7cf6b67d78c9496ce0c0320562567e634 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-07 01:43:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-07 01:43:45 +0000 dev-ml/camlp4: fix collision with newer findlib Closes: https://bugs.gentoo.org/803275 Signed-off-by: Sam James <sam@gentoo.org> dev-ml/camlp4/camlp4-4.05_p1-r1.ebuild | 8 +++++++- dev-ml/camlp4/{camlp4-4.09_p1.ebuild => camlp4-4.09_p1-r1.ebuild} | 8 +++++++- .../camlp4/{camlp4-4.10_p1-r1.ebuild => camlp4-4.10_p1-r2.ebuild} | 8 +++++++- dev-ml/camlp4/{camlp4-4.13.ebuild => camlp4-4.11_p1-r2.ebuild} | 8 +++++++- dev-ml/camlp4/{camlp4-4.11_p1-r1.ebuild => camlp4-4.12-r1.ebuild} | 8 +++++++- dev-ml/camlp4/{camlp4-4.12.ebuild => camlp4-4.13-r1.ebuild} | 8 +++++++- 6 files changed, 42 insertions(+), 6 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=372049e39ab93af18ce0e72e884ee2ca5ea1b5a9 commit 372049e39ab93af18ce0e72e884ee2ca5ea1b5a9 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-07 01:38:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-07 01:38:52 +0000 dev-ml/num: fix collision with newer findlib Closes: https://bugs.gentoo.org/803275 Signed-off-by: Sam James <sam@gentoo.org> dev-ml/num/{num-1.4-r1.ebuild => num-1.4-r2.ebuild} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
I've encountered this on a box with ocamlbuild and findlib installed, no camlp4 or num. dev-ml/findlib-1.9.1 includes/wants to install /usr/lib64/ocaml/ocamlbuild/META, but that is already present and owned by dev-ml/ocamlbuild-0.14.0-r1. However, there is a catch if doing the same kind of change to ocamlbuild that was done to fix camlp4 and num: - findlib-1.9 was the first version to deploy ocamlbuild/META - if ocamlbuild is installed before findlib, or when only <findlib-1.9 exists, then checking for >=findlib-1.9 in ocamlbuild's ebuild does no good So, I've modified findlib to skip the file if ocamlbuild is installed. There is still a catch though: there's no strict order or dependency between findlib and ocamlbuild (unless ocamlbuild[test]). So I believe one could still get errors by: - install findlib-1.9.x first; it deploys ocamlbuild/META - then install ocamlbuild, fails because ocamlbuild/META exists I don't know the right way to handle that, some conditional := stuff?
Fixed with ocamlbuild-0.14 adding a dep to findlib
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e9aeadb5a60eea60b835c75ed81662ebec9e879 commit 8e9aeadb5a60eea60b835c75ed81662ebec9e879 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-22 07:26:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-22 07:35:30 +0000 dev-ml/findlib: workaround collision with labltk Bug: https://bugs.gentoo.org/803275 Closes: https://bugs.gentoo.org/833604 Signed-off-by: Sam James <sam@gentoo.org> dev-ml/findlib/findlib-1.9.3.ebuild | 5 ++++- dev-ml/findlib/findlib-1.9.5.ebuild | 5 ++++- dev-ml/findlib/findlib-1.9.6.ebuild | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-)