Summary: | pam-0.75-r8 fails under "emerge system" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Grant Goodyear (RETIRED) <g2boojum> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | mholzer |
Priority: | High | ||
Version: | 1.4_rc1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
"emerge pam" log
ebuild log Log of 'emerge -s pwdb > pam.newlog' and 'emerge pam 2>&1 >> pam.newlog' |
Description
Grant Goodyear (RETIRED)
![]() Created attachment 4962 [details]
"emerge pam" log
Created attachment 4966 [details]
ebuild log
Also fails for me, could be the same bug.
Grant .. Seems that you do not have sys-libs/pwdb installed ? Tony, do you have dev-libs/glib-1.2.10-r? installed ? 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. Created attachment 4994 [details]
Log of 'emerge -s pwdb > pam.newlog' and 'emerge pam 2>&1 >> pam.newlog'
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. |