Your message dated Tue, 12 Feb 2013 06:17:41 +0000
with message-id <[email protected]>
and subject line Bug#693450: fixed in pam 1.1.3-8
has caused the Debian Bug report #693450,
regarding pam: FTBFS with eglibc 2.16: Missing includes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
693450: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693450
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pam
Version: 1.1.3-7.1
Severity: wishlist
User: [email protected]
Usertags: port-x32 ftbfs-eglibc2-16

On my x32 port build of pam, I'm getting this failure:

/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -
I../..   -D_FORTIFY_SOURCE=2 -I../../libpam/include -I../../libpamc/include -
DCHKPWD_HELPER=\"/sbin/unix_chkpwd\" -DUPDATE_HELPER=\"/sbin/unix_update\" -
D"WITH_SELINUX" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -
Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -W -Wall -
Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-
prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -
Winline -Wshadow -c -o pam_unix_acct.lo pam_unix_acct.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -
I../../libpam/include -I../../libpamc/include -
DCHKPWD_HELPER=\"/sbin/unix_chkpwd\" -DUPDATE_HELPER=\"/sbin/unix_update\" -
DWITH_SELINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -
Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -W -Wall -
Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-
prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -
Winline -Wshadow -c pam_unix_acct.c  -fPIC -DPIC -o .libs/pam_unix_acct.o
pam_unix_acct.c: In function '_unix_run_verify_binary':
pam_unix_acct.c:97:19: error: storage size of 'rlim' isn't known
pam_unix_acct.c:106:5: warning: implicit declaration of function 'getrlimit' 
[-Wimplicit-function-declaration]
pam_unix_acct.c:106:19: error: 'RLIMIT_NOFILE' undeclared (first use in this 
function)
pam_unix_acct.c:106:19: note: each undeclared identifier is reported only once 
for each function it appears in
pam_unix_acct.c:97:19: warning: unused variable 'rlim' [-Wunused-variable]
make[4]: *** [pam_unix_acct.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/pam-1.1.3/modules/pam_unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/pam-1.1.3/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/pam-1.1.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/pam-1.1.3'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This is because the port is using eglibc 2.16 (which only has packaging 
available from SVN currently, hence this bug is wishlist for now), and the 
error is likely to affect all architectures once eglibc 2.16 eventually hits 
unstable.  The attached debdiff fixes the compilation errors for me.
-- 
Daniel Schepler
diff -u pam-1.1.3/debian/changelog pam-1.1.3/debian/changelog
--- pam-1.1.3/debian/changelog
+++ pam-1.1.3/debian/changelog
@@ -1,3 +1,9 @@
+pam (1.1.3-7.1+x32) UNRELEASED; urgency=low
+
+  * Add missing #include to fix compilation with glibc 2.16.
+
+ -- Daniel Schepler <[email protected]>  Sat, 11 Aug 2012 16:04:48 -0700
+
 pam (1.1.3-7.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u pam-1.1.3/debian/patches-applied/series pam-1.1.3/debian/patches-applied/series
--- pam-1.1.3/debian/patches-applied/series
+++ pam-1.1.3/debian/patches-applied/series
@@ -27,0 +28 @@
+glibc-2_16-compilation-fix.patch
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
only in patch2:
unchanged:
--- pam-1.1.3.orig/debian/patches-applied/glibc-2_16-compilation-fix.patch
+++ pam-1.1.3/debian/patches-applied/glibc-2_16-compilation-fix.patch
@@ -0,0 +1,24 @@
+Index: pam-1.1.3/modules/pam_unix/pam_unix_acct.c
+===================================================================
+--- pam-1.1.3.orig/modules/pam_unix/pam_unix_acct.c	2012-08-11 23:05:09.000000000 +0000
++++ pam-1.1.3/modules/pam_unix/pam_unix_acct.c	2012-08-11 23:05:29.000000000 +0000
+@@ -47,6 +47,7 @@
+ #include <time.h>		/* for time() */
+ #include <errno.h>
+ #include <sys/wait.h>
++#include <sys/resource.h>
+ 
+ #include <security/_pam_macros.h>
+ 
+Index: pam-1.1.3/modules/pam_unix/pam_unix_passwd.c
+===================================================================
+--- pam-1.1.3.orig/modules/pam_unix/pam_unix_passwd.c	2012-08-11 23:05:29.000000000 +0000
++++ pam-1.1.3/modules/pam_unix/pam_unix_passwd.c	2012-08-11 23:09:06.000000000 +0000
+@@ -54,6 +54,7 @@
+ #include <ctype.h>
+ #include <sys/time.h>
+ #include <sys/stat.h>
++#include <sys/resource.h>
+ #include <rpc/rpc.h>
+ #ifdef HAVE_RPCSVC_YP_PROT_H
+ #include <rpcsvc/yp_prot.h>

--- End Message ---
--- Begin Message ---
Source: pam
Source-Version: 1.1.3-8

We believe that the bug you reported is fixed in the latest version of
pam, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Langasek <[email protected]> (supplier of updated pam package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 12 Feb 2013 05:36:29 +0000
Source: pam
Binary: libpam0g libpam-modules libpam-modules-bin libpam-runtime libpam0g-dev 
libpam-cracklib libpam-doc
Architecture: source amd64 all
Version: 1.1.3-8
Distribution: unstable
Urgency: low
Maintainer: Steve Langasek <[email protected]>
Changed-By: Steve Langasek <[email protected]>
Description: 
 libpam-cracklib - PAM module to enable cracklib support
 libpam-doc - Documentation of PAM
 libpam-modules - Pluggable Authentication Modules for PAM
 libpam-modules-bin - Pluggable Authentication Modules for PAM - helper binaries
 libpam-runtime - Runtime support for the PAM library
 libpam0g   - Pluggable Authentication Modules library
 libpam0g-dev - Development files for PAM
Closes: 648695 693450 693995 699159
Changes: 
 pam (1.1.3-8) unstable; urgency=low
 .
   * Confirm NMU for bug #611136; thanks to Michael Gilbert.
     - As a side effect, there will no longer be errors from reading the
       .pam_environment twice since we are now reading it 0 times.
       LP: #955032.
   * Adjust the pam_env documentation to match the module behavior resulting
     from the previous security upload.  Closes: #693995.
   * debian/rules: never regenerate manpages at build time; this may cause
     build skew that breaks the world in a multiarch context.  LP: #1095887.
   * debian/patches-applied/glibc-2_16-compilation-fix.patch: fix missing
     include causing build failure with eglibc 2.16.  Thanks to Daniel
     Schepler <[email protected]>.  Closes: #693450.
   * Ditch autoconf patch in favor of a build-dependency on dh-autoreconf,
     which will let us keep up-to-date with newer autotools.  In the present
     instance, this gets us aarch64 support.
   * Install pam_timestamp_check - and while we're at it, move the manpage
     to the correct binary package.  Closes: #648695.
   * Update lintian overrides to suppress some noise about hardening and
     manpages.
   * Enable audit support, by popular demand.  This should have no major
     impact unless you're also running auditd; but I reserve the right to
     disable this again in the event that this causes a performance hit or
     breaks upgrades (since the dependency is pulled into libpam, not just
     into pam_tty_audit).  Closes: #699159, LP: #937005.
Checksums-Sha1: 
 0684707506b07b7c2ccbac4b79ae4370e9b1bbb6 2433 pam_1.1.3-8.dsc
 f134a8fdcd935151f3ec37a2d3b25edcf85901cd 179313 pam_1.1.3-8.diff.gz
 3fdeccc85b17a67c6dd1e69fa4cbdd5a51f4ae6f 130004 libpam0g_1.1.3-8_amd64.deb
 47c044a7ce284a9c3c8d3bf48140166a2552e870 354084 
libpam-modules_1.1.3-8_amd64.deb
 271d28fc190f6e1c76155a81d87f7321efcf0bc3 118254 
libpam-modules-bin_1.1.3-8_amd64.deb
 93c0626979b87eebe6ac6ebb10700141a2f6e9e6 222208 libpam-runtime_1.1.3-8_all.deb
 599817396cbc3ab662c7072cb54531cc5769a0b2 193202 libpam0g-dev_1.1.3-8_amd64.deb
 ab596c70804f59912fdbee40cdbe5bf87d5d3339 84560 
libpam-cracklib_1.1.3-8_amd64.deb
 b67b153454768bc467f766c55ad64f81b188a88e 104346 libpam-doc_1.1.3-8_all.deb
Checksums-Sha256: 
 9ca5b79fda8aa05414f509f6aae8836969e96960b5a6f31568bc593749117576 2433 
pam_1.1.3-8.dsc
 0202af9d30f7312a07543daca052e2133a077977dc75f38a688270a100c8014c 179313 
pam_1.1.3-8.diff.gz
 96836deace34e951b631116dd9a60181c8d429761fac54ca0339ad106aa68141 130004 
libpam0g_1.1.3-8_amd64.deb
 5d8dd5e589054e9472f3dd70f19e7115fb1b3bc9072fecd4a479cc2fd44dea96 354084 
libpam-modules_1.1.3-8_amd64.deb
 16453fc9e225f8e395c6bf0b1f94b9b252466bed8c36940868b036f013e21f83 118254 
libpam-modules-bin_1.1.3-8_amd64.deb
 8b7f78fa638c8bcce89d5b629d84c9250d63cf9afa2d87fda929bf9d0a7f57f4 222208 
libpam-runtime_1.1.3-8_all.deb
 3ae1000f0b5d44d9c5e146ed403604e1e5f493ba35f8fdafee4615efe8bfc203 193202 
libpam0g-dev_1.1.3-8_amd64.deb
 7a3dddc395af9456afdee2e294662929424ebd47889e6df4e2d868dee7ddb2dd 84560 
libpam-cracklib_1.1.3-8_amd64.deb
 9a2a4bca85f15faac87d6a54d1ff28c40f61acd7d7c7c031489528173f47dceb 104346 
libpam-doc_1.1.3-8_all.deb
Files: 
 a66a4307e4963a091654c6929c568359 2433 libs optional pam_1.1.3-8.dsc
 256c661054f74b3076f2f9e2aaa90e7b 179313 libs optional pam_1.1.3-8.diff.gz
 1d8887f6b751abaa5b4ceb7c36ecf007 130004 libs required 
libpam0g_1.1.3-8_amd64.deb
 d8417dd801d327e6405af7854ea94204 354084 admin required 
libpam-modules_1.1.3-8_amd64.deb
 9b52356e51755cfb382fc33ef562ee20 118254 admin required 
libpam-modules-bin_1.1.3-8_amd64.deb
 c0fa3bb0a6741ab76c585eedff3930f1 222208 admin required 
libpam-runtime_1.1.3-8_all.deb
 54a0a40cc80097cc9f43952435ae4da7 193202 libdevel optional 
libpam0g-dev_1.1.3-8_amd64.deb
 faceebfb814c8051610395a45a151c3c 84560 admin optional 
libpam-cracklib_1.1.3-8_amd64.deb
 c8c2a9f026a2f4988c55c826f87b263f 104346 doc optional libpam-doc_1.1.3-8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRGdsJAAoJEFaNMPMhshM9nzcP/0cl6w+y9wdWUFT6VNx4Pwo2
ABU0GBwrBaK0wVa9eyx8NtKMG4lsutkeZxrN1PTwl6RQuNQ/Fy+HNUBoRLcZVMmU
D/lUZgmecDMoCi/6EMndFzl8XcKiLVWOsLYJ3IFOtMoy5jVAVPW8affYjkaqWo25
8qneN/nAEfawNwUp+wljlBFKFRG/g3q0x8hXY/fLzlsGKTOv9iuG7UNlQXDfDiwu
hqvUaymo50+RDHlSAwPqev7TQWrBUXGjLC3daFmOaq1SGYJ8vMDiRXyCgTKSiVMM
If7L8jE6nuMYEf4uiR0H1u7x+rqCZLaZOpD92rDHLOSVK2pjfhcJeX/u00x5bGuM
TLIjwhEAQabAlI9QzeOgId/LL3OnWxdtZ7ajoj50urROrfOeRml1kZ+qTxDsLJ97
sIMwfNB2l2Jka2Bu8IgcD7nTKglr+SLkzMyrAzNuZc+mrwwnVvNM03QJlyYB69cC
gL6JZn48yKtmEUrnw2+NsIwGxt+UCNe5mW5zAyj/reZESrJIOcaOLg5WvIVsgHvn
gi/II1OZi/YlQgqGs9YyfLsere+n2tlW+aH7r5QIU1jkyOauXWm6jnyMgnwfclCq
+gcvB1HjP67c1pfhf0Pkp3FsLYm7yEBhAyKRcLXAwk2smV+LkX3blfg3IHtlUhnR
gPfaOY1luozqKcrJTWVi
=OZTr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to