Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70485 - pam-0.77-r2 ebuild crashes in pam_console_apply.c
Summary: pam-0.77-r2 ebuild crashes in pam_console_apply.c
Status: RESOLVED DUPLICATE of bug 70471
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 10:54 UTC by JM Imbrescia
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JM Imbrescia 2004-11-08 10:54:27 UTC
When I try and emerge PAM-0.77-r2 the ebuild crashes while in the pam_console_apply.c file.  

Reproducible: Always
Steps to Reproduce:
1. emerge pam  (in ~x86)


Actual Results:  
Compile Errors Out

Expected Results:  
Pam should compile and install.

Emerge Info:
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.5
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/
3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/conf
ig /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/d
vips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/
xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Li
nux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cscope
cups dvd encode esd f7
7 fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile imagemagick i
map imlib java jpeg junit kde libg++ libwww mad mikmod motif mozilla mpeg
ncurses nls oggvorbis opengl
oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell
ssl svga tcltk tcpd tet
ex tiff truetype usb x86 xml xml2 xmms xv zlib"
---
End of output after emerge fails:
---
In file included from pam_console_apply.c:5:
../../_pam_aconf.h:28:1: warning: "_GNU_SOURCE" redefined
<command line>:2:1: warning: this is the location of the previous definition
pam_console_apply.c: In function `main':
pam_console_apply.c:107: warning: assignment discards qualifiers from pointer
target type
In file included from pam_console_apply.c:126:
config.tab.c: At top level:
config.tab.c:785: warning: static declaration of '_pc_yyparse' follows
non-static declaration
config.tab.c:745: warning: previous declaration of '_pc_yyparse' was here
config.y: In function `_pc_yyparse':
config.y:104: warning: char format, void arg (arg 4)
config.tab.c:1224: warning: passing arg 1 of `_pc_yyerror' discards qualifiers
from pointer target type
config.tab.c:1342: warning: passing arg 1 of `_pc_yyerror' discards qualifiers
from pointer target type
pam_console_apply.c: At top level:
config.y:327: warning: 'set_permissions_single' defined but not used
config.y:367: warning: 'reset_permissions_single' defined but not used
config.lex.c:1432: warning: '_pc_yy_delete_buffer' defined but not used
config.lex.c:1549: warning: '_pc_yy_scan_string' defined but not used
config.lex.c:1227: warning: 'yyunput' defined but not used
config.y:473: warning: 'do_yyerror' defined but not used
//usr/lib/libglib.a(gstrfuncs.o)(.text+0x945): In function `g_strdown':
: undefined reference to `__ctype_tolower'
//usr/lib/libglib.a(gstrfuncs.o)(.text+0x9e5): In function `g_strup':
: undefined reference to `__ctype_toupper'
//usr/lib/libglib.a(gstrfuncs.o)(.text+0xdd9): In function `g_strchug':
: undefined reference to `__ctype_b'
//usr/lib/libglib.a(gstrfuncs.o)(.text+0xebe): In function `g_strchomp':
: undefined reference to `__ctype_b'
//usr/lib/libglib.a(gstring.o)(.text+0x1006): In function `g_string_down':
: undefined reference to `__ctype_tolower'
//usr/lib/libglib.a(gstring.o)(.text+0x10a6): In function `g_string_up':
: undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
make[2]: *** [pam_console_apply] Error 1
make[2]: Leaving directory
`/var/tmp/portage/pam-0.77-r2/work/Linux-PAM-0.77/modules/pam_console'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/var/tmp/portage/pam-0.77-r2/work/Linux-PAM-0.77/modules'
make: *** [modules] Error 2

!!! ERROR: sys-libs/pam-0.77-r2 failed.
!!! Function src_compile, Line 209, Exitcode 2
!!! PAM build failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 teidakankan 2004-11-08 13:35:47 UTC
I'm getting the same error message trying to install PAM-0.77-r1.

emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.5
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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/share/config /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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -mfpmath=sse -pipe"
DISTDIR="/maxtor/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.30/gentoo-portage"
USE="X aalib alsa anthy apm arts avi berkdb bitmap-fonts cdr cjk crypt cscope cups dri dvd encode esd f77 fam flac foomaticdb fortran gdbm ggi gif glx gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jack java jpeg junit kde ldap libg++ libwww mad mailwrapper mikmod mmx motif mpeg nas ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png pythonqt quicktime readline samba scanner sdl slang speex spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb x86 xml xml2 xmms xprint xv zlib"
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2004-11-08 17:37:03 UTC

*** This bug has been marked as a duplicate of 70471 ***
Comment 3 Matthias Muthmann 2004-11-11 09:50:38 UTC
Try reemerging glib-1.2.10-r5 first. That worked for me!