Bug 954 - configure w/PAM & tcp_wrapper crashes on Irix 6.5
Summary: configure w/PAM & tcp_wrapper crashes on Irix 6.5
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 3.8.1p1
Hardware: MIPS IRIX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 07:25 AEDT by Carl Kemp
Modified: 2006-10-07 11:37 AEST (History)
0 users

See Also:


Attachments
Output of Attempted configure under Irix 6.5 (57.12 KB, text/plain)
2004-11-17 07:28 AEDT, Carl Kemp
no flags Details
output of configure for 3.9p1 (76.69 KB, text/plain)
2004-11-17 10:27 AEDT, Carl Kemp
no flags Details
Output of configure w/o privsep (69.20 KB, text/plain)
2004-11-20 07:18 AEDT, Carl Kemp
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Kemp 2004-11-17 07:25:44 AEDT
When trying to configure w/PAM & tcp wrappers, the configure script crashes 
while executing config.status. I will attach script output as a separate 
attachment.
Comment 1 Carl Kemp 2004-11-17 07:28:53 AEDT
Created attachment 740 [details]
Output of Attempted configure under Irix 6.5
Comment 2 Darren Tucker 2004-11-17 09:12:51 AEDT
That looks like some autoconf or shell wackiness.  Does the same thing occur
witn 3.9p1?  It uses a newer version of autoconf.

Also worth trying: CONFIG_SHELL=/bin/ksh ./configure [options]
Comment 3 Carl Kemp 2004-11-17 10:26:09 AEDT
Both options you suggested also failed. Attaching output of configure.
Comment 4 Carl Kemp 2004-11-17 10:27:22 AEDT
Created attachment 741 [details]
output of configure for 3.9p1
Comment 5 Darren Tucker 2004-11-17 10:54:53 AEDT
Comment on attachment 741 [details]
output of configure for 3.9p1


>sh-2.05b# ./configure --prefix=/usr/openssh-$SSH_VERSION \
>    --with-zlib=/usr/openssh-$SSH_VERSION --with-pam \
>    --with-ssl-dir=/usr/openssh-$SSH_VERSION --with-tcp-wrappers=/usr/wrapper \
>    --with-cppflags="-I/usr/freeware/include -I/usr/freeware/include/security" \
>    --with-l dflags="-L/usr/freeware/lib32"

I assume this is a typo?

>    --with-privsep

This isn't a valid option.

Is it caused by any particular option?	If you remove them one at a time does
it begin to work at some point?  Also:

> ./config.status[310]: syntax error at line 310 : `)' unexpected
[...]
> 309:INSTALL="./install-sh -c"
> 310:311:    ac_cs_recheck=: ;;
> 312: 

The same line-doubling is in the first copy too.  Are you building these from a
script?  If so, does it have any embedded newlines/CRs/backspaces?
Comment 6 Carl Kemp 2004-11-20 07:18:24 AEDT
Created attachment 742 [details]
Output of configure w/o privsep
Comment 7 Carl Kemp 2004-11-20 07:19:51 AEDT
If I delete both PAM and tcp_wrappers, it does work, but leaving either one in 
crashes it.
Comment 8 Damien Miller 2004-12-06 17:05:35 AEDT
This looks like an autoconf bug. Maybe you could try one of the development
autoconf versions at ftp://alpha.gnu.org/pub/gnu/autoconf/ ?

I don't think any of the developers have regular access to Irix to debug this.
Comment 9 Darren Tucker 2005-03-31 23:21:09 AEST
Something else worth trying:

$ CONFIG_SHELL=/bin/ksh
$ export CONFIG_SHELL
$ /bin/ksh ./configure [options]

(or replace /bin/ksh with /path/to/bash if you have it).
Comment 10 Damien Miller 2005-11-06 03:54:37 AEDT
seven months, no reply == no bug
Comment 11 Darren Tucker 2006-10-07 11:37:57 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.