[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Broken PAM source?



On 28 Mar, Andrew Morgan wrote:
> tom@jeeves.seaslug.org wrote:
>> A tail of the error messages looks like this:
>> 
>> gcc  -pipe -g -DLINUX_PAM  -ansi -D_POSIX_SOURCE -Wall
>> -Wwrite-strings -Wpointer
>> -arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes
>> -Wmissing-prot
>> otypes -Wnested-externs -Winline -Wshadow -pedantic
>> -I/usr/home/thos/security/pa
>> m/Linux-PAM-0.64/include -fPIC -Dlinux -Di386 i586 i486 i386 noarch
>                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> This looks a little suspicious.
> 
>> -DPAM_DYNAMI
>> C   -c pam_lastlog.c -o dynamic/pam_lastlog.o
>> gcc: i586: No such file or directory
>> gcc: i486: No such file or directory
>> gcc: i386: No such file or directory
>> gcc: noarch: No such file or directory
>> make[2]: *** [dynamic/pam_lastlog.o] Error 1

The bug is in default.defs. The diff is:

--- default.defs.old    Sun Mar 28 11:16:16 1999
+++ default.defs        Sun Mar 28 11:16:22 1999
@@ -9,7 +9,7 @@
 # This file is the version used for Red Hat Linux.
 
 OS=linux
-ARCH=$(shell rpm --showrc | grep 'build arch' | sed 's/^.*: //g')
+ARCH=$(shell rpm --showrc | grep '^build arch' | sed 's/^.*: //g')
 CC=gcc
 INSTALL=install
 MKDIR=mkdir -p


This is beacues 'rpm --showrc' also outputs a line with "compatible
build archs":-)

	/MaF

PS I found this bug yesterday and was going to report it today...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []