Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 97294

Summary: cyrus-sasl-2.1.21-r1 fails to emerge
Product: Gentoo Linux Reporter: Igor Galchevsky <f>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Igor Galchevsky 2005-06-28 05:09:47 UTC
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/etc/saslauthd.conf\" -I. -I. -I.. -I. -I. -I.
-I./include -I./include -I./../include    -O3 -march=pentium4 -mtune=pentium4
-msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread -MT
auth_sia.o -MD -MP -MF ".deps/auth_sia.Tpo" \
  -c -o auth_sia.o `test -f 'auth_sia.c' || echo './'`auth_sia.c; \
then mv ".deps/auth_sia.Tpo" ".deps/auth_sia.Po"; \
else rm -f ".deps/auth_sia.Tpo"; exit 1; \
fi
auth_shadow.c: In function `auth_shadow':
auth_shadow.c:134: error: too few arguments to function `getpwnam_r'
auth_shadow.c:134: warning: assignment makes pointer from integer without a cast
auth_shadow.c:149: error: too few arguments to function `getspnam_r'
auth_shadow.c:149: warning: assignment makes pointer from integer without a cast
make[3]: *** [auth_shadow.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21/saslauthd'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21/saslauthd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-libs/cyrus-sasl-2.1.21-r1
2.
3.
Actual Results:  
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/etc/saslauthd.conf\" -I. -I. -I.. -I. -I. -I.
-I./include -I./include -I./../include    -O3 -march=pentium4 -mtune=pentium4
-msse -msse2 -mmmx -pipe -fomit-frame-pointer -mfpmath=sse -pthread -MT
auth_sia.o -MD -MP -MF ".deps/auth_sia.Tpo" \
  -c -o auth_sia.o `test -f 'auth_sia.c' || echo './'`auth_sia.c; \
then mv ".deps/auth_sia.Tpo" ".deps/auth_sia.Po"; \
else rm -f ".deps/auth_sia.Tpo"; exit 1; \
fi
auth_shadow.c: In function `auth_shadow':
auth_shadow.c:134: error: too few arguments to function `getpwnam_r'
auth_shadow.c:134: warning: assignment makes pointer from integer without a cast
auth_shadow.c:149: error: too few arguments to function `getspnam_r'
auth_shadow.c:149: warning: assignment makes pointer from integer without a cast
make[3]: *** [auth_shadow.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21/saslauthd'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21/saslauthd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21'
make: *** [all] Error 2


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12 i686)
=================================================================
System uname: 2.6.12 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.1-r2
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r4, 1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe
-fomit-frame-pointer -mfpmath=sse -pthread"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -mtune=pentium4 -msse -msse2 -mmmx -pipe
-fomit-frame-pointer -mfpmath=sse -pthread"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo/
ftp://ftp.linux.org.ua/pub/Linux/Gentoo/ "
LANG="ru_RU.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.linux.kiev.ua/gentoo-portage"
USE="7zip X aalib acl acpi alsa apm audiofile avi berkdb bidi bitmap-fonts bzip2
bzlib cdb cdparanoia cdr crypt cscope cups curl curlwrappers dbm dbus dio
directfb divx4linux dvd dvdread eds emboss encode evolution examples extensions
fam fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm ggi gif
gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hardenedphp hsql
hsqldb i8x0 icc icc-pgo iconv icq imagemagick imap imlib iodbc ithreads jabber
jack java javamail jce jdbc jikes jpeg jpeg2k junit koi8-r ldap libcaca libedit
libg++ libwww live mad maildir mbox memlimit mikmod mime ming mmx mmx2 mono
mozdevelop mozilla mozsvg mp3 mpeg msession msql mysql mysqli nas ncurses
network nls nntp nptl nptlonly ntp nvidia odbc ogg oggvorbis openal opengl
openldap oss pam pdflib perl pgo php png portaudio postgres ppds python
quicktime readline real recode samba sasl sdl session shared sharedmem slang slp
sndfile snmp sockets socks5 soundtouch spell spl sqlite sse sse2 ssl svg svga
tcltk tcpd theora threads tidy tiff timidity tokenizer truetype truetype-fonts
type1-fonts unicode usb userlocales utf utf8 vhosts vorbis win32codecs wxwindows
x86 xine xml xml2 xmlrpc xmms xpm xsl xv xvid zlib video_cards_nvidia
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-28 05:17:28 UTC
Remove -pthread from your C[XX]FLAGS and don't file deliberate duplicate bugs.
Thanks.

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