Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

$openssh failed to build openssh --with-brewed-openssl --with-keychain-support on 10.8.5 #27134

Closed
fifeeliz1 opened this issue Mar 2, 2014 · 1 comment

Comments

@fifeeliz1
Copy link

brew install openssh --with-brewed-openssl --with-keychain-support fails to install on 10.8.5
Install is successful when --with-keychain-support is omitted

Any help would be appreciated (xcode is installed and working)

c) Brew Doctor shows Your system is ready to brew.
and
b) ~/Library/Logs/Homebrew/openssh has no entries

a) HOMEBREW_MAKE_JOBS=1 brew install -v openssh --with-brewed-openssl --with-keychain-support 2>&1
Has the following output

==> Downloading http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.5p1.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssh-6.5p1.tar.gz
==> Verifying openssh-6.5p1.tar.gz checksum
tar xf /Library/Caches/Homebrew/openssh-6.5p1.tar.gz
==> Downloading patches
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 1.8.7-358; Mac OS X 10.8.5) https://trac.macports.org/export/112514/trunk/dports/net/openssh/files/0002-Apple-keychain-integration-other-changes.patch -o 000-homebrew.diff https://gist.github.com/kruton/8120594/raw/74cab9ac1fa02505547a6afd7cf5e6b2b2428ed8/gistfile1.txt -o 001-homebrew.diff
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 70217 100 70217 0 0 191k 0 --:--:-- --:--:-- --:--:-- 206k
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 408 0 0 273 0 --:--:-- 0:00:01 --:--:-- 1406
==> Patching
/usr/bin/patch -g 0 -f -p1 -i 000-homebrew.diff
patching file Makefile.in
Hunk #2 FAILED at 94.
Hunk #3 succeeded at 134 (offset 4 lines).
Hunk #4 succeeded at 148 (offset 4 lines).
Hunk #5 succeeded at 273 (offset 4 lines).
1 out of 5 hunks FAILED -- saving rejects to file Makefile.in.rej
patching file audit-bsm.c
patching file auth-pam.c
Hunk #1 succeeded at 791 (offset 2 lines).
patching file auth.c
patching file authfd.c
Hunk #1 succeeded at 636 (offset -51 lines).
patching file authfd.h
patching file config.h.in
Hunk #1 FAILED at 75.
1 out of 1 hunk FAILED -- saving rejects to file config.h.in.rej
patching file configure.ac
Hunk #1 succeeded at 4777 (offset 229 lines).
patching file groupaccess.c
patching file groupaccess.h
patching file keychain.c
patching file keychain.h
patching file readconf.c
Hunk #1 FAILED at 136.
Hunk #2 FAILED at 251.
Hunk #3 FAILED at 1075.
Hunk #4 FAILED at 1243.
Hunk #5 FAILED at 1397.
5 out of 5 hunks FAILED -- saving rejects to file readconf.c.rej
patching file readconf.h
Hunk #1 FAILED at 137.
1 out of 1 hunk FAILED -- saving rejects to file readconf.h.rej
patching file scp.1
patching file scp.c
patching file servconf.c
Hunk #1 succeeded at 159 (offset 1 line).
Hunk #2 succeeded at 246 (offset 5 lines).
Hunk #3 succeeded at 627 (offset 6 lines).
patching file session.c
Hunk #1 succeeded at 2109 (offset 28 lines).
Hunk #2 succeeded at 2352 (offset 28 lines).
patching file ssh-add.0
patching file ssh-add.1
Hunk #2 succeeded at 117 (offset 1 line).
patching file ssh-add.c
Hunk #2 succeeded at 96 (offset 1 line).
Hunk #3 succeeded at 176 (offset 1 line).
Hunk #4 succeeded at 213 (offset 1 line).
Hunk #5 succeeded at 238 (offset 1 line).
Hunk #6 succeeded at 399 (offset 4 lines).
Hunk #7 succeeded at 427 (offset 4 lines).
Hunk #8 succeeded at 459 (offset 4 lines).
Hunk #9 succeeded at 498 (offset 4 lines).
Hunk #10 succeeded at 536 (offset 4 lines).
patching file ssh-agent.c
Hunk #2 succeeded at 685 (offset -108 lines).
Hunk #3 succeeded at 832 (offset -108 lines).
Hunk #4 succeeded at 1075 (offset -108 lines).
Hunk #5 succeeded at 1113 (offset -108 lines).
Hunk #6 succeeded at 1158 (offset -108 lines).
Hunk #7 succeeded at 1218 (offset -108 lines).
Hunk #8 succeeded at 1286 (offset -108 lines).
Hunk #9 succeeded at 1366 (offset -108 lines).
patching file ssh-keysign.8
Hunk #1 succeeded at 70 with fuzz 2 (offset 1 line).
patching file sshconnect1.c
patching file sshconnect2.c
Hunk #2 succeeded at 1334 (offset 2 lines).
patching file sshd.0
Hunk #1 succeeded at 623 (offset 3 lines).
patching file sshd.8
Hunk #1 succeeded at 959 (offset 5 lines).
patching file sshd.c
Hunk #1 succeeded at 2122 (offset 16 lines).
patching file sshd_config
Hunk #1 succeeded at 33 (offset 1 line).
Hunk #2 succeeded at 66 (offset 1 line).
Hunk #3 succeeded at 93 (offset 1 line).
patching file sshd_config.0
Hunk #1 succeeded at 515 (offset 10 lines).
Hunk #2 succeeded at 721 (offset 14 lines).
patching file sshd_config.5
Hunk #1 succeeded at 869 (offset 15 lines).
Hunk #2 succeeded at 1202 (offset 21 lines).
Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i 000-homebrew.diff

@MikeMcQuaid
Copy link
Member

Sorry, you've submitted this issue to the wrong issue tracker. Please submit it to the tap you've installed this formula from (in this case https://github.com/Homebrew/homebrew-dupes).

Also you have not followed the requested steps on the Troubleshooting page: https://github.com/Homebrew/homebrew/wiki/Troubleshooting

Please follow (all of) these steps and post the information there so we can help you with your problem.

Thanks!

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants