Skip to content
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

Big Sur compilation failure: opam install google-drive-ocamlfuse #706

Open
hubrix opened this issue Feb 28, 2021 · 4 comments
Open

Big Sur compilation failure: opam install google-drive-ocamlfuse #706

hubrix opened this issue Feb 28, 2021 · 4 comments

Comments

@hubrix
Copy link

hubrix commented Feb 28, 2021

opam install google-drive-ocamlfuse                                                                                                                                                                                                                                                                  31 ↵
The following actions will be performed:
  ∗ install camlidl                1.05       [required by google-drive-ocamlfuse]
  ∗ install ocamlfuse              2.7.1-cvs5 [required by google-drive-ocamlfuse]
  ∗ install google-drive-ocamlfuse 0.6.21
===== ∗ 3 =====
Do you want to continue? [Y/n] y

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫
[camlidl.1.05] found in cache
[google-drive-ocamlfuse.0.6.21] found in cache
[ocamlfuse.2.7.1-cvs5] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫
[ERROR] The compilation of camlidl failed at "/Users/mark/.opam/opam-init/hooks/sandbox.sh build make all".

#=== ERROR while compiling camlidl.1.05 =======================================#
# context     2.0.8 | macos/x86_64 | ocaml-base-compiler.4.02.0 | https://opam.ocaml.org#bdf246ee
# path        ~/.opam/4.02.0/.opam-switch/build/camlidl.1.05
# command     ~/.opam/opam-init/hooks/sandbox.sh build make all
# exit-code   2
# env-file    ~/.opam/log/camlidl-34911-6aa130.env
# output-file ~/.opam/log/camlidl-34911-6aa130.out
### output ###
# [...]
# comerror.c:171:16: error: implicit declaration of function 'caml_format_exception' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
#   char * msg = format_caml_exception(exn_bucket);
#                ^
# /Users/mark/.opam/4.02.0/lib/ocaml/caml/compatibility.h:249:31: note: expanded from macro 'format_caml_exception'
# #define format_caml_exception caml_format_exception /*SP*/
#                               ^
# comerror.c:171:10: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]
#   char * msg = format_caml_exception(exn_bucket);
#          ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2 warnings and 1 error generated.
# make[1]: *** [comerror.o] Error 2
# make: *** [all] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫
┌─ The following actions failed
│ λ build camlidl 1.05
└─
╶─ No changes have been performed
@hubrix
Copy link
Author

hubrix commented Feb 28, 2021

#xavierleroy/camlidl#19

@hubrix
Copy link
Author

hubrix commented Feb 28, 2021

opam switch create ocaml-system.4.10.2
opam switch ocaml-system.4.10.2
opam install camlidl

@hubrix
Copy link
Author

hubrix commented Feb 28, 2021

[ERROR] The compilation of ocamlfuse failed at "/Users/mark/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 11".
∗ installed extlib.1.7.8
∗ installed ocurl.0.9.1
∗ installed ocamlnet.4.1.8
∗ installed gapi-ocaml.0.4.1

#=== ERROR while compiling ocamlfuse.2.7.1-cvs7 ===============================#
# context     2.0.8 | macos/x86_64 | ocaml-system.4.10.2 | https://opam.ocaml.org#64c8abec
# path        ~/.opam/ocaml-system.4.10.2/.opam-switch/build/ocamlfuse.2.7.1-cvs7
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlfuse -j 11
# exit-code   1
# env-file    ~/.opam/log/ocamlfuse-42427-3fad85.env
# output-file ~/.opam/log/ocamlfuse-42427-3fad85.out
### output ###
# Unix_util_stubs.c:85:9: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
# [...]
# Unix_util_stubs.c:85:9: note: did you mean 'fwrite'?
# /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:165:9: note: 'fwrite' declared here
# size_t   fwrite(const void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream) __DARWIN_ALIAS(fwrite);
#          ^
# Unix_util_stubs.c:115:3: error: implicit declaration of function 'fchdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
#   fchdir(Int_val(fd));
#   ^
# Unix_util_stubs.c:143:3: warning: expression result unused [-Wunused-value]
#   bufv;
#   ^~~~
# 1 warning and 3 errors generated.

@hubrix
Copy link
Author

hubrix commented Feb 28, 2021

#astrada/ocamlfuse#20

@hubrix hubrix changed the title Big Sur complication failure: opam install google-drive-ocamlfuse Big Sur compilation failure: opam install google-drive-ocamlfuse Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant