Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137840 - error during emerge app-crypt/mit-krb5-1.4.3
Summary: error during emerge app-crypt/mit-krb5-1.4.3
Status: RESOLVED DUPLICATE of bug 135288
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-24 06:32 UTC by Angelo Leto
Modified: 2006-06-28 08:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for appl/telnet/telnet/telnet.c (telnet.c.patch,279 bytes, patch)
2006-06-26 08:55 UTC, Angelo Leto
Details | Diff
patch for mit-krb5-1.4.3.ebuild (mit-krb5-1.4.3.ebuild.patch,375 bytes, patch)
2006-06-26 08:57 UTC, Angelo Leto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo Leto 2006-06-24 06:32:57 UTC
"..."

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_NINIT=1 -DHAVE_RES_NCLOSE=1 -DHAVE_RES_NSEARCH=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_RES_SEARCH=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 -fomit-frame-pointer -pthread -c telnet.c
telnet.c:780: warning: static declaration for `setupterm' follows non-static
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.3/work/krb5-1.4.3/src/appl/telnet/telnet'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/appl/telnet'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/appl'
make: *** [all-recurse] Error 1

!!! ERROR: app-crypt/mit-krb5-1.4.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mit-krb5-1.4.3.ebuild, line 54:   Called die

######################

Portage 2.1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.romnet.org/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.ynet.sk/pub"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-dev"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri dvd dvdread eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog ithreads jpeg kerberos libg++ libwww mad madwifi mikmod mmx motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts udev userlocales vorbis xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefano 2006-06-26 05:53:19 UTC
Looks like the same bug:

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.3/work/krb5-1.4.3/src/appl/telnet/telnet'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/appl/telnet'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/appl'
make: *** [all-recurse] Error 1

!!! ERROR: app-crypt/mit-krb5-1.4.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mit-krb5-1.4.3.ebuild, line 54:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

$ emerge --info

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://gentoo.ngi.it"
LINGUAS="en_GB it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa amuled apache2 aqua_theme arts async atlas avantgo bash-completion berkdb bindist bitmap-fonts bluetooth bzip2 cardbus cdparanoia cli cpudetection crypt css cups curlwrappers devfs26 devmap dga dhcp dio directfb divx4linux djbfft dlloader dpms dri dvb dvd encode fat fbcon fbsplash fftw foomaticdb fortran fpx ftp gdbm gif glx gnutls gphoto2 gpm gs gssapi gtk gtk2 gzip hpn i8x0 icq idea imagemagick imap imlib ipv6 irda isdnlog jabber java javascript jikes john jp2 jpeg jpeg2k kde kdepim kerberos krb4 lapack lesstif libg++ libwww mad mbox messages mikmod mime mmap mmx mmxext motif mozilla mozsvg mp3 mpeg mppe-mppc msn mysqli ncurses nls nocd nomalloccheck nptl nptlonly ntfs ntlm octave offensive ogg opengl oscar pam pcapnav pcmcia pcntl pcre pda pdflib perl png pnp posix ppds pppd python qt quicktime radius rdesktop readline real reflection samba sasl sdl session sharedmem silc slp sms sockets sox spell spl sse sse2 ssl svga sysfs sysvipc tcpd tetex threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wifi win32codecs winbind xchattext xcomposite xml xmlrpc xmms xorg xv xvid yahoo zlib elibc_glibc kernel_linux linguas_en_GB linguas_it userland_GNU video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Angelo Leto 2006-06-26 08:55:03 UTC
Created attachment 90193 [details, diff]
patch for appl/telnet/telnet/telnet.c

this patch correct the setupterm function declaration as declared in
/usr/include/term.h:758
Comment 3 Angelo Leto 2006-06-26 08:57:20 UTC
Created attachment 90194 [details, diff]
patch for mit-krb5-1.4.3.ebuild

the new ebuild uses the command "patch" insted of epatch becouse epatch can't determine the target file.
Comment 4 Emanuele Giaquinta (RETIRED) gentoo-dev 2006-06-28 08:25:53 UTC

*** This bug has been marked as a duplicate of 135288 ***