Package: pam
Version: 0.79-3
Severity: important

Hi,

there was a problem autobuilding your package:

Automatic build of pam_0.79-3 on beethoven by sbuild/hurd-i386 69
Build started at 20051010-1316
******************************************************************************
Checking available source versions...
Fetching source files...
Reading Package Lists...
Building Dependency Tree...
Need to get 622kB of source archives.
Get:1 http://ftp2.de.debian.org unstable/main pam 0.79-3 (dsc) [937B]
Get:2 http://ftp2.de.debian.org unstable/main pam 0.79-3 (tar) [492kB]
Get:3 http://ftp2.de.debian.org unstable/main pam 0.79-3 (diff) [129kB]
Fetched 622kB in 0s (641kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: cracklib2-dev (>= 2.7-9), bzip2, debhelper, patch, libdb4.3-dev, 
libcap-dev [!hurd-i386 !freebsd-i386 !netbsd-i386], libselinux1-dev [!hurd-i386 
!freebsd-i386 !netbsd-i386]
Build-Depends-Indep: linuxdoc-tools, linuxdoc-tools-latex,  tetex-extra, groff, 
opensp
[...]
Checking correctness of source dependencies...
Toolchain package versions: libc0.3-dev_2.3.5-6 gcc-4.0_4.0.1-9 g++-4.0_4.0.1-4 
binutils_2.16.1-2 libstdc++6-4.0-dev_4.0.1-4 libstdc++6_4.0.1-4
------------------------------------------------------------------------------
dpkg-source: extracting pam in pam-0.79
dpkg-source: unpacking pam_0.79.orig.tar.gz
dpkg-source: applying /org/buildd/build/pam_0.79-3.diff.gz
dpkg-buildpackage: source package is pam
dpkg-buildpackage: source version is 0.79-3
dpkg-buildpackage: host architecture hurd-i386
[...]
 debian/rules build
touch Linux-PAM/configure
cd Linux-PAM && \
./configure --sysconfdir=/etc --prefix=/usr --enable-static-libpam \
--mandir=/usr/share/man --infodir=/usr/share/info --libdir=/lib \
--sbindir=/sbin --enable-docdir=/usr/share/doc/libpam-doc \
--with-mailspool=/var/mail
[...]
checking for getfilecon in -lselinux... no
[...]
configure: creating ./config.status
config.status: creating Make.Rules
config.status: creating _pam_aconf.h
touch configure-stamp
dh_testdir
# Compile everything else
/usr/bin/make -C Linux-PAM OS_CFLAGS="-g -D_GNU_SOURCE -D_REENTRANT -fPIC -O2"
[...]
make[3]: Entering directory 
`/build/buildd/pam-0.79/Linux-PAM/modules/pam_rootok'
mkdir -p ./dynamic
gcc -Wall -Wwrite-strings       -Wpointer-arith -Wcast-qual -Wcast-align        
-Wstrict-prototypes -Wmissing-prototypes        -Wnested-externs -Winline 
-Wshadow -Dgnu -g -O2  -g -D_GNU_SOURCE -D_REENTRANT -fPIC -O2 -I./include 
-I/build/buildd/pam-0.79/Linux-PAM/libpam/include 
-I/build/buildd/pam-0.79/Linux-PAM 
-I/build/buildd/pam-0.79/Linux-PAM/libpamc/include  -fPIC -DWITH_SELINUX 
-I../pammodutil/include -DPAM_DYNAMIC  -c pam_rootok.c -o dynamic/pam_rootok.o
pam_rootok.c:9:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
pam_rootok.c:43:29: error: selinux/selinux.h: No such file or directory
pam_rootok.c:44:36: error: selinux/av_permissions.h: No such file or directory
pam_rootok.c: In function 'pam_sm_authenticate':
pam_rootok.c:82: warning: implicit declaration of function 'is_selinux_enabled'
pam_rootok.c:82: warning: nested extern declaration of 'is_selinux_enabled'
pam_rootok.c:82: warning: implicit declaration of function 
'selinux_check_passwd_access'
pam_rootok.c:82: warning: nested extern declaration of 
'selinux_check_passwd_access'
pam_rootok.c:82: error: 'PASSWD__ROOTOK' undeclared (first use in this function)
pam_rootok.c:82: error: (Each undeclared identifier is reported only once
pam_rootok.c:82: error: for each function it appears in.)
make[3]: *** [dynamic/pam_rootok.o] Error 1
make[3]: Leaving directory `/build/buildd/pam-0.79/Linux-PAM/modules/pam_rootok'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/build/buildd/pam-0.79/Linux-PAM/modules'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/build/buildd/pam-0.79/Linux-PAM'
make: *** [build-stamp] Error 2
******************************************************************************
Build finished at 20051010-1321
FAILED [dpkg-buildpackage died]

I believe this snippet from 057_selinux is the culprit, as it does not
conditionalize -DWITH_SELINUX depending on what configure does:

--- Linux-PAM/modules/pam_rootok/Makefile       (revision 337)
+++ Linux-PAM/modules/pam_rootok/Makefile       (working copy)
@@ -13,3 +13,6 @@
 TITLE=pam_rootok

 include ../Simple.Rules
+
+CFLAGS += -DWITH_SELINUX
+LINK_PAMMODUTILS += -lselinux

(a similar one for pam_unix/Makefile exists which probably needs
modification as well, as pam_unix seems to get built after pam_rootok)

cheers,

Michael

-- 
Michael Banck
Debian Developer
[EMAIL PROTECTED]
http://www.advogato.org/person/mbanck/diary.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to