New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cp -p in ocamlrun doesn't work on ZFS #5284
Comments
Comment author: @ygrek update cp to the latest version, show cp --version, describe your OS and filesystem, show syscall trace (with strace/truss/etc) |
Comment author: tiancaicai This machine is maintained by school so I cannot update it myself. But I'll try to contact the IT service people to update if it is really necessary. $ cp --version $ cat /etc/release Filesystem is using ZFS. $ strace -o output make world |
Comment author: @ygrek ZFS is mounted via NFS? IIRC NFSv3 doesn't care about ACL. |
Comment author: tiancaicai I think so. And we are using NFSv3. And I found a local-scratch with ext3 and successfully compiled ocaml. Thanks a lot! |
Comment author: @xavierleroy Looks like an OS/filesystem issue. No changes required on OCaml's code. |
Original bug ID: 5284
Reporter: tiancaicai
Status: closed (set by @xavierleroy on 2011-06-12T10:08:57Z)
Resolution: not a bug
Priority: normal
Severity: block
Version: 3.12.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @ygrek
Bug description
When I was trying to install ocaml, make world gave me the following errors:
boot/ocamlrun boot/ocamldep -modules ocamlbuild/options.ml > ocamlbuild/options.ml.depends
cp -p myocamlbuild_config.mli ocamlbuild/ocamlbuild_Myocamlbuild_config.mli
cp: preserving permissions for
ocamlbuild/ocamlbuild_Myocamlbuild_config.mli': Operation not supported cp: preserving ACL for
ocamlbuild/ocamlbuild_Myocamlbuild_config.mli': Operation not supportedExit code 1 while executing this command:
cp -p myocamlbuild_config.mli ocamlbuild/ocamlbuild_Myocamlbuild_config.mli
make[1]: *** [ocamlbuild-mixed-boot] Error 1
make[1]: Leaving directory `/cs/guests/jias/software/ocaml-3.12.0'
make: *** [world] Error 2
I think it's a ZFS issue, which -p is not allowed for cp.
Can you help me to find how to disable this -p options in ocamlrun? I greped the source code and cannot find a clue. Thanks!
The text was updated successfully, but these errors were encountered: