You are not logged in.
ocaml4-camlp4 and ocaml4-findlib both try to install same files:
$ pamac build ocaml4-camlp4
Preparing...
Cloning ocaml4-camlp4 build files...
Generating ocaml4-camlp4 information...
Checking ocaml4-camlp4 dependencies...
Cloning ocaml4-findlib build files...
Generating ocaml4-findlib information...
Checking ocaml4-findlib dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (2):
ocaml4-findlib 1.9.6-1 AUR
ocaml4-camlp4 4.14+1-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Checking keyring... [1/1]
Checking integrity... [1/1]
Loading packages files... [1/1]
Checking file conflicts... [1/1]
Error: Failed to commit transaction:
conflicting files:
- ocaml4-findlib: /usr/lib/ocaml/camlp4/META already exists in filesystem (owned by ocaml4-camlp4)
- ocaml4-findlib: /usr/lib/ocaml/ocamlbuild/META already exists in filesystem (owned by ocaml4-ocamlbuild)
Last edited by korimitsu (2023-11-03 20:49:01)
Offline
please post the output of pacman -Qs ocaml .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
please post the output of pacman -Qs ocaml .
$ pacman -Qs ocaml
local/dune 3.8.0-2
A composable build system for OCaml (formerly jbuilder)
local/ocaml4 4.14.1-1
A functional language with OO extensions
local/ocaml4-camlp-streams 5.0.1-1
The Stream and Genlex libraries for use with Camlp4 and Camlp5.
local/ocaml4-compiler-libs 4.14.1-1
Several modules used internally by the OCaml compiler
local/ocaml4-lablgtk2 2.18.12-1
An Objective Caml interface to gtk2
local/ocaml4-num 1.4-1
Library for arbitrary-precision integer and rational arithmetic that used to be part of the OCaml core distribution
local/ocaml4-ocamlbuild 0.14.2-1
Build tool, that has built-in rules for building OCaml library and programs
Offline
I had expected to see both ocaml4-camlp4 & ocamlbuild but the first one isn't present.
Let's doublecheck, post the output of
$ pacman -Qo /usr/lib/ocaml/camlp4/META /usr/lib/ocaml/ocamlbuild/META
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I had expected to see both ocaml4-camlp4 & ocamlbuild but the first one isn't present.
Let's doublecheck, post the output of
$ pacman -Qo /usr/lib/ocaml/camlp4/META /usr/lib/ocaml/ocamlbuild/META
$ pacman -Qo /usr/lib/ocaml/camlp4/META /usr/lib/ocaml/ocamlbuild/META
error: No package owns /usr/lib/ocaml/camlp4/META
/usr/lib/ocaml/ocamlbuild/META is owned by ocaml4-ocamlbuild 0.14.2-1
Offline
building ocaml is tricky and can fail easily, especially if there are ocaml parts already present.
remove all those packages listed in #3 , then try building just ocaml4-findlib .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks a lot. Works now after uninstalling all related packages and reinstalling:
$ pamac build ocaml4-camlp4 ocaml4-lablgtk2 ocaml4-num ocaml4-findlib
Preparing...
Cloning ocaml4-findlib build files...
Generating ocaml4-findlib information...
Checking ocaml4-findlib dependencies...
Checking ocaml4-lablgtk2 dependencies...
Cloning ocaml4-camlp4 build files...
Generating ocaml4-camlp4 information...
Checking ocaml4-camlp4 dependencies...
Checking ocaml4-num dependencies...
Checking ocaml4-compiler-libs dependencies...
Checking ocaml4 dependencies...
Checking ocaml4-camlp-streams dependencies...
Checking ocaml4-ocamlbuild dependencies...
Resolving dependencies...
Checking inter-conflicts...
To install (1):
dune 3.8.0-2 (Required By: ocaml4-camlp-streams) extra 10.4 MB
To build (8):
ocaml4 4.14.1-1 AUR
ocaml4-compiler-libs 4.14.1-1 AUR
ocaml4-camlp-streams 5.0.1-1 AUR
ocaml4-findlib 1.9.6-1 AUR
ocaml4-num 1.4-1 AUR
ocaml4-ocamlbuild 0.14.2-1 AUR
ocaml4-camlp4 4.14+1-1 AUR
ocaml4-lablgtk2 2.18.12-1 AUR
Total download size: 10.4 MB
Total installed size: 44.1 MB
Edit build files : [e]
Apply transaction ? [e/y/N]
Last edited by korimitsu (2023-11-02 13:42:36)
Offline
Great, please prepend [Solved] to the title .
(edit first post, you may need to shorten the title as there's a character limit)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline