Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60495 - [ocaml-easy-format] fails to build

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Friday, 19 October 2018, 13:26 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Sunday, 21 October 2018, 17:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

extra-x86_64-build fails with:

[ERROR] The compilation of ocaml-system failed at "/build/ocaml-easy-format/src/opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml".

#=== ERROR while compiling ocaml-system.4.07.0 ================================#
# context 2.0.0 | linux/x86_64 | | https://opam.ocaml.org#c73e19ba
# path ~/ocaml-easy-format/src/opam/default/.opam-switch/build/ocaml-system.4.07.0
# command ~/ocaml-easy-format/src/opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml
# exit-code 1
# env-file /tmp/opam-xxx-949/ocaml-system-949-b76d46.env
# output-file /tmp/opam-xxx-949/ocaml-system-949-b76d46.out
### output ###
# ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
# bwrap: capset failed: Operation not permitted



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-system 4.07.0
└─
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install base-bigarray base
│ ∗ install base-threads base
│ ∗ install base-unix base
└─
# Run eval $(opam env) to update the current shell environment
Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n]



Additional info:
* package version(s)
ocaml-easy-format 1.3.1-2 (git revision f9aa7eebdf9b1469432ceb61c0e712f9e84fc73f)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout f9aa7eebdf9b1469432ceb61c0e712f9e84fc73f
> cd ocaml-easy-format/repos/community-x86_64
> extra-x86_64-build
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Sunday, 21 October 2018, 17:24 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Saturday, 20 October 2018, 13:58 GMT
Appears to be a bad interaction between opam's use of bubblewrap and fakeroot possibly combined with systemd-nspawn.
Comment by Bruno Pagani (ArchangeGabriel) - Sunday, 21 October 2018, 17:23 GMT
Yeah, that was an expected issue because of dune changes.
I’ve fixed the PKGBUILD, it builds again.

Loading...