First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 125966
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Kerberos Maintainers <kerberos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jose daLuz <jdaluz@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mit-krb5-robust.patch mit-krb5-robust.patch patch Gergan Penkov 2006-03-13 22:53 0000 1.25 KB Details | Diff
mit-krb5.patch patch the ebuild, add the above robust patch, and change the Manifest patch James M Leddy 2006-03-15 15:20 0000 5.61 KB Details | Diff
mit-krb5-robustgnu.patch setrobust_np compile fix patch Patrick Guimond 2006-03-26 09:56 0000 1.99 KB Details | Diff
mit-krb5-1.4.3-r1.ebuild setrobus_np fix ebuild text/plain Patrick Guimond 2006-03-26 09:57 0000 2.80 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125966 depends on: Show dependency tree
Show dependency graph
Bug 125966 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-12 11:29 0000
After updating glibc to 2.4 and gcc to 4.1.0, while doing emerge -e world I run
into this with mit-krb5-1.4.3:

x86_64-pc-linux-gnu-gcc -fPIC -DSHARED -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_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB=1
-DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=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_MEMMOVE=1 -DHAVE_REGCOMP=1
-DGETSOCKNAME_ARG2_TYPE=struct\ sockaddr -DGETSOCKNAME_ARG3_TYPE=socklen_t
-DGETPEERNAME_ARG2_TYPE=GETSOCKNAME_ARG2_TYPE
-DGETPEERNAME_ARG3_TYPE=GETSOCKNAME_ARG3_TYPE -DHAVE_LIBUTIL=1
-DHAVE_SYSLOG_H=1 -DHAVE_STDARG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_IFADDRS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1
-DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DNEED_SWAB_PROTO=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 -DPOSIX_SIGNALS=1
-DUSE_RCACHE=1 -DRETSIGTYPE=void -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETSERVBYNAME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1  
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I.  -march=athlon64 -O2 -pipe -pthread -c threads.c -o threads.so.o && mv
-f threads.so.o threads.so
threads.c: In function 

------- Comment #1 From Jose daLuz 2006-03-12 11:29:28 0000 -------
After updating glibc to 2.4 and gcc to 4.1.0, while doing emerge -e world I run
into this with mit-krb5-1.4.3:

x86_64-pc-linux-gnu-gcc -fPIC -DSHARED -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_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB=1
-DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=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_MEMMOVE=1 -DHAVE_REGCOMP=1
-DGETSOCKNAME_ARG2_TYPE=struct\ sockaddr -DGETSOCKNAME_ARG3_TYPE=socklen_t
-DGETPEERNAME_ARG2_TYPE=GETSOCKNAME_ARG2_TYPE
-DGETPEERNAME_ARG3_TYPE=GETSOCKNAME_ARG3_TYPE -DHAVE_LIBUTIL=1
-DHAVE_SYSLOG_H=1 -DHAVE_STDARG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_IFADDRS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1
-DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DNEED_SWAB_PROTO=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 -DPOSIX_SIGNALS=1
-DUSE_RCACHE=1 -DRETSIGTYPE=void -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETSERVBYNAME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1  
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I.  -march=athlon64 -O2 -pipe -pthread -c threads.c -o threads.so.o && mv
-f threads.so.o threads.so
threads.c: In function ‘krb5int_pthread_loaded’:
threads.c:145: error: ‘pthread_mutexattr_setrobust_np’ undeclared (first use
in this function)
threads.c:145: error: (Each undeclared identifier is reported only once
threads.c:145: error: for each function it appears in.)
make[2]: *** [threads.so] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util/support'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util'
make: *** [all-recurse] Error 1

!!! ERROR: app-crypt/mit-krb5-1.4.3 failed.

emerge --info
Portage 2.1_pre6 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r0,
2.6.15-ck5 x86_64)
=================================================================
System uname: 2.6.15-ck5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r1, 2.16.91.0.3, 2.16.91.0.5, 2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms
strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr
crypt cups dbus debug dri dvd dvdr eds emboss encode esd firefox flac
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java
jpeg kde ldap lzw lzw-tiff mad mono mozilla mp3 mpeg ncurses nls nptl nptlonly
ogg opengl pam pdflib perl pic png python qt quicktime readline ruby samba sdl
spell sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb
vorbis xml2 xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kernel_linux userland_GNU video_cards_vga video_cards_vesa
video_cards_nv"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #2 From Jakub Moc 2006-03-12 17:26:07 0000 -------
*** Bug 125999 has been marked as a duplicate of this bug. ***

------- Comment #3 From Michel van Kessel 2006-03-12 17:38:42 0000 -------
After updating glibc to 2.4 I get the same error on AMD64 running x86 version
of gentoo

emerge --info
Portage 2.1_pre6 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.4-r0,
2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Mobile AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acpi aim alsa apache2 avi bash-completion bdf
berkdb bitmap-fonts bzip2 cairo cdda cddb cdinstall cdparanoia cdr chm compiz
crypt cups curl dba dbus dhcp dri dvd dvdr dvdread eds emboss encode esd
ethereal evo exif ffmpeg firefox flac foomaticdb fortran ftp gd gif glitz
glproto gmp gnome gnutls gpm graphviz gstreamer gtk gtk2 gtkhtml hal hddtemp
iconv icq ieee1394 imagemagick imlib ipv6 java javascript jpeg jpeg2k kerberos
ldap libcaca libg++ libwww lm_sensors mad mikmod mime mono motif mp3 mpeg msn
mysql nautilus ncurses ncursus nls nocd nptl nptlonly ntfs offensive ogg opengl
oss pam pcmcia pcre pdf pdflib perl php png pop3d python quicktime readline
reiserfs samba sasl sdl sensord session snmp spell spf spreadsheet ssl svg
switch_all_desktops symlink tagwriting tcltk tcpd tiff tools truetype
truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis wifi
win32codecs wmf wv wxwindows xgl xine xml xmlrpc xmms xosd xvid yahoo zip zlib
elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics
kernel_linux userland_GNU video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #4 From Nathan Sullivan 2006-03-12 20:08:40 0000 -------
Same issue, x86 here. Changing Hardware to All.

Portage 2.0.54 (default-linux/x86/2006.0, gcc-4.0.2, glibc-2.4-r0,
2.6.15-ck3-r1 i686)
=================================================================
System uname: 2.6.15-ck3-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages nostrip sandbox sfperms
strict"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo
http://mirror.gentoo.gr.jp ftp://gg3.net/pub/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.cc.swin.edu.au/gentoo-portage"
USE="alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts
bzip2 calendar cli crypt cups curl dba debug dhcp divx4linux dri dv dvd dvdread
eds eix emboss encode esd exif expat extraengine fam ffmpeg foomaticdb fortran
ftp gd gdbm gif gmp gpm gstreamer imap imlib innodb ipv6 jabber jpeg kerberos
ldap libclamav libg++ libwww logrotate mad maildir mcal mhash mikmod mmx motif
mp3 mpeg mysql mysqli ncurses nls nptl nptlonly ogg pam pcntl pcre pdflib perl
php pic pie png posix postgres python quicktime radius readline samba sdl
session simplexml slang snmp soap sockets spell sqlite ssl tcpd tidy tiff
tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8
v4l vhosts vorbis wddx x86 xml xml2 xmlrpc xmms xv xvid zaptel zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #5 From Ash Varma 2006-03-13 10:35:19 0000 -------
I seem to be getting the same error with gcc 3.4.5 and glibc-2.4

========================================
checking for working regcomp... (cached) yes
checking for ANSI C header files... (cached) yes
checking for strchr... 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 unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for a BSD-compatible install... (cached) /bin/install -c
checking for runtest... no
checking return type of signal handlers... (cached) void
checking for sigprocmask... (cached) yes
checking for sigset_t and POSIX_SIGNALS... (cached) yes
checking for gawk... (cached) gawk
checking whether to use priocntl hack... (cached) no
updating cache .././config.cache
configure: creating ./config.status
config.status: creating ./Makefile
config.status: creating resolve/Makefile
config.status: creating asn.1/Makefile
config.status: creating create/Makefile
config.status: creating hammer/Makefile
config.status: creating verify/Makefile
config.status: creating gssapi/Makefile
config.status: creating dejagnu/Makefile
config.status: creating threads/Makefile
config.status: executing krb5_config_prefix commands
(cd include && make krb5/autoconf.h)
make[1]: Entering directory
`/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/include'
make[1]: `krb5/autoconf.h' is up to date.
make[1]: Leaving directory
`/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/include'
making all in util...
make[1]: Entering directory
`/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util'
making all in util/support...
make[2]: Entering directory
`/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util/support'
i686-pc-linux-gnu-gcc -fPIC -DSHARED -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_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB=1
-DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=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_TCL_H=1 -DHAVE_MEMMOVE=1 -DHAVE_REGCOMP=1
-DGETSOCKNAME_ARG2_TYPE=struct\ sockaddr -DGETSOCKNAME_ARG3_TYPE=size_t
-DGETPEERNAME_ARG2_TYPE=GETSOCKNAME_ARG2_TYPE
-DGETPEERNAME_ARG3_TYPE=GETSOCKNAME_ARG3_TYPE -DHAVE_LIBUTIL=1
-DHAVE_SYSLOG_H=1 -DHAVE_STDARG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_IFADDRS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1
-DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DNEED_SWAB_PROTO=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 -DPOSIX_SIGNALS=1
-DUSE_RCACHE=1 -DRETSIGTYPE=void -DHAVE_GETHOSTBYNAME_R=1
-DHAVE_GETSERVBYNAME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1  
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I.  -march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse2
-mmmx -pthread -c threads.c -o threads.so.o && mv -f threads.so.o threads.so
threads.c: In function `krb5int_pthread_loaded':
threads.c:145: error: `pthread_mutexattr_setrobust_np' undeclared (first use in
this function)
threads.c:145: error: (Each undeclared identifier is reported only once
threads.c:145: error: for each function it appears in.)
make[2]: *** [threads.so] Error 1
make[2]: Leaving directory
`/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util/support'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory
`/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util'
make: *** [all-recurse] Error 1

!!! ERROR: app-crypt/mit-krb5-1.4.3 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

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

My emerge info:

Portage 2.1_pre6-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r0,
2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1400MHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
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/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse2
-mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse2
-mmmx"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://192.168.69.11/gentoo http://gentoo.recoil.net.nz/gentoo
ftp://ftp2.jetstreamgames.co.nz/pub/gentoo ftp://ftp.citylink.co.nz/gentoo"
LANG="c"
LC_ALL="C"
PKGDIR="/home/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/home/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X aalib alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts bzip2 crypt cups curl dba dri eds emboss encode foomaticdb fortran
gd gdbm gif gnome gnome2 gpm gstreamer gtk gtk2 imlib ipv4 ipv6 ithreads java
jpeg kde kerberos ldap libg++ libwww mad maildir mikmod mmx motif mp3 mpeg
mysql ncurses nls nptl nptlonly odbc ogg oggvorbis opengl oss pam pda pdflib
perl php pic png pthreads python qt quicktime radeon readline samba sasl sdl
session slang spell ssl svga tcltk tcpd threads truetype truetype-fonts
type1-fonts usb vhosts vorbis xml2 xmms xv zlib elibc_glibc kernel_linux
userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #6 From Alex 2006-03-13 20:28:38 0000 -------
Can someone please try to 

# export ac_cv_func_pthread_mutexattr_setrobust_np=no
# emerge mit-krb5

If that doesn't help, unset the variable

# unset ac_cv_func_pthread_mutexattr_setrobust_np=no

then 

# export pthread_mutexattr_setrobust_np=no
# emerge mit-krb5

------- Comment #7 From Jose daLuz 2006-03-13 20:41:51 0000 -------
(In reply to comment #5)
> # export ac_cv_func_pthread_mutexattr_setrobust_np=no
threads.c: In function 

------- Comment #8 From Jose daLuz 2006-03-13 20:41:51 0000 -------
(In reply to comment #5)
> # export ac_cv_func_pthread_mutexattr_setrobust_np=no
threads.c: In function ‘krb5int_pthread_loaded’:
threads.c:145: error: ‘pthread_mutexattr_setrobust_np’ undeclared (first use
in this function)

> # export pthread_mutexattr_setrobust_np=no
threads.c: In function ‘krb5int_pthread_loaded’:
threads.c:145: error: ‘pthread_mutexattr_setrobust_np’ undeclared (first use
in this function)

No good here.

------- Comment #9 From Tim Manochehri 2006-03-13 20:55:09 0000 -------
(In reply to comment #5)
> Can someone please try to 
> 
> # export ac_cv_func_pthread_mutexattr_setrobust_np=no
> # emerge mit-krb5
> 
> If that doesn't help, unset the variable
> 
> # unset ac_cv_func_pthread_mutexattr_setrobust_np=no
> 
> then 
> 
> # export pthread_mutexattr_setrobust_np=no
> # emerge mit-krb5
> 


Same issue!

------- Comment #10 From Gergan Penkov 2006-03-13 22:53:55 0000 -------
Created an attachment (id=82070) [edit]
mit-krb5-robust.patch

http://mailman.mit.edu/pipermail/krb5-bugs/2006-January/004205.html 
this fixes it for me

------- Comment #11 From Jose daLuz 2006-03-13 23:11:07 0000 -------
(In reply to comment #8)
> http://mailman.mit.edu/pipermail/krb5-bugs/2006-January/004205.html 
> this fixes it for me
> 
Thanks very much. It fixes it here.

------- Comment #12 From Tim Manochehri 2006-03-14 20:23:14 0000 -------
(In reply to comment #8)
> Created an attachment (id=82070) [edit]
> mit-krb5-robust.patch
> 
> http://mailman.mit.edu/pipermail/krb5-bugs/2006-January/004205.html 
> this fixes it for me
> 

So how do I apply the patch?

------- Comment #13 From James M Leddy 2006-03-15 14:42:39 0000 -------
Perhaps there should be an ebuild that will automatically apply this patch?  It
doesn't make sense to have everyone have to apply the patch manually.

------- Comment #14 From James M Leddy 2006-03-15 15:18:25 0000 -------
What I did specifically to remedy this situation, is copied the with the
ebuilds, in this case /usr/portage/app-crypt/mit-krb5/ to my overlay.  Then
download the patch to the files subdirectory.  Then I edited the ebuild by
adding the line
epatch ${FILESDIR}/${PN}-robust.patch
in src_unpack().  Then ebuild mit-krb5-1.4.3.ebuild digest to account for the
new file and the modification.  

I suppose the easiest thing to do would be to stop the emerge after
src_unpack(), and then apply the patch, and restart the emerge from there.  If
anyone knows how to do that, please let me know.  I made a patch, so if you
want, you could 
cd /usr/portage/app-crypt/mit-krb5/ && patch <mit-krb5.patch && ebuild mit-krb5

Though it would be safer if you copied this directory to your portage overlay
first and then patched that.

------- Comment #15 From James M Leddy 2006-03-15 15:20:14 0000 -------
Created an attachment (id=82243) [edit]
patch the ebuild, add the above robust patch, and change the Manifest

------- Comment #16 From Ed Catmur 2006-03-15 19:11:11 0000 -------
Patch fixes it here.

------- Comment #17 From Alexandre Ghisoli 2006-03-17 02:27:54 0000 -------
This bug still arround.

I've used robust patch in my overlay, but I've emerge --sync today and bug
still around.

------- Comment #18 From Brandon Grace 2006-03-17 06:21:12 0000 -------
patch process fixed my issues.

------- Comment #19 From Ciaran McCreesh 2006-03-18 15:04:03 0000 -------
*** Bug 126728 has been marked as a duplicate of this bug. ***

------- Comment #20 From Christopher Thorjussen 2006-03-21 15:38:42 0000 -------
Works fine on my system (amd64, glibc-2.4-r1 (nxsty overlay), gcc-4.1,
binutils-2.16.91.0.6 (nxsty overlay)) :D

------- Comment #21 From Patrick Guimond 2006-03-26 09:56:17 0000 -------
Created an attachment (id=83176) [edit]
setrobust_np compile fix

Created a fix for enabling setrobust_np while fixing the compile process
Next attachment is an updated ebuild

------- Comment #22 From Patrick Guimond 2006-03-26 09:57:23 0000 -------
Created an attachment (id=83178) [edit]
setrobus_np fix ebuild

ebuild using the setrobust_np compile fix

------- Comment #23 From Natanael Copa 2006-03-27 02:46:32 0000 -------
(In reply to comment #20)
> Created an attachment (id=83178) [edit]
> setrobus_np fix ebuild
> 
> ebuild using the setrobust_np compile fix

Works fine on amd64.
I vote for getting it commited to cvs.
Thanks!

------- Comment #24 From Nathan Sullivan 2006-03-27 02:52:13 0000 -------
The robust.patch works fine here on amd64 and x86. Additional benefit to the
second patch? If its worthwhile ill test it too :)

Portage 2.1_pre7-r1 (default-linux/amd64/2005.1, gcc-4.1.0, glibc-2.4-r1,
2.6.15-ck2 x86_64)
=================================================================
System uname: 2.6.15-ck2 x86_64 AMD Opteron(tm) Processor 148
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer nostrip
sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo
http://ftp.swin.edu.au/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa amd64 apache2 avi bash-completion berkdb big-tables
bitmap-fonts bzip2 cairo canvas cdr cli crypt cups curl dba debug divx4linux
dri dvd dvdr emboss encode ethereal exif extraengine fam ffmpeg firefox flac
foomaticdb fortran gd gdbm gif gimpprint gpm gstreamer gtk gtk2 icq idn imap
imlib innodb ipv6 jabber java jpeg kerberos lcms ldap logrotate lzw lzw-tiff
mad mhash mng mozsvg mp3 mpeg mppe-mppc mysql mysqli ncurses nls nptl nptlonly
nsplugin nvidia ogg opengl pam pcntl pcre pdflib pear perl png posix python
quicktime readline real ruby samba sdl session snmp soap sockets spell sqlite
ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales
utf8 vorbis wddx xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid
yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

Portage 2.1_pre7-r1 (default-linux/x86/2006.0, gcc-4.0.3, glibc-2.4-r0,
2.6.15-ck3-r1 i686)
=================================================================
System uname: 2.6.15-ck3-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer nostrip
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.cc.swin.edu.au/gentoo-portage"
USE="alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 calendar
cli crypt ctype cups curl dba debug dhcp divx4linux dri dv dvb dvd dvdread eds
eix emboss encode esd exif expat extraengine fam fastbuild ffmpeg foomaticdb
force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer hash imap imlib innodb
jabber jpeg kerberos ldap libclamav libg++ libwww logrotate mad maildir mcal
memlimit mhash mikmod mmx motif mp3 mpeg mysql mysqli ncurses nls nptl nptlonly
ogg pam pcntl pcre pdflib perl pic pie png posix postgres python quicktime
radius readline samba sdl session simplexml snmp soap sockets spamassassin
spell spl sqlite ssl tcpd tidy tiff tokenizer truetype truetype-fonts
type1-fonts udev unicode usb userlocales utf8 v4l vhosts vorbis wddx x86 xml
xml2 xmlrpc xmms xsl xv xvid zaptel zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #25 From Patrick Guimond 2006-03-27 03:18:55 0000 -------
First patch (mit-krb5-robust.patch) disables calls to
pthread_mutexattr_setrobust_np to avoid build errors.

The second setrobust_np compile fix instead makes the build system see the
function to make it compile. Let's say this may be a little safer as
developpers wouldn't have used a robust mutex if it wasn't necessary...

------- Comment #26 From Gergan Penkov 2006-03-27 03:34:36 0000 -------
The answer to this patch from ken in the next mail, says it all:
>I used pthread_mutexattr_setrobust_np as a weak-reference test to see  
>if the pthread code was loaded on Solaris.  With the more detailed  
>tests we do now, the test for that function can probably just go away  
>now....
>Ken
http://mailman.mit.edu/pipermail/krb5-bugs/2006-January/004207.html
so the both patches should be equally safe

------- Comment #27 From Nathan Sullivan 2006-03-27 03:53:25 0000 -------
meh im liking the latter, having something available and working is better than
removing something that supposedly doesnt work :)

------- Comment #28 From Nathan Sullivan 2006-03-27 04:11:59 0000 -------
ignore my last msg, remove the check if its unused i guess.

------- Comment #29 From Renato Crisóstomo 2006-04-07 11:25:26 0000 -------
Having this issue too... (glibc-2.4, gcc-3.4.5)

The fix works here (2nd one), please move it to the main tree.

------- Comment #30 From Zsolt Barat 2006-04-13 13:36:06 0000 -------
compilation worked here to.
second patch+ebuild on glibc-2.4 and gcc-3.4.6

------- Comment #31 From Wouter Depuydt 2006-04-19 05:02:31 0000 -------
(In reply to comment #20)
> Created an attachment (id=83178) [edit]
> setrobus_np fix ebuild
> 
> ebuild using the setrobust_np compile fix
> 

ebuild and patch are working fine on Gentoo i686, GCC 4.1.0, glibc 2.4-r1.
I'm also voting in getting this patch at least in '~x86', since the current
official ebuild (mit-krb5-1.4.3) won't compile in '~x86'.

------- Comment #32 From Jose daLuz 2006-04-19 05:34:19 0000 -------
(In reply to comment #29)
> ebuild and patch are working fine on Gentoo i686, GCC 4.1.0, glibc 2.4-r1.
> I'm also voting in getting this patch at least in '~x86', since the current
> official ebuild (mit-krb5-1.4.3) won't compile in '~x86'.
> 
Builds fine with the second patch on x86-64 gcc 4.1.0, glibc 2.4-r1, ~amd64.

------- Comment #33 From Alexander Wessel 2006-04-25 04:29:57 0000 -------
Could someone please commit the updated ebuild!? 

To my understanding the patch does no harm at all, and current ~X86 is
definetly faulty. I wonder if this shouldn't have "blocker" severity...

Thanks a million!

------- Comment #34 From Andreas Höhmann 2006-05-01 09:31:48 0000 -------
app-crypt/mit-krb5-1.4.3 failed to build

make[1]: Entering directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/include'
make[1]: `krb5/autoconf.h' is up to date.
make[1]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/include'
making all in util...
make[1]: Entering directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util'
making all in util/support...
make[2]: Entering directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util/support'
i686-pc-linux-gnu-gcc -fPIC -DSHARED -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_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB=1
-DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=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_TCL_H=1 -DHAVE_MEMMOVE=1 -DHAVE_REGCOMP=1
-DGETSOCKNAME_ARG2_TYPE=struct\ sockaddr -DGETSOCKNAME_ARG3_TYPE=size_t
-DGETPEERNAME_ARG2_TYPE=GETSOCKNAME_ARG2_TYPE
-DGETPEERNAME_ARG3_TYPE=GETSOCKNAME_ARG3_TYPE -DHAVE_LIBUTIL=1
-DHAVE_SYSLOG_H=1 -DHAVE_STDARG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_IFADDRS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1
-DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DNEED_SWAB_PROTO=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 -DPOSIX_SIGNALS=1 -DUSE_RCACHE=1
-DRETSIGTYPE=void -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETSERVBYNAME_R=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1   -I../../include -I./../../include
-I../../include/krb5 -I./../../include/krb5 -I. -I.  -march=pentium-m -pipe -O2
-fomit-frame-pointer -frename-registers -fprefetch-loop-arrays
-falign-functions=64 -mmmx -msse2 -msse -pthread -c threads.c -o threads.so.o
&& mv -f threads.so.o threads.so
threads.c: In function `krb5int_pthread_loaded':
threads.c:145: error: `pthread_mutexattr_setrobust_np' undeclared (first use in
this function)
threads.c:145: error: (Each undeclared identifier is reported only once
threads.c:145: error: for each function it appears in.)
make[2]: *** [threads.so] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util/support'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util'
make: *** [all-recurse] Error 1

troll linux # emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1,
2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.12.0_pre18
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -frename-registers
-fprefetch-loop-arrays -falign-functions=64 -mmmx -msse2 -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo
/etc/env.d"
CXXFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -frename-registers
-fprefetch-loop-arrays -falign-functions=64 -mmmx -msse2 -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/g-cpan"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X accessibility acpi alsa apache2 apm audiofile avi bash-completion
berkdb bitmap-fonts bitmapfonts bonobo bootsplash bzip2 cdr cli crypt cups curl
dbus dri dvdr eds emboss encode esd exif expat fam festival ffmpeg firefox
foomaticdb fortran freetds gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2
gtkhtml hal howl idn imagemagick imlib isdnlog java jpeg junit kdexdeltas
kerberos lcms ldap libg++ libwww mad mhash mikmod mmx mng motif mozilla mp3
mpeg mysql ncurses nls odbc ogg oggvorbis opengl pam pcre pdflib perl png
postgres pppd python quicktime readline reflection ruby samba sdl session
speech spell spl sse sse2 ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts truetypefonts type1-fonts type1fonts udev unicode usb vorbis wmf
xine xinerama xml xml2 xmms xorg xv zlib video_cards_i810 linguas_de
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS

------- Comment #35 From Andreas Höhmann 2006-05-01 09:32:18 0000 -------
app-crypt/mit-krb5-1.4.3 failed to build

make[1]: Entering directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/include'
make[1]: `krb5/autoconf.h' is up to date.
make[1]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/include'
making all in util...
make[1]: Entering directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util'
making all in util/support...
make[2]: Entering directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util/support'
i686-pc-linux-gnu-gcc -fPIC -DSHARED -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_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB=1
-DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=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_TCL_H=1 -DHAVE_MEMMOVE=1 -DHAVE_REGCOMP=1
-DGETSOCKNAME_ARG2_TYPE=struct\ sockaddr -DGETSOCKNAME_ARG3_TYPE=size_t
-DGETPEERNAME_ARG2_TYPE=GETSOCKNAME_ARG2_TYPE
-DGETPEERNAME_ARG3_TYPE=GETSOCKNAME_ARG3_TYPE -DHAVE_LIBUTIL=1
-DHAVE_SYSLOG_H=1 -DHAVE_STDARG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_IFADDRS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_OPENLOG=1 -DHAVE_SYSLOG=1 -DHAVE_CLOSELOG=1
-DHAVE_STRFTIME=1 -DHAVE_VSPRINTF=1 -DNEED_SWAB_PROTO=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 -DPOSIX_SIGNALS=1 -DUSE_RCACHE=1
-DRETSIGTYPE=void -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETSERVBYNAME_R=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1   -I../../include -I./../../include
-I../../include/krb5 -I./../../include/krb5 -I. -I.  -march=pentium-m -pipe -O2
-fomit-frame-pointer -frename-registers -fprefetch-loop-arrays
-falign-functions=64 -mmmx -msse2 -msse -pthread -c threads.c -o threads.so.o
&& mv -f threads.so.o threads.so
threads.c: In function `krb5int_pthread_loaded':
threads.c:145: error: `pthread_mutexattr_setrobust_np' undeclared (first use in
this function)
threads.c:145: error: (Each undeclared identifier is reported only once
threads.c:145: error: for each function it appears in.)
make[2]: *** [threads.so] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util/support'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mit-krb5-1.4.3/work/krb5-1.4.3/src/util'
make: *** [all-recurse] Error 1

troll linux # emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1,
2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.12.0_pre18
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -frename-registers
-fprefetch-loop-arrays -falign-functions=64 -mmmx -msse2 -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo
/etc/env.d"
CXXFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -frename-registers
-fprefetch-loop-arrays -falign-functions=64 -mmmx -msse2 -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/g-cpan"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X accessibility acpi alsa apache2 apm audiofile avi bash-completion
berkdb bitmap-fonts bitmapfonts bonobo bootsplash bzip2 cdr cli crypt cups curl
dbus dri dvdr eds emboss encode esd exif expat fam festival ffmpeg firefox
foomaticdb fortran freetds gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2
gtkhtml hal howl idn imagemagick imlib isdnlog java jpeg junit kdexdeltas
kerberos lcms ldap libg++ libwww mad mhash mikmod mmx mng motif mozilla mp3
mpeg mysql ncurses nls odbc ogg oggvorbis opengl pam pcre pdflib perl png
postgres pppd python quicktime readline reflection ruby samba sdl session
speech spell spl sse sse2 ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts truetypefonts type1-fonts type1fonts udev unicode usb vorbis wmf
xine xinerama xml xml2 xmms xorg xv zlib video_cards_i810 linguas_de
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS

------- Comment #36 From Torsten Kurbad 2006-05-04 02:24:50 0000 -------
I had the same issue here with glibc-2.4, gcc-3.4.6
The patch fixed it (only tried the second one)

Please, please, commit the patched versions to portage!

------- Comment #37 From Disaster 2006-05-06 10:56:33 0000 -------
same problem here on a fresh install on ~x86, patches fixed the problem, please
put in cvs

------- Comment #38 From Steven Ketelsen 2006-05-07 19:13:28 0000 -------
Patch provided here together with patches provided in
http://bugs.gentoo.org/show_bug.cgi?id=124405 solved the build on pentium-3 for
me.  Please commit.

------- Comment #39 From Timo Gurr 2006-05-16 07:46:29 0000 -------
The ebuild/patch provided in comment #19 and #20 worked for me, too.

------- Comment #40 From Nathan Sullivan 2006-05-18 05:38:53 0000 -------
The "setrobust_np compile fix" patch definitely works fine here, tested on a
few archs with no issues. Are there any implications for any users when
attempting to build mit-krb5-1.4.3 with an older gcc than 4.1.x with the patch
applied? As long as this patch doesnt affect any older (possibly stable)
toolchains then this should be committed as is as soon as possible.

------- Comment #41 From Seemant Kulleen (RETIRED) 2006-05-19 05:33:13 0000 -------
Hi Everyone,

Someone finally pinged me about this on irc.  As some people may know -- I do
not get bugz mails yet.  So if something comes up on a package I maintain (or
co-maintain), please send me a personal email or ping me on irc.  Sorry that
you all had to wait for this fix.  I'll be committing it at some point today.

------- Comment #42 From Seemant Kulleen (RETIRED) 2006-05-19 05:34:47 0000 -------
Also, just as an fyi -- if you make a change to an ebuild, it's much friendlier
for you to submit it as a patch against the original ebuild, so we can see the
changes easier :)

------- Comment #43 From Jakub Moc 2006-05-21 02:16:53 0000 -------
*** Bug 133924 has been marked as a duplicate of this bug. ***

------- Comment #44 From Seemant Kulleen (RETIRED) 2006-05-21 13:41:34 0000 -------
this is going into portage shortly with both patches.  look for 1.4.3-r1 in
portage in a few minutes (~keyworded for a week before I push it to stable, so
please give it a test).

First Last Prev Next    No search results available      Search page      Enter new bug