* Package: net-mail/checkpassword-0.90-r5:0 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking checkpassword-0.90.tar.gz to /var/tmp/portage/net-mail/checkpassword-0.90-r5/work >>> Source unpacked in /var/tmp/portage/net-mail/checkpassword-0.90-r5/work >>> Preparing source in /var/tmp/portage/net-mail/checkpassword-0.90-r5/work/checkpassword-0.90 ... * Applying checkpassword-0.90-errno.patch ... [ ok ] * Applying checkpassword-0.90-exit.patch ... [ ok ] * Applying checkpassword-0.90-headers.patch ... [ ok ] * Replacing obsolete head/tail with POSIX compliant ones * - fixed Makefile * - fixed print-cc.sh >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/checkpassword-0.90-r5/work/checkpassword-0.90 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/checkpassword-0.90-r5/work/checkpassword-0.90 ... make -j4 sh find-systype.sh > systype ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -n 1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > choose chmod 755 load chmod 755 choose sh print-cc.sh > compile ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ echo 'ar cr "$main" ${1+"$@"}'; \ case "`cat systype`" in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib "$main"' ;; \ esac \ ) > makelib chmod 755 makelib chmod 755 compile ./compile hier.c ./compile auto-str.c ./compile alloc.c ./compile alloc_re.c hier.c: In function ‘hier’: hier.c:5:3: warning: implicit declaration of function ‘c’ [-Wimplicit-function-declaration] 5 | c(auto_home,"bin","checkpassword",-1,-1,0700); | ^ In file included from auto-str.c:1: buffer.h:12:61: warning: initialization of ‘int (*)()’ from incompatible pointer type ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} [-Wincompatible-pointer-types] 12 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) } | ^ auto-str.c:6:12: note: in expansion of macro ‘BUFFER_INIT’ 6 | buffer b = BUFFER_INIT(write,1,bspace,sizeof bspace); | ^~~~~~~~~~~ buffer.h:12:61: note: (near initialization for ‘b.op’) 12 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) } | ^ auto-str.c:6:12: note: in expansion of macro ‘BUFFER_INIT’ 6 | buffer b = BUFFER_INIT(write,1,bspace,sizeof bspace); | ^~~~~~~~~~~ auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch] 8 | void puts(char *s) | ^~~~ auto-str.c:4:1: note: ‘puts’ is declared in header ‘’ 3 | #include "exit.h" +++ |+#include 4 | auto-str.c:13:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 13 | main(int argc,char **argv) | ^~~~ ./compile buffer.c ./compile buffer_copy.c ./compile error.c ./compile strerr_sys.c ./compile buffer_put.c ./compile stralloc_eady.c ./compile stralloc_catb.c ./compile stralloc_opyb.c ./compile error_str.c ./compile strerr_die.c ./compile stralloc_pend.c ./compile pathexec_run.c ./compile open_trunc.c ./compile stralloc_cat.c ./compile env.c ./compile open_read.c ./compile buffer_2.c ./compile stralloc_opys.c ./compile pathexec_env.c ./compile chkshsgr.c ./compile buffer_get.c In file included from buffer_2.c:2: buffer.h:12:61: warning: initialization of ‘int (*)()’ from incompatible pointer type ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} [-Wincompatible-pointer-types] 12 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) } | ^ buffer_2.c:5:20: note: in expansion of macro ‘BUFFER_INIT’ 5 | static buffer it = BUFFER_INIT(write,2,buffer_2_space,sizeof buffer_2_space); | ^~~~~~~~~~~ buffer.h:12:61: note: (near initialization for ‘it.op’) 12 | #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) } | ^ buffer_2.c:5:20: note: in expansion of macro ‘BUFFER_INIT’ 5 | static buffer it = BUFFER_INIT(write,2,buffer_2_space,sizeof buffer_2_space); | ^~~~~~~~~~~ ./compile stralloc_cats.c chkshsgr.c: In function ‘main’: chkshsgr.c:11:19: warning: passing argument 2 of ‘getgroups’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^ | | | short int * In file included from /usr/include/features.h:490, from /usr/include/grp.h:25, from chkshsgr.c:1: /usr/include/bits/unistd.h:219:1: note: expected ‘__gid_t *’ {aka ‘unsigned int *’} but argument is of type ‘short int *’ 219 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~ chkshsgr.c:11:44: warning: passing argument 2 of ‘setgroups’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^ | | | short int * /usr/include/grp.h:180:50: note: expected ‘const __gid_t *’ {aka ‘const unsigned int *’} but argument is of type ‘short int *’ 180 | extern int setgroups (size_t __n, const __gid_t *__groups) __THROW; | ~~~~~~~~~~~~~~~^~~~~~~~ ./compile str_start.c ./compile str_len.c ./compile byte_diff.c ./compile byte_copy.c ./compile byte_cr.c ./compile str_chr.c ./compile install.c ./compile instcheck.c ( ( ./compile tryslib.c && \ ./load tryslib -ls ) >/dev/null 2>&1 \ && echo -ls || exit 0 ) > s.lib ( ( ./compile tryspnam.c && ./load tryspnam ) >/dev/null \ 2>&1 \ && echo \#define HASGETSPNAM 1 || exit 0 ) > hasspnam.h install.c: In function ‘c’: install.c:72:21: warning: passing argument 2 of ‘buffer_init’ from incompatible pointer type [-Wincompatible-pointer-types] 72 | buffer_init(&ssin,read,fdin,inbuf,sizeof inbuf); | ^~~~ | | | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)} In file included from install.c:4: buffer.h:16:34: note: expected ‘int (*)()’ but argument is of type ‘ssize_t (*)(int, void *, size_t)’ {aka ‘long int (*)(int, void *, long unsigned int)’} 16 | extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int); | ^~~~~~~~~ install.c:82:22: warning: passing argument 2 of ‘buffer_init’ from incompatible pointer type [-Wincompatible-pointer-types] 82 | buffer_init(&ssout,write,fdout,outbuf,sizeof outbuf); | ^~~~~ | | | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} buffer.h:16:34: note: expected ‘int (*)()’ but argument is of type ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} 16 | extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int); | ^~~~~~~~~ install.c: In function ‘z’: install.c:124:22: warning: passing argument 2 of ‘buffer_init’ from incompatible pointer type [-Wincompatible-pointer-types] 124 | buffer_init(&ssout,write,fdout,outbuf,sizeof outbuf); | ^~~~~ | | | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} buffer.h:16:34: note: expected ‘int (*)()’ but argument is of type ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} 16 | extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int); | ^~~~~~~~~ rm -f tryslib.o tryslib ( ( ./compile trycrypt.c && \ ./load trycrypt -lcrypt ) >/dev/null 2>&1 \ && echo -lcrypt || exit 0 ) > crypt.lib ( ( ./compile tryshadow.c && \ ./load tryshadow -lshadow ) >/dev/null 2>&1 \ && echo -lshadow || exit 0 ) > shadow.lib ./load chkshsgr rm -f tryspnam.o tryspnam ./makelib byte.a byte_copy.o byte_cr.o byte_diff.o \ str_chr.o str_len.o str_start.o rm -f trycrypt.o trycrypt ( ( ./compile tryuserpw.c \ && ./load tryuserpw `cat s.lib` ) >/dev/null 2>&1 \ && echo \#define HASGETUSERPW 1 || exit 0 ) > hasuserpw.h ./chkshsgr || ( cat warn-shsgr; exit 1 ) rm -f tryshadow.o tryshadow ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h rm -f tryuserpw.o tryuserpw ./compile checkpassword.c ./compile prot.c ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_2.o \ buffer_copy.o buffer_get.o buffer_put.o env.o error.o \ error_str.o open_read.o open_trunc.o pathexec_env.o \ pathexec_run.o prot.o stralloc_cat.o stralloc_catb.o \ stralloc_cats.o stralloc_eady.o stralloc_opyb.o \ stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o ./load auto-str unix.a byte.a ./load checkpassword prot.o unix.a byte.a `cat \ shadow.lib` `cat crypt.lib` `cat s.lib` ./auto-str auto_home `head -n 1 conf-home` > auto_home.c ./compile auto_home.c ./load install hier.o auto_home.o unix.a byte.a ./load instcheck hier.o auto_home.o unix.a byte.a >>> Source compiled. >>> Test phase [not enabled]: net-mail/checkpassword-0.90-r5 >>> Install net-mail/checkpassword-0.90-r5 into /var/tmp/portage/net-mail/checkpassword-0.90-r5/image >>> Completed installing net-mail/checkpassword-0.90-r5 into /var/tmp/portage/net-mail/checkpassword-0.90-r5/image * Final size of build directory: 716 KiB * Final size of installed tree: 32 KiB * * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * * hier.c:5:3: warning: implicit declaration of function ‘c’ [-Wimplicit-function-declaration] * buffer.h:12:61: warning: initialization of ‘int (*)()’ from incompatible pointer type ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} [-Wincompatible-pointer-types] * auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch] * buffer.h:12:61: warning: initialization of ‘int (*)()’ from incompatible pointer type ‘ssize_t (*)(int, const void *, size_t)’ {aka ‘long int (*)(int, const void *, long unsigned int)’} [-Wincompatible-pointer-types] * chkshsgr.c:11:19: warning: passing argument 2 of ‘getgroups’ from incompatible pointer type [-Wincompatible-pointer-types] * chkshsgr.c:11:44: warning: passing argument 2 of ‘setgroups’ from incompatible pointer type [-Wincompatible-pointer-types] * install.c:72:21: warning: passing argument 2 of ‘buffer_init’ from incompatible pointer type [-Wincompatible-pointer-types] * install.c:82:22: warning: passing argument 2 of ‘buffer_init’ from incompatible pointer type [-Wincompatible-pointer-types] * install.c:124:22: warning: passing argument 2 of ‘buffer_init’ from incompatible pointer type [-Wincompatible-pointer-types] * * Please file a bug about this at https://bugs.gentoo.org/ * with the maintainer of the package. * * ERROR: net-mail/checkpassword-0.90-r5::gentoo failed: * install aborted due to severe warnings shown above * * Call stack: * misc-functions.sh, line 670: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 90gcc-warnings, line 197: Called gcc_warn_check * 90gcc-warnings, line 183: Called die * The specific snippet of code: * die "install aborted due to severe warnings shown above" * * If you need support, post the output of `emerge --info '=net-mail/checkpassword-0.90-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/checkpassword-0.90-r5::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:checkpassword-0.90-r5:20221120-104209.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/checkpassword-0.90-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/checkpassword-0.90-r5/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/checkpassword-0.90-r5/image' * S: '/var/tmp/portage/net-mail/checkpassword-0.90-r5/work/checkpassword-0.90'