Package Details: ocaml-magic 0.7.3-4

Package Base: ocaml-magic
Description: OCaml binding for libmagic (to determine the type of files).
Upstream URL: https://sourceforge.net/projects/ocaml-magic
Category: devel
Licenses: GPL
Submitter: luuuciano
Maintainer: Myshkin
Last Packager: None
Votes: 6
First Submitted: 2008-12-10 00:12
Last Updated: 2013-04-27 20:16

Latest Comments

Comment by Myshkin

2013-04-27 20:16

It is not unsafe. That occurs within a chroot environment. Most of the OCaml packages follow someone's proposed Arch OCaml guidelines which sometimes gives the error you mention. When adopting them, I left the PKGBUILDs as they were unless they wouldn't build on my system. I think the OCaml guidelines don't follow Arch AUR policy and so when new versions come out, I change them at that time, unless someone complains. :)

Comment by leonardder

2013-04-26 08:14

Building this package is very unsafe, as it wants to change files in the /usr/lib filesystem:
Installing library with ocamlfind
ocamlfind install magic META magic.mli magic.cmi magic.cma magic.cmx magic.cmxa magic.a libmagic_stubs.a dllmagic_stubs.so
ocamlfind: Cannot mkdir /usr/lib/ocaml/magic: Permission denied
make[1]: *** [libinstall] Error 2
make[1]: Leaving directory `/var/abs/local/ocaml-magic/src/ocaml-magic-0.7.3/src'
make: *** [install] Error 2

Please either fix or disown.