openssh +hpn variant builds fail

Adam Mercer ram at macports.org
Fri Dec 28 04:43:54 PST 2007


On Dec 27, 2007 10:25 PM, David L Ballenger <dlb at davidlballenger.com> wrote:

> I successfully applied to that patch to a local copy of the Portfile
> but still got the same errors.  I then commented out the
> "patch.pre_args -p1" command/option in the hpn variant. That allowed
> some patches specified by patch-pwdup.diff to be applied but not those
> specified in  of the /openssh-4.7p1-hpn12v18.diff.gz patch file or
> the /openssh-4.7p1-hpn12v19.diff.gz patch file.  Finally I went back
> to the Portfile and instead of commenting out "patch.pre_args -p1"
> command/option in the hpn variant, I removed the "-p1".  This seems to
> be working, all patches apply and the installed ssh with hpn support
> seems to be working.

I think that removing the -p1 from the patch.pre_args will cause the
patch not the be applied, looking at the debug output of the install
seems to confirm this.

> Was there a change to patch in Leopard? Last time I did an OpenSSH
> install on Tiger, back in Oct it ran fine.  Haven't had a chance to
> try it again on Tiger to see if I get the same problem.

the patch-pwdup.diff is applied on Leopard to fix the "percent_expand:
NULL replacement" error you get when the identify file isn't
specified, this is the current upstream proposed fix which
unfortunately conflicts with the high-performance patch. So at the
moment, the hpn variant won't work on Leopard. I'll see if get the two
patches playing nicely together.

Cheers

Adam


More information about the macports-users mailing list