← Back to PR #0

Build Log: scrypt.0.2.1

Status: SUCCESS

Log Output

Processing: [default: loading data] [scrypt.0.2.1: http] [scrypt.0.2.1: extract] [scrypt.0.2.1/no-ctypes-dependency.patch: dl] -> retrieved scrypt.0.2.1 (https://github.com/constfun/ocaml-scrypt/archive/v0.2.1.tar.gz) [scrypt: patch] applying no-ctypes-dependency.patch [scrypt: make] + /usr/bin/make (CWD=/home/opam/.opam/default/.opam-switch/build/scrypt.0.2.1) - # Compile scrypt, but immediately explode the library into it's object files. - # We do this to merge the objects with scrypt_stubs.o into a new, unified, library under the name libscrypt.a - # The merging step happens during ocamlmklib linking. - cd libscrypt && make && ar x libscrypt.a - make[1]: Entering directory '/home/opam/.opam/default/.opam-switch/build/scrypt.0.2.1/libscrypt' - cd scrypt-1.1.6 && ./configure - checking for a BSD-compatible install... /usr/bin/install -c - checking whether build environment is sane... - yes - checking for a thread-safe mkdir -p... /usr/bin/mkdir -p - checking for gawk... no - checking for mawk... mawk - checking whether make sets $(MAKE)... yes - checking whether to enable maintainer-specific portions of Makefiles... no - checking for gcc... gcc - checking for C compiler default output file name... a.out - checking whether the C compiler works... yes - checking whether we are cross compiling... no - checking for suffix of executables... - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... - none needed - checking for style of include used by make... GNU - checking dependency style of gcc... gcc3 - checking how to run the C preprocessor... gcc -E - checking for grep that handles long lines and -e... /usr/bin/grep - checking for egrep... /usr/bin/grep -E - checking for ANSI C header files... yes - checking for sys/types.h... yes - checking for sys/stat.h... yes - checking for stdlib.h... yes - checking for string.h... - yes - checking for memory.h... yes - checking for strings.h... yes - checking for inttypes.h... yes - checking for stdint.h... yes - checking for unistd.h... yes - checking sys/endian.h usability... no - checking sys/endian.h presence... no - checking for sys/endian.h... no - checking whether be64enc is declared... no - checking err.h usability... yes - checking err.h presence... yes - checking for err.h... yes - checking for clock_gettime in -lrt... yes - checking for clock_gettime... yes - checking sys/sysinfo.h usability... yes - checking sys/sysinfo.h presence... yes - checking for sys/sysinfo.h... yes - checking for sysinfo... yes - checking for struct sysinfo... - yes - checking for struct sysinfo.totalram... yes - checking for struct sysinfo.mem_unit... yes - checking sys/param.h usability... yes - checking sys/param.h presence... yes - checking for sys/param.h... yes - checking for posix_memalign... yes - checking for special C compiler options needed for large files... no - checking for _FILE_OFFSET_BITS value needed for large files... no - configure: creating ./config.status - config.status: creating Makefile - config.status: creating config.h - config.status: executing depfiles commands - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -c -o scrypt-1.1.6/lib/crypto/crypto_aesctr.o scrypt-1.1.6/lib/crypto/crypto_aesctr.c - scrypt-1.1.6/lib/crypto/crypto_aesctr.c: In function 'crypto_aesctr_stream': - scrypt-1.1.6/lib/crypto/crypto_aesctr.c:97:25: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 97 | AES_encrypt(pblk, stream->buf, stream->key); - | ^~~~~~~~~~~ - In file included from scrypt-1.1.6/lib/crypto/crypto_aesctr.c:34: - /usr/include/openssl/aes.h:57:6: note: declared here - 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, - | ^~~~~~~~~~~ - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -c -o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.c - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -c -o scrypt-1.1.6/lib/scryptenc/scryptenc.o scrypt-1.1.6/lib/scryptenc/scryptenc.c - scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptenc_buf': - scrypt-1.1.6/lib/scryptenc/scryptenc.c:338:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 338 | if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp)) - | ^~ - In file included from scrypt-1.1.6/lib/scryptenc/scryptenc.c:38: - /usr/include/openssl/aes.h:51:5: note: declared here - 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, - | ^~~~~~~~~~~~~~~~~~~ - scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptdec_buf': - scrypt-1.1.6/lib/scryptenc/scryptenc.c:401:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 401 | if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp)) - | ^~ - /usr/include/openssl/aes.h:51:5: note: declared here - 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, - | ^~~~~~~~~~~~~~~~~~~ - scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptenc_file': - scrypt-1.1.6/lib/scryptenc/scryptenc.c:462:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 462 | if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp)) - | ^~ - /usr/include/openssl/aes.h:51:5: note: declared here - 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, - | ^~~~~~~~~~~~~~~~~~~ - scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptdec_file': - scrypt-1.1.6/lib/scryptenc/scryptenc.c:560:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 560 | if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp)) - | ^~ - /usr/include/openssl/aes.h:51:5: note: declared here - 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, - | ^~~~~~~~~~~~~~~~~~~ - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -c -o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.c - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -c -o scrypt-1.1.6/lib/util/memlimit.o scrypt-1.1.6/lib/util/memlimit.c - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -c -o scrypt-1.1.6/lib/crypto/sha256.o scrypt-1.1.6/lib/crypto/sha256.c - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -c -o scrypt-1.1.6/lib/util/warn.o scrypt-1.1.6/lib/util/warn.c - ar rcs libscrypt.a scrypt-1.1.6/lib/crypto/crypto_aesctr.o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.o scrypt-1.1.6/lib/scryptenc/scryptenc.o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.o scrypt-1.1.6/lib/util/memlimit.o scrypt-1.1.6/lib/crypto/sha256.o scrypt-1.1.6/lib/util/warn.o - ranlib libscrypt.a - cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -shared -o libscrypt.so scrypt-1.1.6/lib/crypto/crypto_aesctr.o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.o scrypt-1.1.6/lib/scryptenc/scryptenc.o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.o scrypt-1.1.6/lib/util/memlimit.o scrypt-1.1.6/lib/crypto/sha256.o scrypt-1.1.6/lib/util/warn.o - cp scrypt-1.1.6/lib/scryptenc/scryptenc.h scrypt.h - make[1]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/scrypt.0.2.1/libscrypt' - # Comple just the stubs into an object file. - # - # The stubs expect to find "scrypt.h" on include path. - ocamlfind ocamlopt -o scrypt_stubs scrypt_stubs.c -ccopt -fPIC -ccopt -Ilibscrypt - scrypt_stubs.c: In function 'scrypt_raise_scrypt_error': - scrypt_stubs.c:49:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 49 | exn = caml_named_value("Scrypt_error"); - | ^ - # Compile scrypt.mli (the interface) to a cmi (compiled module interface). - # Compile scrypt.ml to bytecode (cmo). - # - # The order of files matters here. - # Since there is a module interface defined (mli), the compiler expects to find a compiled version of it (cmi) before compiling the ml file. - ocamlfind ocamlc -c scrypt.mli scrypt.ml - # Compile scrypt.ml to scrypt.o (native code) and scrypt.cmx (extra information for optimizing and linking the native code.) - ocamlfind ocamlopt -c scrypt.ml - # Take: - # * C object files, scrypt_stubs.o and all object files extracted from libscrypt/libscrypt.a. - # * Bytecode object file scrypt.cmo - # * Native object file scrypt.cmx + scrypt.o, we supply just the .cmx, but it points to the .o, and it is included in resulting scrypt.a. - # - # Link it all to produce the following files: - # libscrypt.a, contains scrypt_stubs.o and libscrypt/*.o: - # Most of the C portion of our library. - # libscrypt.a MUST be installed, see cmxa. - # - # scrypt.a, contains scrypt.o: - # Native version of scrypt.ml, does NOT include the stubs. - # XXX: I'm not sure why this has to be a separate archive and isn't combined with libscrypt.a. - # What happens when you have more files? Do you then have to install a bunch of .a files with your library? - # scrypt.a MUST be installed, see cmxa. - # - # scrypt.cma, contains scrypt.cmo: - # Bytecode version of library. - # scrypt.cma MUST be installed. - # scrypt.cmo is NOT installed since it is fully comtained in scrypt.cma. - # - # scrypt.cmxa, contains scrypt.cmx and combines it (without containing) with scrypt.a, and libscrypt.a: - # These files comprise the native version of the library. - # scrypt.cmxa, scrypt.a, and libscrypt.a MUST be installed and linked together. - # The -cclib options accomplish this task transparently, since they - # are memoized in scrypt.cmxa and are automatically applied whenever a client links to the library. - # scrypt.cmx is NOT installed since it is fully contained in scrypt.cmxa. - # - # -lcrypto is OpenSSL (scrypt dependency) and must be present on on the system, it will also link the resulting dllscrypt.so with libcrypto.so. - ocamlfind ocamlmklib -v -o scrypt scrypt.cmo scrypt.cmx scrypt_stubs.o libscrypt/*.o -lcrypto -cclib -lscrypt -cclib -lcrypto - + gcc -shared -o ./dllscrypt.so scrypt_stubs.o libscrypt/crypto_aesctr.o libscrypt/crypto_scrypt-nosse.o libscrypt/memlimit.o libscrypt/scryptenc.o libscrypt/scryptenc_cpuperf.o libscrypt/sha256.o libscrypt/warn.o -lcrypto - + ar rcs ./libscrypt.a scrypt_stubs.o libscrypt/crypto_aesctr.o libscrypt/crypto_scrypt-nosse.o libscrypt/memlimit.o libscrypt/scryptenc.o libscrypt/scryptenc_cpuperf.o libscrypt/sha256.o libscrypt/warn.o && ranlib ./libscrypt.a - + ocamlc.opt -a -o scrypt.cma scrypt.cmo -dllib -lscrypt -cclib -lscrypt -cclib -lcrypto -cclib -lscrypt -cclib -lcrypto - + ocamlopt.opt -a -o scrypt.cmxa scrypt.cmx -cclib -lscrypt -cclib -lcrypto -cclib -lscrypt -cclib -lcrypto -> compiled scrypt.0.2.1 [scrypt: make install] + /usr/bin/make "install" (CWD=/home/opam/.opam/default/.opam-switch/build/scrypt.0.2.1) - ocamlfind install scrypt META *.cmi *.cmxa *.cma *.a *.so - Installed /home/opam/.opam/default/lib/scrypt/scrypt.a - Installed /home/opam/.opam/default/lib/scrypt/libscrypt.a - Installed /home/opam/.opam/default/lib/scrypt/scrypt.cma - Installed /home/opam/.opam/default/lib/scrypt/scrypt.cmxa - Installed /home/opam/.opam/default/lib/scrypt/scrypt.cmi - Installed /home/opam/.opam/default/lib/stublibs/dllscrypt.so - Installed /home/opam/.opam/default/lib/stublibs/dllscrypt.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/default/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/default/lib/scrypt/META -> installed scrypt.0.2.1

Dependency Graph

Loading graph...
View raw DOT format
digraph opam { "conf-libssl.4" -> "conf-pkg-config.4"; "ocaml.4.13.1" -> {"ocaml-base-compiler.4.13.1" "ocaml-config.2"} "ocaml-config.2" -> "ocaml-base-compiler.4.13.1"; "ocamlfind.1.9.8" -> "ocaml.4.13.1"; "scrypt.0.2.1" -> {"conf-libssl.4" "ocaml.4.13.1" "ocamlfind.1.9.8"} }