Opened 12 years ago

Closed 11 years ago

#38824 closed defect (wontfix)

OpenSSH Build Fail with hpn and gsskex Varian

Reported by: cecilyen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager), nonstop.server@…
Port: openssh

Description (last modified by mf2k (Frank Schima))

I tried to upgrade my OpenSSH with hpn and gsskex. But, MacPort fail to build OpenSSH with the error message log below.

:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-6.1p1" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/openssh/files/apple-keychain.patch'
:info:patch Exit code: 1
:error:patch org.macports.patch for port openssh returned: command execution failed
:debug:patch Error code: CHILDSTATUS 69798 1
:debug:patch Backtrace: command execution failed
    while executing
"system $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 35)
    invoked from within
"$procedure $targetname"
:info:patch Warning: targets not executed for openssh: org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:patch Please see the log file for port openssh for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/main.log

Attachments (2)

main.log (62.7 KB) - added by cecilyen@… 12 years ago.
error log
readconf.c.rej (1.2 KB) - added by cecilyen@… 12 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: openssh hpn removed
Port: openssh added
Resolution: invalid
Status: newclosed

In the future, please use WikiFormatting and fill in the Port field.

This is not enough information to work with. Please clean the port and try the install again. If it fails, re-open the ticket and attach the complete main.log.

Changed 12 years ago by cecilyen@…

Attachment: main.log added

error log

comment:2 Changed 12 years ago by cecilyen@…

Sorry for the confusion. I tried to clean and install OpenSSH with +hpn+gsskex few times in two days. None of them work successfully. Intriguingly, OpenSSH built ok if no varian or only +gsskex was provided though. With solely +hpn, it was the same as no varian.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: closedreopened

comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)

This is the part of the log that seems immediately relevant:

:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-6.1p1" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/openssh/files/apple-keychain.patch'
:info:patch Exit code: 1

This is the failure it was referring to:

:info:patch patching file readconf.c
:info:patch Hunk #1 FAILED at 137.
:info:patch Hunk #2 FAILED at 260.
:info:patch Hunk #3 succeeded at 1123 (offset 44 lines).
:info:patch Hunk #4 FAILED at 1293.
:info:patch Hunk #5 succeeded at 1497 (offset 75 lines).
:info:patch 3 out of 5 hunks FAILED -- saving rejects to file readconf.c.rej

Could you upload the readconf.c.rej file for us?

Changed 12 years ago by cecilyen@…

Attachment: readconf.c.rej added

comment:5 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

We have other open tickets about patch failures with the openssh port...

comment:7 Changed 12 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

comment:8 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: wontfix
Status: reopenedclosed

The patches for +hpn and +gsskex conflict. The variants have been marked conflicting – unfortunately you cannot use +hpn+gsskex from MacPorts at the moment. If you want to work on this and provide a patch that does both, that's always welcome.

Note: See TracTickets for help on using tickets.