* Package: app-crypt/shash-0.2.6-r3:0 * Repository: gentoo * Maintainer: swegener@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking shash-0.2.6.tar.gz to /var/tmp/portage/app-crypt/shash-0.2.6-r3/work >>> Source unpacked in /var/tmp/portage/app-crypt/shash-0.2.6-r3/work >>> Preparing source in /var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6 ... * Applying 0.2.6-manpage-fixes.patch ... [ ok ] * Applying shash-0.2.6-binary-files.patch ... [ ok ] * Applying shash-0.2.6-format-security.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6 ... * econf: updating shash-0.2.6/config.sub with /usr/share/gnuconfig/config.sub * econf: updating shash-0.2.6/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --disable-static-link checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes /var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6/missing: Unknown `--run' option Try `/var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for x86_64-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for style of include used by make... fgrep: warning: fgrep is obsolescent; using /bin/grep -F GNU checking dependency style of clang... none checking for clang option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for mhash_keygen in -lmhash... yes checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking for rm... /bin/rm checking for makeinfo... /usr/bin/makeinfo checking for pthread_mutex_lock in -lpthread... yes checking whether use of /dev/random is requested... yes checking whether fcntl-locking is requested... yes checking whether static link is requested... no checking for random device... yes checking how to run the C preprocessor... egrep: warning: egrep is obsolescent; using /bin/grep -E egrep: warning: egrep is obsolescent; using /bin/grep -E clang -E egrep: warning: egrep is obsolescent; using /bin/grep -E egrep: warning: egrep is obsolescent; using /bin/grep -E checking for ANSI C header files... egrep: warning: egrep is obsolescent; using /bin/grep -E no 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 for unistd.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for pwd.h... yes checking locale.h usability... yes checking locale.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for locale.h... yes checking for strings.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for ctype.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for fcntl.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for sys/wait.h... yes checking utime.h usability... yes checking utime.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for utime.h... yes checking signal.h usability... yes checking signal.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for signal.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... egrep: warning: egrep is obsolescent; using /bin/grep -E yes checking for sys/mman.h... yes checking for bzero... yes checking for signal... yes checking for sigaction... yes checking for memset... yes checking for fcntl... yes checking for fsync... yes checking for getuid... yes checking for geteuid... yes checking for ftime... yes checking for lstat... yes checking for stat... yes checking for umask... yes checking for utime... yes checking for memmove... yes checking for bcopy... yes checking for getpwuid... yes checking for waitpid... yes checking for mlock... yes checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for unsigned long int... yes checking size of unsigned long int... 8 checking for unsigned int... yes checking size of unsigned int... 4 checking for unsigned short int... yes checking size of unsigned short int... 2 checking for unsigned char... yes checking size of unsigned char... 1 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h egrep: warning: egrep is obsolescent; using /bin/grep -E config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/app-crypt/shash-0.2.6-r3/temp/clang14.log' -> '/var/tmp/clang/app-crypt/shash-0.2.6-r3/clang14.log' '/var/tmp/portage/app-crypt/shash-0.2.6-r3/temp/clang15.log' -> '/var/tmp/clang/app-crypt/shash-0.2.6-r3/clang15.log' >>> Compiling source in /var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6' Making all in src make[2]: Entering directory '/var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6/src' clang -DHAVE_CONFIG_H -I. -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'shash.c' || echo './'`shash.c clang -DHAVE_CONFIG_H -I. -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'errors.c' || echo './'`errors.c clang -DHAVE_CONFIG_H -I. -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'extra.c' || echo './'`extra.c clang -DHAVE_CONFIG_H -I. -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -Wpointer-arith -c `test -f 'functions.c' || echo './'`functions.c extra.c:29:9: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] home = malloc(strlen(pwd->pw_dir) + strlen(cfile) + 2); ^ extra.c:29:9: note: include the header or explicitly provide a declaration for 'malloc' extra.c:29:16: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] home = malloc(strlen(pwd->pw_dir) + strlen(cfile) + 2); ^ extra.c:29:16: note: include the header or explicitly provide a declaration for 'strlen' extra.c:31:3: error: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcpy(home, pwd->pw_dir); ^ extra.c:31:3: note: include the header or explicitly provide a declaration for 'strcpy' extra.c:33:2: error: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcat(home, "/"); ^ extra.c:33:2: note: include the header or explicitly provide a declaration for 'strcat' 4 errors generated. errors.c:7:2: error: call to undeclared function 'fputs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fputs(errmsg, stderr); ^ errors.c:7:16: error: use of undeclared identifier 'stderr' fputs(errmsg, stderr); ^ errors.c:8:2: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] exit(-1); ^ errors.c:8:2: note: include the header or explicitly provide a declaration for 'exit' errors.c:15:3: error: call to undeclared function 'fputs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fputs(errmsg, stderr); ^ errors.c:15:17: error: use of undeclared identifier 'stderr' fputs(errmsg, stderr); ^ errors.c:23:3: error: call to undeclared function 'fputs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fputs(errmsg, stderr); ^ errors.c:23:17: error: use of undeclared identifier 'stderr' fputs(errmsg, stderr); ^ 7 errors generated. make[2]: *** [Makefile:182: extra.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:182: errors.o] Error 1 shash.c:142:8: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = mhash_get_hash_name(algorithm); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shash.c:198:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = mhash_get_hash_name(algorithm); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shash.c:199:8: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp2 = mhash_get_keygen_name(keymode); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shash.c:57:28: warning: variable 'x' set but not used [-Wunused-but-set-variable] int file_count = 0, v, i, x = 0, use_password = 0, plen = 0; ^ shash.c:57:35: warning: variable 'use_password' set but not used [-Wunused-but-set-variable] int file_count = 0, v, i, x = 0, use_password = 0, plen = 0; ^ shash.c:275:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] y = mhash_get_hash_name(i); ^ ~~~~~~~~~~~~~~~~~~~~~~ shash.c:426:2: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] ftime(&start_time); ^ /usr/include/sys/timeb.h:31:3: note: 'ftime' has been explicitly marked deprecated here __attribute_deprecated_msg__ ("Use gettimeofday or clock_gettime instead"); ^ /usr/include/sys/cdefs.h:350:19: note: expanded from macro '__attribute_deprecated_msg__' __attribute__ ((__deprecated__ (msg))) ^ shash.c:450:2: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] ftime(&end_time); ^ /usr/include/sys/timeb.h:31:3: note: 'ftime' has been explicitly marked deprecated here __attribute_deprecated_msg__ ("Use gettimeofday or clock_gettime instead"); ^ /usr/include/sys/cdefs.h:350:19: note: expanded from macro '__attribute_deprecated_msg__' __attribute__ ((__deprecated__ (msg))) ^ shash.c:494:5: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] y = mhash_get_hash_name(i); ^ ~~~~~~~~~~~~~~~~~~~~~~ shash.c:680:9: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = mhash_get_hash_name(algorithm); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shash.c:699:6: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = mhash_get_hash_name(algorithm); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shash.c:509:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] int j, x, block; ^ shash.c:803:8: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = mhash_get_keygen_name(i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ shash.c:815:8: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = mhash_get_keygen_name(i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ shash.c:935:8: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = mhash_get_keygen_name(i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. make[2]: Leaving directory '/var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6/src' make[1]: *** [Makefile:149: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6' make: *** [Makefile:105: all] Error 2 * ERROR: app-crypt/shash-0.2.6-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-crypt/shash-0.2.6-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-crypt/shash-0.2.6-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-crypt:shash-0.2.6-r3:20220918-100432.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/shash-0.2.6-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/shash-0.2.6-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6' * S: '/var/tmp/portage/app-crypt/shash-0.2.6-r3/work/shash-0.2.6'