Hi, Thorsten.

I was looking at a build failure for libpam-unix2 in the latest Debian
build environment, and discovered that the problem is that it is using a
set of lock macros no longer provided by libc.  I fetched the latest
version from <URL: ftp://ftp.suse.com/pub/people/kukuk/pam/pam_unix2/ >.

This is the build error with version 2.6:

read-files.c: In function 'files_getspnam_r':
read-files.c:344:3: warning: implicit declaration of function 
'__libc_lock_define_initialized' [-Wimplicit-function-declaration]
read-files.c:344:35: error: expected expression before 'static'
read-files.c:345:3: error: expected ';' before 'enum'
read-files.c:348:3: warning: implicit declaration of function 
'__libc_lock_lock' [-Wimplicit-function-declaration]
read-files.c:348:21: error: 'lock' undeclared (first use in this function)
read-files.c:348:21: note: each undeclared identifier is reported only once for 
each function it appears in
read-files.c:350:3: error: 'status' undeclared (first use in this function)
read-files.c:364:3: warning: implicit declaration of function 
'__libc_lock_unlock' [-Wimplicit-function-declaration]
read-files.c: In function 'files_getpwnam_r':
read-files.c:374:35: error: expected expression before 'static'
read-files.c:375:3: error: expected ';' before 'enum'
read-files.c:378:21: error: 'lock' undeclared (first use in this function)
read-files.c:380:3: error: 'status' undeclared (first use in this function)
read-files.c:397:1: warning: control reaches end of non-void function 
[-Wreturn-type]
read-files.c: In function 'files_getspnam_r':
read-files.c:367:1: warning: control reaches end of non-void function 
[-Wreturn-type]

Perhaps time to make a new release?

If you consider making a new release, please see if some of the Debian
patches available from
<URL: http://sources.debian.net/src/libpam-unix2/1:2.4.1-6/debian/patches >
should be included.  All of them seem to apply cleanly to 2.6 even if
they were written for 2.4.1.

Information about the Debian package is available from
<URL: http://packages.qa.debian.org/libp/libpam-unix2.html >.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to