Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228275 - sys-libs/pam 0.99.9.0 and sys-libs/pam-1.0.1 won't compile
Summary: sys-libs/pam 0.99.9.0 and sys-libs/pam-1.0.1 won't compile
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 03:50 UTC by 谢雨辰
Modified: 2008-06-19 07:17 UTC (History)
0 users

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 谢雨辰 2008-06-19 03:50:22 UTC
pam_conv_l.c: In function ‘yy_get_next_buffer’:
pam_conv_l.c:995: warning: comparison between signed and unsigned
pam_conv_l.c: At top level:
pam_conv_l.c:1579: warning: no previous prototype for ‘yyget_in’
pam_conv_l.c:1587: warning: no previous prototype for ‘yyget_out’
pam_conv_l.c:1595: warning: no previous prototype for ‘yyget_leng’
pam_conv_l.c:1604: warning: no previous prototype for ‘yyget_text’
pam_conv_l.c:1615: warning: no previous prototype for ‘yyset_in’
pam_conv_l.c:1620: warning: no previous prototype for ‘yyset_out’
pam_conv_l.c:1625: warning: no previous prototype for ‘yyget_debug’
pam_conv_l.c:1630: warning: no previous prototype for ‘yyset_debug’
pam_conv_l.c:1664: warning: no previous prototype for ‘yylex_destroy’
pam_conv_l.c:1087: warning: ‘yyunput’ defined but not used
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=pentium-m -O2 -pipe -fomit-frame-pointer -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow  -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o  
mkdir .libs
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -fomit-frame-pointer -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o   
pam_conv_l.o: In function `yylex':
pam_conv_l.c:(.text+0xb89): undefined reference to `yywrap'
collect2: ld returned 1 exit status
make[4]: *** [pam_conv1] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-libs/pam-0.99.9.0/work/Linux-PAM-0.99.9.0/conf/pam_conv1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-libs/pam-0.99.9.0/work/Linux-PAM-0.99.9.0/conf/pam_conv1'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-0.99.9.0/work/Linux-PAM-0.99.9.0/conf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-0.99.9.0/work/Linux-PAM-0.99.9.0'
make: *** [all] Error 2
 * 
 * ERROR: sys-libs/pam-0.99.9.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2702:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/pam-0.99.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-0.99.9.0/temp/environment'.
 * 

 * Messages for package sys-libs/pam-0.99.9.0:

 * 
 * ERROR: sys-libs/pam-0.99.9.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2702:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/pam-0.99.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-0.99.9.0/temp/environment'.
 *
Comment 1 谢雨辰 2008-06-19 07:17:08 UTC
After re-emerge flex, pam can be compiled.

emerge -pv flex
[ebuild   R   ] sys-devel/flex-2.5.33-r3  USE="nls -static"

part of emerge --info:
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
USE="-bluetooth -ipv6 -emacs -gnome -kde -mysql -berkdb mmx sse sse2"