Bug 1145 - cross compiling openssh 4.2p1 fails for linux targets
Summary: cross compiling openssh 4.2p1 fails for linux targets
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 4.2p1
Hardware: Other All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 22:58 AEDT by Mike Frysinger
Modified: 2006-10-07 11:44 AEST (History)
0 users

See Also:


Attachments
openssh-4.2_p1-cross-compile.patch (1.00 KB, patch)
2006-01-29 23:03 AEDT, Mike Frysinger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2006-01-29 22:58:46 AEDT
the openpty() test uses AC_TRY_RUN() but does not provide fallback code when cross-compiling

the etc_default_login test has some code to handle cross-compiling, but it is placed at the wrong location so it fails as well
Comment 1 Mike Frysinger 2006-01-29 23:03:29 AEDT
Created attachment 1059 [details]
openssh-4.2_p1-cross-compile.patch
Comment 2 Darren Tucker 2006-01-29 23:23:19 AEDT
I think those are already fixed in -current?
Comment 3 Mike Frysinger 2006-01-29 23:38:46 AEDT
i checked version 4.2p1 and couldnt seem to find configure.ac in the anoncvs ...

but you're right, the latest snap has both of these fixed

sorry for the noise
Comment 4 Darren Tucker 2006-01-30 00:04:39 AEDT
Well thanks anyway.

There's apparently a problem with the anoncvs server that can't be fixed for some time.  If you really need cvs ops, you can rsync the cvsroot from mindrot and do the ops locally (see http://www.mindrot.org/portable-openssh.html#rsync, the entire thing is around 20MB).
Comment 5 Darren Tucker 2006-10-07 11:44:10 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.