Compilation of app-crypt/kit-krb5-1.4.1-r2 fails due to differences in "tname" prototype. /usr/include/term.h is provided by ncurses-5.5-r1. Reproducible: Always Steps to Reproduce: 1. emerge mit-krb5 2. 3. Actual Results: Compilation fails with error message. i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP_REALM=1 -DKRB5_DNS_LOOKUP=1 -DHAVE_LIBRESOLV=1 -DHAVE_RES_NSEARCH=1 -DHAVE_RES_SEARCH=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_PRAGMA_WEAK_REF=1 -DDELAY_INITIALIZER=1 -DCONSTRUCTOR_ATTR_WORKS=1 -DDESTRUCTOR_ATTR_WORKS=1 -DENABLE_THREADS=1 -DHAVE_PTHREAD=1 -DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_SETSID=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_GETOPT=1 -DHAVE_HERROR=1 -DHAVE_SETENV=1 -DHAVE_UNSETENV=1 -DHAVE_GETENV=1 -DHAVE_VSNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_NAMESER_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_CURSES_H=1 -DHAVE_UTMP_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDARG_H=1 -DHAVE_TERM_H=1 -DTERMCAP=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_NETDB_H=1 -DHAVE_INET_NTOP=1 -DHAVE_INET_PTON=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DKRB5_USE_INET6=1 -DUSE_TERMIO=1 -DNEED_PARSETOS_PROTO=1 -DPOSIX_SIGNALS=1 -DHAVE_REGCOMP=1 -DTERMCAP=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBUTIL=1 -DAUTHENTICATION -DENCRYPTION -DKRB5 -DFORWARD -UNO_LOGIN_F -DLOGIN_CAP_F -DLOGIN_PROGRAM=KRB5_PATH_LOGIN -DLINEMODE -DKLUDGELINEMODE -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON -I../../../include -I./../../../include -I../../../include/krb5 -I./../../../include/krb5 -I.. -I./.. -O3 -march=pentium4 -pipe -pthread -c telnet.c telnet.c:780: warning: static declaration of 'setupterm' follows non-static declaration /usr/include/term.h:758: warning: previous declaration of 'setupterm' was here telnet.c: In function `setupterm': telnet.c:782: error: argument "tname" doesn't match prototype /usr/include/term.h:758: error: prototype declaration make[3]: *** [telnet.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.1-r2/work/krb5-1.4.1/src/appl/telnet/telnet' make[2]: *** [all-recurse] Error 1 make[2]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.1-r2/work/krb5-1.4.1/src/appl/telnet' make[1]: *** [all-recurse] Error 1 make[1]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.1-r2/work/krb5-1.4.1/src/appl' make: *** [all-recurse] Error 1 !!! ERROR: app-crypt/mit-krb5-1.4.1-r2 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
no - it says that telnet.c contains a function named setupterm(), which is declared inconsistently with the function in term.h
I ran into this issue when doing an emerge -e system. there a dupe of this same bug, bug #116784, which includes a patch from fedora. This patch fixes the issue. Please apply the patch( or something similar).
apparently the kerberos team is a little scarce *** This bug has been marked as a duplicate of 116784 ***