Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9588 - pam-0.75-r8 fails under "emerge system"
Summary: pam-0.75-r8 fails under "emerge system"
Status: RESOLVED DUPLICATE of bug 4411
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 22:33 UTC by Grant Goodyear (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
"emerge pam" log (pam.log,87.17 KB, text/plain)
2002-10-23 22:34 UTC, Grant Goodyear (RETIRED)
Details
ebuild log (pam-0.75-r8.log,18.60 KB, text/plain)
2002-10-24 04:39 UTC, Tony Murray
Details
Log of 'emerge -s pwdb > pam.newlog' and 'emerge pam 2>&1 >> pam.newlog' (pam.newlog,88.12 KB, text/plain)
2002-10-24 17:21 UTC, Grant Goodyear (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Goodyear (RETIRED) gentoo-dev 2002-10-23 22:33:31 UTC
I'm reinstalling Gentoo 1.4, only this time I have gcc set in packages to be
gcc-2.95.3.  Emerging pam errored out with "ERROR: pam_pwdb module did not build".
I'll attach the build log for pam.
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-10-23 22:34:23 UTC
Created attachment 4962 [details]
"emerge pam" log
Comment 2 Tony Murray 2002-10-24 04:39:33 UTC
Created attachment 4966 [details]
ebuild log

Also fails for me, could be the same bug.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-24 14:19:18 UTC
Grant .. Seems that you do not have sys-libs/pwdb installed ?

Tony, do you have dev-libs/glib-1.2.10-r? installed ?
Comment 4 Grant Goodyear (RETIRED) gentoo-dev 2002-10-24 17:19:25 UTC
Azarah,
  Actually, I do have pwdb installed.  I just tried installing the latest version 
of pam and I still get the same error.  I'll attach the log (generated
from "emerge pam 2>&1 >> pam.newlog"), but some warnings weren't captured:

# emerge pam-0.75-r9.ebuild 2>&1 >> pam.newlog
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
config.y:127: warning: previous rule lacks an ending `;'
config.y contains 1 shift/reduce conflict.
In file included from pam_console.c:26:
../../_pam_aconf.h:23: warning: `_GNU_SOURCE' redefined
*Initialization*:1: warning: this is the location of the previous definition
In file included from pam_console.c:505:
/usr/share/bison/bison.simple:379: warning: static declaration for `_pc_yyparse'
 follows non-static
config.y: In function `_pc_yyparse':
config.y:103: warning: char format, void arg (arg 4)
/usr/share/bison/bison.simple:799: warning: passing arg 1 of `_pc_yyerror'
discards qualifiers from pointer target type
/usr/share/bison/bison.simple:924: warning: passing arg 1 of `_pc_yyerror'
discards qualifiers from pointer target type
pam_console.c: At top level:
config.y:331: warning: `set_permissions_single' defined but not used
config.y:422: 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:484: warning: `do_yyerror' defined but not used
In file included from regerr.c:5,
                 from pam_console_apply_devfsd.c:100:
../../_pam_aconf.h:23: warning: `_GNU_SOURCE' redefined
*Initialization*:1: warning: this is the location of the previous definition
pam_console_apply_devfsd.c:52: warning: no previous prototype for
`pam_console_apply_single'
pam_console_apply_devfsd.c: In function `pam_console_apply_single':
pam_console_apply_devfsd.c:54: warning: unused variable `c'
In file included from pam_console_apply_devfsd.c:104:
/usr/share/bison/bison.simple: At top level:
/usr/share/bison/bison.simple:379: warning: static declaration for `_pc_yyparse'
follows non-static
config.y: In function `_pc_yyparse':
config.y:103: warning: char format, void arg (arg 4)
/usr/share/bison/bison.simple:799: warning: passing arg 1 of `_pc_yyerror'
discards qualifiers from pointer target type
/usr/share/bison/bison.simple:924: warning: passing arg 1 of `_pc_yyerror'
discards qualifiers from pointer target type
pam_console_apply_devfsd.c: At top level:
chmod.c:130: warning: `chmod_set_fstab' defined but not used
config.y:298: warning: `set_permissions' defined but not used
config.y:372: warning: `reset_permissions' defined but not used
../../libpam/include/security/_pam_macros.h:127: warning: `_pam_getpwuid_r'
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:484: warning: `do_yyerror' defined but not used
In file included from pam_console_apply.c:5:
../../_pam_aconf.h:23: warning: `_GNU_SOURCE' redefined
*Initialization*:1: warning: this is the location of the previous definition
In file included from pam_console_apply.c:120:
/usr/share/bison/bison.simple:379: warning: static declaration for `_pc_yyparse'
follows non-static
config.y: In function `_pc_yyparse':
config.y:103: warning: char format, void arg (arg 4)
/usr/share/bison/bison.simple:799: warning: passing arg 1 of `_pc_yyerror'
discards qualifiers from pointer target type
/usr/share/bison/bison.simple:924: warning: passing arg 1 of `_pc_yyerror'
discards qualifiers from pointer target type
pam_console_apply.c: At top level:
config.y:331: warning: `set_permissions_single' defined but not used
config.y:422: warning: `reset_permissions_single' defined but not used
../../libpam/include/security/_pam_macros.h:127: warning: `_pam_getpwuid_r'
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:484: warning: `do_yyerror' defined but not used
pam_limits.c: In function `process_limit':
pam_limits.c:406: warning: cast discards qualifiers from pointer target type
pam_limits.c: In function `pam_sm_open_session':
pam_limits.c:614: warning: unused variable `uid'
pam_timestamp.c: In function `pam_sm_authenticate':
pam_timestamp.c:330: warning: passing arg 2 of `strtol' from incompatible
pointer type
pam_timestamp.c: In function `pam_sm_open_session':
pam_timestamp.c:405: warning: unused variable `st'
../../libpam/include/security/_pam_macros.h:127: warning: `_pam_getpwuid_r'
defined but not used


I hope this helps.
Comment 5 Grant Goodyear (RETIRED) gentoo-dev 2002-10-24 17:21:06 UTC
Created attachment 4994 [details]
Log of 'emerge -s pwdb > pam.newlog' and 'emerge pam 2>&1 >> pam.newlog'
Comment 6 Grant Goodyear (RETIRED) gentoo-dev 2002-10-24 19:43:13 UTC
Cool.  Removing libpwdb.a solved the problem for me.  Thanks Azarah!

I'm leaving the bug open since that's a workaround, not a fix, but I'm
dropping the severity level.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-25 18:02:58 UTC

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