Closed ghost closed 11 years ago
The problem is here: https://github.com/mistydemeo/tigerbrew/blob/master/Library/Formula/openssl.rb#L29
OpenSSL should be passed the correct args by that.
Can you let me know: if you go into brew irb
, what is the result of MacOS.prefer_64_bit?
Oh, it's false!
OK, so that's the source of our misery. I'll fix that upstream in Homebrew and merge in the changes here.
Awesome, thank you! Can you tell me how to grab those changes without a working git?
def prefer_64_bit?
Hardware.is_64_bit? and version != :leopard
end
lol
Not really loving the complete lack of comments on this point, but easy enough to change. Comparison != :leopard
instead of > :leopard
is obviously pretty bad for tigerbrew, so...
Can you tell me how to grab those changes without a working git?
Oh yeah, that stuffs things up doesn't it?
Probably your best course of action is to download the latest source tarball and extract it into your brew --prefix
, letting the contents clobber what was already there.
So basically, a brew reinstall?
Yeah. Don't even need to run the installer, basically the same thing as doing a manual install.
The link, which always gives you the latest source, is: https://github.com/mistydemeo/tigerbrew/archive/master.zip
I'll fix that when I get home and ping you when you can retry.
Thanks again! ...And by the way, does Tiger support 64-bit binaries?
Theoretically, but in practice it's sufficiently limited that I'm actually going to hard disable 64-bit on Tiger and fix the CFLAGS to prevent it being attempted.
@mikemcquaid mentioned that 64-bit Leopard was horribly broken in the past, so that's why it was disabled. Not going to give up yet, but I'm afraid you may have to deal with a lot of brokenness and troubleshooting while we figure this out. We may get this working reliably, we may not, and trying is the only way to find out.
Can you try again please?
brew install openssl ==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz ==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic shar debug-solaris-sparcv9-gcc debug-steve-opt debug-steve32 debug-steve64 debug-ulf debug-vos-gcc
NOTE: If in doubt, on Unix-ish systems use './config'. Configuring for darwin-ppc64-cc
READ THIS: https://github.com/mistydemeo/tigerbrew/wiki/troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:586:in connect': certificate verify failed (OpenSSL::SSL::SSLError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:586:in
connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:553:in do_start' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:542:in
start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:242:in open_http' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:616:in
buffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:164:in open_loop' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in
catch'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in open_loop' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:132:in
open_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:518:in open' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:26:in
open'
from /usr/local/Library/Homebrew/utils.rb:265:in open' from /usr/local/Library/Homebrew/utils.rb:285:in
issues_for_formula'
from /usr/local/Library/Homebrew/exceptions.rb:134:in issues' from /usr/local/Library/Homebrew/exceptions.rb:156:in
dump'
from /usr/local/Library/brew.rb:108
Uh oh. The issue search is failing dramatically because the system Ruby can't grok Github's SSL certs.
Can you post the openssl build logs?
This is starting to make me wonder if we're going to get this working reliably. @mikemcquaid mentioned that the issue is really at the build tools end, and I see that Macports also won't build 64-bit on Leopard.
This is all that was in the build log directory
01.perl
Usage: Configure [no-
pick os/compiler from: BC-32 BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-sparc64 BSD-sparcv8 BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-pre1.3 DJGPP MPE/iX-gcc OS2-EMX OS390-Unix QNX6 QNX6-i386 ReliantUNIX SINIX SINIX-N UWIN VC-CE VC-WIN32 VC-WIN64A VC-WIN64I aix-cc aix-gcc aix3-cc aix64-cc aix64-gcc android android-armv7 android-x86 aux3-gcc beos-x86-bone beos-x86-r5 bsdi-elf-gcc cc cray-j90 cray-t3e darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc darwin64-x86_64-cc dgux-R3-gcc dgux-R4-gcc dgux-R4-x86-gcc dist gcc hpux-cc hpux-gcc hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-cc-o4 hpux-parisc-gcc hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux-parisc2-cc hpux-parisc2-gcc hpux64-ia64-cc hpux64-ia64-gcc hpux64-parisc2-cc hpux64-parisc2-gcc hurd-x86 iphoneos-cross irix-cc irix-gcc irix-mips3-cc irix-mips3-gcc irix64-mips4-cc irix64-mips4-gcc linux-alpha+bwx-ccc linux-alpha+bwx-gcc linux-alpha-ccc linux-alpha-gcc linux-aout linux-armv4 linux-elf linux-generic32 linux-generic64 linux-ia32-icc linux-ia64 linux-ia64-ecc linux-ia64-icc linux-ppc linux-ppc64 linux-sparcv8 linux-sparcv9 linux-x86_64 linux32-s390x linux64-s390x linux64-sparcv9 mingw mingw64 ncr-scde netware-clib netware-clib-bsdsock netware-clib-bsdsock-gcc netware-clib-gcc netware-libc netware-libc-bsdsock netware-libc-bsdsock-gcc netware-libc-gcc newsos4-gcc nextstep nextstep3.3 osf1-alpha-cc osf1-alpha-gcc purify qnx4 rhapsody-ppc-cc sco5-cc sco5-gcc solaris-sparcv7-cc solaris-sparcv7-gcc solaris-sparcv8-cc solaris-sparcv8-gcc solaris-sparcv9-cc solaris-sparcv9-gcc solaris-x86-cc solaris-x86-gcc solaris64-sparcv9-cc solaris64-sparcv9-gcc solaris64-x86_64-cc solaris64-x86_64-gcc sunos-gcc tandem-c89 tru64-alpha-cc uClinux-dist uClinux-dist64 ultrix-cc ultrix-gcc unixware-2.0 unixware-2.1 unixware-7 unixware-7-gcc vos-gcc vxworks-mips vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug vxworks-ppc860 vxworks-ppcgen vxworks-simlinux debug debug-BSD-x86-elf debug-Cygwin debug-VC-WIN32 debug-VC-WIN64A debug-VC-WIN64I debug-ben debug-ben-darwin64 debug-ben-debug debug-ben-debug-64 debug-ben-macos debug-ben-macos-gcc46 debug-ben-no-opt debug-ben-openbsd debug-ben-openbsd-debug debug-ben-strict debug-bodo debug-darwin-i386-cc debug-darwin-ppc-cc debug-geoff32 debug-geoff64 debug-levitte-linux-elf debug-levitte-linux-elf-extreme debug-levitte-linux-noasm debug-levitte-linux-noasm-extreme debug-linux-elf debug-linux-elf-noefence debug-linux-generic32 debug-linux-generic64 debug-linux-ia32-aes debug-linux-pentium debug-linux-ppro debug-linux-x86_64 debug-rse debug-solaris-sparcv8-cc debug-solaris-sparcv8-gcc debug-solaris-sparcv9-cc debug-solaris-sparcv9-gcc debug-steve-opt debug-steve32 debug-steve64 debug-ulf debug-vos-gcc
NOTE: If in doubt, on Unix-ish systems use './config'. Configuring for darwin-ppc64-cc
HOMEBREW_VERSION: 0.9.4 HEAD: (none) CPU: single-core 64-bit g5 OS X: 10.5.8-Power Macintosh Xcode: 3.1.4 X11: 2.1.6 => /usr/X11
I'm passing the wrong platform - darwin-ppc64-cc instead of darwin64-ppc-cc. Will fix.
Openssl issue fixed. I'm working blindly from something other than my PPC box, but should work.
Awesome Misty, thanks!
Fingers crossed!
Working!
Awesome! :D :D
Referencing #43