Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 18770

Summary: openafs fails to emerge due to problem with test_pam.c
Product: Gentoo Linux Reporter: dsignoff
Component: Current packagesAssignee: Brad Cowan (RETIRED) <bcowan>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description dsignoff 2003-04-04 17:36:22 UTC
When I try to emerge openafs it fails due to problems with test_pam.c see full
error message under actual results

Reproducible: Always
Steps to Reproduce:
1.emerge openafs
2.
3.

Actual Results:  
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from /usr/include/sys/unistd.h:1,
                 from test_pam.c:19:
/usr/include/sys/unistd.h:1:10: #include nested too deeply
test_pam.c:26: warning: initialization from incompatible pointer type
test_pam.c: In function `main':
test_pam.c:100: warning: passing arg 1 of `putenv' discards qualifiers from
pointer target type
test_pam.c:101: warning: passing arg 1 of `putenv' discards qualifiers from
pointer target type
test_pam.c:42: warning: return type of `main' is not `int'
test_pam.c: In function `my_conv':
test_pam.c:131: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
test_pam.c:131: warning: passing arg 2 of `memcpy' makes pointer from integer
without a cast
test_pam.c:131: warning: passing arg 1 of `__strdup' makes pointer from integer
without a cast
make[3]: *** [test_pam.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2/src/pam'
make[2]: *** [login] Error 2
make[2]: Leaving directory `/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/var/tmp/portage/openafs-1.3.2-r1/work/openafs-1.3.2'
make: *** [all] Error 2
 
!!! ERROR: net-fs/openafs-1.3.2-r1 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)


Expected Results:  
Installed openafs
Comment 1 Aric LeDell 2003-04-06 20:41:57 UTC
There is a simple one-line patch that fixes the compilation error in bug# 18658
Comment 2 dsignoff 2003-04-06 20:54:29 UTC
How do I change that make file (where is it?)
Comment 3 dsignoff 2003-04-07 00:02:57 UTC
Got it all fixed.  Thanks guys.
Comment 4 Brad Cowan (RETIRED) gentoo-dev 2003-05-05 01:53:53 UTC

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