Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28810 - pam_krb5-1.0 won't compile
Summary: pam_krb5-1.0 won't compile
Status: RESOLVED DUPLICATE of bug 35059
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-09-15 11:21 UTC by Marcin Wisnicki
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
New ebuild for 1.3-r7 (pam_krb5-1.3-r7.ebuild,772 bytes, patch)
2003-11-06 03:21 UTC, David Stubbs
Details | Diff
Patch file for 1.3-rc7 (pam_krb5-1.3-gentoo.diff,242 bytes, patch)
2003-11-06 03:22 UTC, David Stubbs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Wisnicki 2003-09-15 11:21:02 UTC
It will not compile with latest gcc/glibc (3.3/2.3.2)
There is an alternative kerberos5 pam module.
Ebuilds in bug 26509.

Reproducible: Always
Steps to Reproduce:
1. emerge pam_krb5


Actual Results:  
patching file Makefile
gcc -c -march=athlon-xp -Os -pipe -I/usr/include pam_krb5_auth.c
pam_krb5_auth.c: In function `pam_sm_authenticate':
pam_krb5_auth.c:72: warning: passing arg 2 of `pam_get_user' from incompatible
pointer type
pam_krb5_auth.c:77: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
pam_krb5_auth.c:129: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
pam_krb5_auth.c:148: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
pam_krb5_auth.c:166: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
pam_krb5_auth.c: In function `pam_sm_setcred':
pam_krb5_auth.c:291: warning: assignment discards qualifiers from pointer target
type
pam_krb5_auth.c:295: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
pam_krb5_auth.c:300: warning: passing arg 3 of `pam_get_item' from incompatible
pointer type
pam_krb5_auth.c:418: error: `errno' undeclared (first use in this function)
pam_krb5_auth.c:418: error: (Each undeclared identifier is reported only once
pam_krb5_auth.c:418: error: for each function it appears in.)
make: *** [pam_krb5_auth.o] Error 1
 
!!! ERROR: app-crypt/pam_krb5-1.0 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)
Comment 1 David Stubbs 2003-11-06 03:21:47 UTC
Created attachment 20331 [details, diff]
New ebuild for 1.3-r7

This is an updated ebuild for pam_krb5 that builds the 1.3-rc7 from
sourceforge.
Comment 2 David Stubbs 2003-11-06 03:22:22 UTC
Created attachment 20332 [details, diff]
Patch file for 1.3-rc7
Comment 3 Shawn Leas 2003-12-16 07:15:02 UTC
One hack is to temporarily place "#include <errno.h>" in /usr/include/stdio.h.

Don't leave it there, though.
Comment 4 Wes Kurdziolek 2004-01-03 15:04:43 UTC
Bug #35059 duplicates this bug, but I put three patches there that fix the 1.0 ebuild w/o using an new version.
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-15 12:03:13 UTC

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