Bug#701308: pam-unix2 no longer build with latest glibc headers

2013-07-02 Thread Petter Reinholdtsen
[Thorsten Kukuk]
  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/ .
 
 Didn't know that this directory exists again ...

Hehe.  Is there a better upstream source for the package?

 There were some newer releases, all can be found in the openSUSE
 project:
 https://build.opensuse.org/package/show/Linux-PAM/pam-modules
 
 But yes, the lock-problem is only solved with a patch, too.

Perhaps time to wrap up a new release with all the patches in place?

Note, the Debian package got some security fixes for the pam_prompt()
and pam_syslog() handling.  Check the source via
URL: http://packages.qa.debian.org/libp/libpam-unix2.html .  You might
want to include them too in a new release.

-- 
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



Bug#701308: pam-unix2 no longer build with latest glibc headers

2013-07-02 Thread Thorsten Kukuk

Hi Petter,

On Mon, Jul 01, Petter Reinholdtsen wrote:

 
 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/ .

Didn't know that this directory exists again ...

 This is the build error with version 2.6:
 Perhaps time to make a new release?

There were some newer releases, all can be found in the openSUSE
project:
https://build.opensuse.org/package/show/Linux-PAM/pam-modules

But yes, the lock-problem is only solved with a patch, too.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)


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



Bug#701308: pam-unix2 no longer build with latest glibc headers

2013-07-01 Thread Petter Reinholdtsen

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