Are there any pre-requirements for native-toolchain? Maybe I need to install something first. I just check out the master branch and run buildall.sh. Here's more info in my env:
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty $ cat /etc/os-release NAME="Ubuntu" VERSION="14.04.2 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.2 LTS" VERSION_ID="14.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL=" http://bugs.launchpad.net/ubuntu/" $ uname -a Linux iadhadoop-c39 3.16.0-77-generic #99~14.04.1-Ubuntu SMP Tue Jun 28 19:17:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I also attach the build log of cyrus-sasl in the attachment. Thanks, Quanlong At 2018-02-15 00:55:51, "Laszlo Gaal" <laszlo.g...@cloudera.com> wrote: >My build has progressed past the cyrus-sasl phase with no errors, so I >don't have a repro case handy. >My build env is: > >laszlog@laszlog1:~/native-toolchain$ lsb_release -a >No LSB modules are available. >Distributor ID: Ubuntu >Description: Ubuntu 14.04.5 LTS >Release: 14.04 >Codename: trusty >laszlog@laszlog1:~/native-toolchain$ uname -a >Linux laszlog1 4.4.0-112-generic #135~14.04.1-Ubuntu SMP Tue Jan 23 >20:41:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux > > >OTOH grepping in cyrus-sasl finds the following: > >laszlog@laszlog1:~/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23$ >find . -name "*.c" -exec fgrep -n 'NULL, DB_HASH, flags, 0660' {} \; >104: ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660); >106: ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); > > > >(this is in *sasldb/db_berkeley.c*, starting on *line 103*): > >#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1 > ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660); >#else > ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); >#endif > > >so DB_VERSION_MAJOR may have a wrong value in your build -- but admittedly >I don't know what could influence that value. > >Could you post the command line you used to start the build, to see if >there could have been extra settings impacting the build? > >On Wed, Feb 14, 2018 at 3:06 PM, Quanlong Huang <huang_quanl...@126.com> >wrote: > >> Thank you, Laszlo! I build the master branch. >> >> >> At 2018-02-14 21:47:48, "Laszlo Gaal" <laszlo.g...@cloudera.com> wrote: >> >Hey Quanlong, >> > >> >I have made a couple of minor changes, focusing on how our (Cloudera's) >> >internal automation drives the toolchain build. >> >I did not expect these changes to break you; I'll look into it shortly; >> >I'll keep you updated. >> > >> >Which branch dod you try to build? Was is "master"? >> > >> >Thanks, >> > >> > - Laszlo >> > >> >On Wed, Feb 14, 2018 at 1:03 PM, Quanlong Huang <huang_quanl...@126.com> >> >wrote: >> > >> >> Hi all, >> >> >> >> >> >> The build of cyrus-sasl-2.1.23 failed in my env. The errors are all in >> the >> >> db_berkeley.c: >> >> >> >> >> >> >> >> db_berkeley.c:106:8: error: too few arguments to function >> '(*mbdb)->open' >> >> >> >> ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); >> >> >> >> ^ >> >> >> >> make[2]: *** [db_berkeley.lo] Error 1 >> >> >> >> >> >> >> >> I'm using Ubuntu 14.04.2. It used to build success months ago. Are there >> >> any changes relate to this? >> >> >> >> >> >> Thanks, >> >> Quanlong >>
configure: creating cache ./config.cache checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc checking for C compiler default output... 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 /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc accepts -g... yes checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc... gcc3 checking how to run the C preprocessor... /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -E checking for gawk... (cached) mawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking for __attribute__... no checking for runpath switch... -Wl,-rpath, checking for ranlib... ranlib checking for ld used by GCC... /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld checking if the linker (/mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/nm -B updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc option to produce PIC... -fPIC checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc PIC flag -fPIC works... yes checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc supports -c -o file.o... yes checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc supports -c -o file.lo... yes checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc supports -fno-rtti -fno-exceptions ... no checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc static flag -static works... -static checking if the linker (/mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld) is GNU ld... yes checking whether the linker (/mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld) supports shared libraries... yes checking command to parse /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking for connect... yes checking for res_search... no checking for dn_expand... no checking for dns_lookup... no checking DB path to use... /etc/sasldb2 checking for egrep... 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 db.h usability... yes checking db.h presence... yes checking for db.h... yes checking DB library to use... berkeley checking if Berkeley DB handle is kept open in SASLDB... no checking for dlopen in -ldl... yes checking /dev/random to use... /dev/random checking for nm... /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/nm -B checking for underscore before symbols... no checking for syslog... yes checking security/pam_appl.h usability... no checking security/pam_appl.h presence... no checking for security/pam_appl.h... no checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking for pam_start... no checking if I should include saslauthd... no checking to include Courier authdaemond support... /dev/null checking if I should include pwcheck... no checking if I should include the alwaystrue verifier... no checking if we should enable sasl_checkapop... enabled checking CRAM-MD5... enabled checking for long... yes checking size of long... 8 checking what directory libraries are found in... lib checking for RSAPublicEncrypt in -lrsaref... no checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking for EVP_DigestInit in -lcrypto... yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... no checking for DES_cbc_encrypt in -lcrypto... yes checking openssl/des.h usability... yes checking openssl/des.h presence... yes checking for openssl/des.h... yes checking DIGEST-MD5... disabled checking OTP... disabled checking SRP... disabled checking KERBEROS_V4... disabled checking for crypt... no checking for crypt in -lcrypt... yes checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking for res_search in -lresolv... no checking for gss_unwrap in -lgssapi... no checking for krb5int_getspecific in -lkrb5support... yes checking for gss_unwrap in -lgssapi_krb5... yes checking GSSAPI... with implementation mit checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... no checking to use mutexes aroung GSS calls... yes checking PLAIN... enabled checking ANONYMOUS... enabled checking LOGIN... disabled checking NTLM... disabled checking PASSDSS... disabled checking SQL... disabled checking LDAPDB... disabled checking for dmalloc library... no checking for sfio library... no checking for getsubopt... yes checking for snprintf... yes checking for vsnprintf... yes checking for inet_aton in -lresolv... yes checking for getaddrinfo... yes checking for gai_strerror... yes checking for getnameinfo... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for pid_t... yes checking return type of signal handlers... void checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking des.h usability... no checking des.h presence... no checking for des.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking whether you have ss_family in struct sockaddr_storage... yes checking whether you have sa_len in struct sockaddr... no checking for socklen_t... yes checking for gethostname... yes checking for getdomainname... yes checking for getpwnam... yes checking for getspnam... yes checking for gettimeofday... yes checking for inet_aton... yes checking for memcpy... yes checking for mkdir... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for jrand48... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating sasldb/Makefile config.status: creating plugins/Makefile config.status: creating lib/Makefile config.status: creating utils/Makefile config.status: creating doc/Makefile config.status: creating sample/Makefile config.status: creating java/Makefile config.status: creating java/CyrusSasl/Makefile config.status: creating java/Test/Makefile config.status: creating java/javax/Makefile config.status: creating java/javax/security/Makefile config.status: creating java/javax/security/auth/Makefile config.status: creating java/javax/security/auth/callback/Makefile config.status: creating pwcheck/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands configure: configuring in saslauthd configure: running /bin/bash './configure' --prefix=/mnt/volume1/impala-orc/tmp/native-toolchain/build/cyrus-sasl-2.1.23 '--disable-sql' '--disable-otp' '--disable-ldap' '--disable-digest' '--with-saslauthd=no' '--prefix=/mnt/volume1/impala-orc/tmp/native-toolchain/build/cyrus-sasl-2.1.23' '--enable-static' '--enable-staticdlopen' 'CC=/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc' 'CFLAGS=-fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline' 'LDFLAGS=-mno-avx2 -Wl,-rpath,/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64,-rpath,'\''$ORIGIN/../lib64'\'',-rpath,'\''$ORIGIN/../lib'\'' -L/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64' --cache-file=.././config.cache --srcdir=. configure: loading cache .././config.cache checking build system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc checking for C compiler default output... 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc accepts -g... (cached) yes checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc option to accept ANSI C... (cached) none needed checking for style of include used by make... GNU checking dependency style of /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -E checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for __attribute__... (cached) no checking for runpath switch... -Wl,-rpath, checking for connect... (cached) yes checking for res_search... (cached) no checking for dn_expand... (cached) no checking for dns_lookup... (cached) no checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for long... (cached) yes checking size of long... (cached) 8 checking what directory libraries are found in... (cached) lib checking for RSAPublicEncrypt in -lrsaref... (cached) no checking for openssl/evp.h... (cached) yes checking for EVP_DigestInit in -lcrypto... (cached) yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... (cached) no checking for DES_cbc_encrypt in -lcrypto... (cached) yes checking for openssl/des.h... (cached) yes checking KERBEROS_V4... disabled checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for gssapi.h... (cached) yes checking for res_search in -lresolv... (cached) no checking for gss_unwrap in -lgssapi... (cached) no checking for krb5int_getspecific in -lkrb5support... (cached) yes checking for gss_unwrap in -lgssapi_krb5... (cached) yes checking GSSAPI... with implementation mit checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... (cached) no checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for pam_start in -lpam... no checking for PAM support... no checking for inet_aton in -lresolv... (cached) yes checking to include LDAP support... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for fcntl.h... (cached) yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking for strings.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/uio.h... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for pid_t... (cached) yes checking whether /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc implements __func__... yes checking return type of signal handlers... (cached) void checking for gethostname... (cached) yes checking for mkdir... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for getspnam... (cached) yes checking for strlcat... no checking for strlcpy... no checking if getpwnam_r/getspnam_r take 5 arguments... yes checking for getaddrinfo... (cached) yes checking for getnameinfo... (cached) yes checking whether you have ss_family in struct sockaddr_storage... (cached) yes checking whether you have sa_len in struct sockaddr... (cached) no checking for socklen_t... (cached) yes updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating saslauthd.h config.status: executing depfiles commands Configuration Complete. Type 'make' to build. make all-recursive make[1]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' Making all in include make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT makemd5.o -MD -MP -MF ".deps/makemd5.Tpo" \ -c -o makemd5.o `test -f 'makemd5.c' || echo './'`makemd5.c; \ then mv -f ".deps/makemd5.Tpo" ".deps/makemd5.Po"; \ else rm -f ".deps/makemd5.Tpo"; exit 1; \ fi /bin/bash ../libtool --mode=link /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -mno-avx2 -Wl,-rpath,/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64,-rpath,'RIGIN/../lib64',-rpath,'RIGIN/../lib' -L/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64 -o makemd5 makemd5.o -lresolv mkdir .libs /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -mno-avx2 -Wl,-rpath,/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64,-rpath,RIGIN/../lib64,-rpath,RIGIN/../lib -L/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64 -o makemd5 makemd5.o -lresolv rm -f md5global.h ./makemd5 md5global.h make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' Making all in sasldb make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' if /bin/bash ../libtool --mode=compile /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT allockey.lo -MD -MP -MF ".deps/allockey.Tpo" \ -c -o allockey.lo `test -f 'allockey.c' || echo './'`allockey.c; \ then mv -f ".deps/allockey.Tpo" ".deps/allockey.Plo"; \ else rm -f ".deps/allockey.Tpo"; exit 1; \ fi mkdir .libs /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -fPIC -DPIC -o .libs/allockey.lo allockey.c: In function '_sasldb_putsecret': allockey.c:190:7: warning: pointer targets in passing argument 6 of '_sasldb_putdata' differ in signedness [-Wpointer-sign] (secret ? secret->data : NULL), ^ In file included from allockey.c:52:0: sasldb.h:68:5: note: expected 'const char *' but argument is of type 'const unsigned char *' int _sasldb_putdata(const sasl_utils_t *utils, ^ allockey.c: In function '__sasldb_internal_list': allockey.c:197:14: warning: unused parameter 'rock' [-Wunused-parameter] void *rock __attribute__((unused))) ^ /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -o allockey.o >/dev/null 2>&1 mv -f .libs/allockey.lo allockey.lo if /bin/bash ../libtool --mode=compile /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.lo `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Plo"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi rm -f .libs/db_berkeley.lo /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o .libs/db_berkeley.lo db_berkeley.c: In function 'berkeleydb_open': db_berkeley.c:106:29: warning: passing argument 2 of '(*mbdb)->open' from incompatible pointer type ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:29: note: expected 'struct DB_TXN *' but argument is of type 'const char *' db_berkeley.c:106:41: warning: passing argument 4 of '(*mbdb)->open' makes pointer from integer without a cast ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:41: note: expected 'const char *' but argument is of type 'int' db_berkeley.c:106:8: error: too few arguments to function '(*mbdb)->open' ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ make[2]: *** [db_berkeley.lo] Error 1 make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' make: *** [all] Error 2 make all-recursive make[1]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' Making all in include make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' Making all in sasldb make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' if /bin/bash ../libtool --mode=compile /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.lo `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Plo"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.o -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.o `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Po"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi db_berkeley.c: In function âberkeleydb_openâ: db_berkeley.c:106:29: warning: passing argument 2 of â(*mbdb)->openâ from incompatible pointer type ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:29: note: expected âstruct DB_TXN *â but argument is of type âconst char *â db_berkeley.c:106:41: warning: passing argument 4 of â(*mbdb)->openâ makes pointer from integer without a cast ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:41: note: expected âconst char *â but argument is of type âintâ db_berkeley.c:106:8: error: too few arguments to function â(*mbdb)->openâ ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ make[2]: *** [db_berkeley.o] Error 1 make[2]: *** Waiting for unfinished jobs.... rm -f .libs/db_berkeley.lo /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o .libs/db_berkeley.lo db_berkeley.c: In function 'berkeleydb_open': db_berkeley.c:106:29: warning: passing argument 2 of '(*mbdb)->open' from incompatible pointer type ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:29: note: expected 'struct DB_TXN *' but argument is of type 'const char *' db_berkeley.c:106:41: warning: passing argument 4 of '(*mbdb)->open' makes pointer from integer without a cast ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:41: note: expected 'const char *' but argument is of type 'int' db_berkeley.c:106:8: error: too few arguments to function '(*mbdb)->open' ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ make[2]: *** [db_berkeley.lo] Error 1 make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' make: *** [all] Error 2 configure: loading cache ./config.cache checking build system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking target system type... (cached) x86_64-unknown-linux-gnu checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc checking for C compiler default output... 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc accepts -g... (cached) yes checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc option to accept ANSI C... (cached) none needed checking for style of include used by make... GNU checking dependency style of /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -E checking for gawk... (cached) mawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking for __attribute__... (cached) no checking for runpath switch... -Wl,-rpath, checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld checking if the linker (/mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/nm -B loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc option to produce PIC... -fPIC checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc PIC flag -fPIC works... yes checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc supports -c -o file.o... yes checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc supports -c -o file.lo... yes checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc supports -fno-rtti -fno-exceptions ... no checking if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc static flag -static works... -static checking if the linker (/mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld) is GNU ld... yes checking whether the linker (/mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld) supports shared libraries... yes checking command to parse /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking for connect... (cached) yes checking for res_search... (cached) no checking for dn_expand... (cached) no checking for dns_lookup... (cached) no checking DB path to use... /etc/sasldb2 checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for db.h... (cached) yes checking DB library to use... berkeley checking if Berkeley DB handle is kept open in SASLDB... no checking for dlopen in -ldl... (cached) yes checking /dev/random to use... /dev/random checking for nm... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/binutils-2.26.1/bin/nm -B checking for underscore before symbols... (cached) no checking for syslog... (cached) yes checking for security/pam_appl.h... (cached) no checking for pam/pam_appl.h... (cached) no checking for pam_start... (cached) no checking if I should include saslauthd... no checking to include Courier authdaemond support... /dev/null checking if I should include pwcheck... no checking if I should include the alwaystrue verifier... no checking if we should enable sasl_checkapop... enabled checking CRAM-MD5... enabled checking for long... (cached) yes checking size of long... (cached) 8 checking what directory libraries are found in... (cached) lib checking for RSAPublicEncrypt in -lrsaref... (cached) no checking for openssl/evp.h... (cached) yes checking for EVP_DigestInit in -lcrypto... (cached) yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... (cached) no checking for DES_cbc_encrypt in -lcrypto... (cached) yes checking for openssl/des.h... (cached) yes checking DIGEST-MD5... disabled checking OTP... disabled checking SRP... disabled checking KERBEROS_V4... disabled checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for gssapi.h... (cached) yes checking for res_search in -lresolv... (cached) no checking for gss_unwrap in -lgssapi... (cached) no checking for krb5int_getspecific in -lkrb5support... (cached) yes checking for gss_unwrap in -lgssapi_krb5... (cached) yes checking GSSAPI... with implementation mit checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... (cached) no checking to use mutexes aroung GSS calls... yes checking PLAIN... enabled checking ANONYMOUS... enabled checking LOGIN... disabled checking NTLM... disabled checking PASSDSS... disabled checking SQL... disabled checking LDAPDB... disabled checking for dmalloc library... no checking for sfio library... no checking for getsubopt... (cached) yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for inet_aton in -lresolv... (cached) yes checking for getaddrinfo... (cached) yes checking for gai_strerror... (cached) yes checking for getnameinfo... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking return type of signal handlers... (cached) void checking whether time.h and sys/time.h may both be included... (cached) yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for des.h... (cached) no checking for dlfcn.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for malloc.h... (cached) yes checking for paths.h... (cached) yes checking for strings.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/uio.h... (cached) yes checking for sys/param.h... (cached) yes checking for sysexits.h... (cached) yes checking for stdarg.h... (cached) yes checking for varargs.h... (cached) no checking whether you have ss_family in struct sockaddr_storage... (cached) yes checking whether you have sa_len in struct sockaddr... (cached) no checking for socklen_t... (cached) yes checking for gethostname... (cached) yes checking for getdomainname... (cached) yes checking for getpwnam... (cached) yes checking for getspnam... (cached) yes checking for gettimeofday... (cached) yes checking for inet_aton... (cached) yes checking for memcpy... (cached) yes checking for mkdir... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strspn... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for jrand48... (cached) yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating sasldb/Makefile config.status: creating plugins/Makefile config.status: creating lib/Makefile config.status: creating utils/Makefile config.status: creating doc/Makefile config.status: creating sample/Makefile config.status: creating java/Makefile config.status: creating java/CyrusSasl/Makefile config.status: creating java/Test/Makefile config.status: creating java/javax/Makefile config.status: creating java/javax/security/Makefile config.status: creating java/javax/security/auth/Makefile config.status: creating java/javax/security/auth/callback/Makefile config.status: creating pwcheck/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: configuring in saslauthd configure: running /bin/bash './configure' --prefix=/mnt/volume1/impala-orc/tmp/native-toolchain/build/cyrus-sasl-2.1.23 '--disable-sql' '--disable-otp' '--disable-ldap' '--disable-digest' '--with-saslauthd=no' '--prefix=/mnt/volume1/impala-orc/tmp/native-toolchain/build/cyrus-sasl-2.1.23' '--enable-static' '--enable-staticdlopen' 'CC=/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc' 'CFLAGS=-fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline' 'LDFLAGS=-mno-avx2 -Wl,-rpath,/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64,-rpath,'\''$ORIGIN/../lib64'\'',-rpath,'\''$ORIGIN/../lib'\'' -L/mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/lib64' --cache-file=.././config.cache --srcdir=. configure: loading cache .././config.cache checking build system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc checking for C compiler default output... 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc accepts -g... (cached) yes checking for /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc option to accept ANSI C... (cached) none needed checking for style of include used by make... GNU checking dependency style of /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -E checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for __attribute__... (cached) no checking for runpath switch... -Wl,-rpath, checking for connect... (cached) yes checking for res_search... (cached) no checking for dn_expand... (cached) no checking for dns_lookup... (cached) no checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for long... (cached) yes checking size of long... (cached) 8 checking what directory libraries are found in... (cached) lib checking for RSAPublicEncrypt in -lrsaref... (cached) no checking for openssl/evp.h... (cached) yes checking for EVP_DigestInit in -lcrypto... (cached) yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... (cached) no checking for DES_cbc_encrypt in -lcrypto... (cached) yes checking for openssl/des.h... (cached) yes checking KERBEROS_V4... disabled checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for gssapi.h... (cached) yes checking for res_search in -lresolv... (cached) no checking for gss_unwrap in -lgssapi... (cached) no checking for krb5int_getspecific in -lkrb5support... (cached) yes checking for gss_unwrap in -lgssapi_krb5... (cached) yes checking GSSAPI... with implementation mit checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... (cached) no checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for pam_start in -lpam... (cached) no checking for PAM support... no checking for inet_aton in -lresolv... (cached) yes checking to include LDAP support... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for crypt.h... (cached) yes checking for fcntl.h... (cached) yes checking for krb5.h... (cached) yes checking for strings.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/uio.h... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for pid_t... (cached) yes checking whether /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc implements __func__... yes checking return type of signal handlers... (cached) void checking for gethostname... (cached) yes checking for mkdir... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for getspnam... (cached) yes checking for strlcat... (cached) no checking for strlcpy... (cached) no checking if getpwnam_r/getspnam_r take 5 arguments... yes checking for getaddrinfo... (cached) yes checking for getnameinfo... (cached) yes checking whether you have ss_family in struct sockaddr_storage... (cached) yes checking whether you have sa_len in struct sockaddr... (cached) no checking for socklen_t... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating saslauthd.h config.status: saslauthd.h is unchanged config.status: executing depfiles commands Configuration Complete. Type 'make' to build. make all-recursive make[1]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' Making all in include make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' rm -f md5global.h ./makemd5 md5global.h make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' Making all in sasldb make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' if /bin/bash ../libtool --mode=compile /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT allockey.lo -MD -MP -MF ".deps/allockey.Tpo" \ -c -o allockey.lo `test -f 'allockey.c' || echo './'`allockey.c; \ then mv -f ".deps/allockey.Tpo" ".deps/allockey.Plo"; \ else rm -f ".deps/allockey.Tpo"; exit 1; \ fi rm -f .libs/allockey.lo /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -fPIC -DPIC -o .libs/allockey.lo allockey.c: In function '_sasldb_putsecret': allockey.c:190:7: warning: pointer targets in passing argument 6 of '_sasldb_putdata' differ in signedness [-Wpointer-sign] (secret ? secret->data : NULL), ^ In file included from allockey.c:52:0: sasldb.h:68:5: note: expected 'const char *' but argument is of type 'const unsigned char *' int _sasldb_putdata(const sasl_utils_t *utils, ^ allockey.c: In function '__sasldb_internal_list': allockey.c:197:14: warning: unused parameter 'rock' [-Wunused-parameter] void *rock __attribute__((unused))) ^ /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -o allockey.o >/dev/null 2>&1 mv -f .libs/allockey.lo allockey.lo if /bin/bash ../libtool --mode=compile /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.lo `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Plo"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi rm -f .libs/db_berkeley.lo /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o .libs/db_berkeley.lo db_berkeley.c: In function 'berkeleydb_open': db_berkeley.c:106:29: warning: passing argument 2 of '(*mbdb)->open' from incompatible pointer type ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:29: note: expected 'struct DB_TXN *' but argument is of type 'const char *' db_berkeley.c:106:41: warning: passing argument 4 of '(*mbdb)->open' makes pointer from integer without a cast ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:41: note: expected 'const char *' but argument is of type 'int' db_berkeley.c:106:8: error: too few arguments to function '(*mbdb)->open' ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ make[2]: *** [db_berkeley.lo] Error 1 make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' make: *** [all] Error 2 make all-recursive make[1]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' Making all in include make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/include' Making all in sasldb make[2]: Entering directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' if /bin/bash ../libtool --mode=compile /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.lo `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Plo"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi if /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.o -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.o `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Po"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi db_berkeley.c: In function âberkeleydb_openâ: db_berkeley.c:106:29: warning: passing argument 2 of â(*mbdb)->openâ from incompatible pointer type ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:29: note: expected âstruct DB_TXN *â but argument is of type âconst char *â db_berkeley.c:106:41: warning: passing argument 4 of â(*mbdb)->openâ makes pointer from integer without a cast ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:41: note: expected âconst char *â but argument is of type âintâ db_berkeley.c:106:8: error: too few arguments to function â(*mbdb)->openâ ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ make[2]: *** [db_berkeley.o] Error 1 make[2]: *** Waiting for unfinished jobs.... rm -f .libs/db_berkeley.lo /mnt/volume1/impala-orc/tmp/native-toolchain/build/gcc-4.9.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wall -W -fPIC -O3 -m64 -fPIC -DPIC -fgnu89-inline -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o .libs/db_berkeley.lo db_berkeley.c: In function 'berkeleydb_open': db_berkeley.c:106:29: warning: passing argument 2 of '(*mbdb)->open' from incompatible pointer type ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:29: note: expected 'struct DB_TXN *' but argument is of type 'const char *' db_berkeley.c:106:41: warning: passing argument 4 of '(*mbdb)->open' makes pointer from integer without a cast ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ db_berkeley.c:106:41: note: expected 'const char *' but argument is of type 'int' db_berkeley.c:106:8: error: too few arguments to function '(*mbdb)->open' ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660); ^ make[2]: *** [db_berkeley.lo] Error 1 make[2]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23/sasldb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/volume1/impala-orc/tmp/native-toolchain/source/cyrus-sasl/cyrus-sasl-2.1.23' make: *** [all] Error 2