tholu / homebrew-tap

My own homebrew tap.
10 stars 9 forks source link

BuildOptions#universal? is deprecated! There is no replacement #11

Closed genuinefafa closed 3 years ago

genuinefafa commented 3 years ago

I'm one of the few that needs this to work - since spanish filename and OSX are not compatible with subversion (crazy).

I did reinstall and it went great - for now - but there were some warning that ask me to report it here.

Brief

==> Kept temporary files
Temporary files retained at /private/tmp/subversion18--serf-SConstruct-20201009-35173-1pz32cu
Warning: Calling BuildOptions#universal? is deprecated! There is no replacement.
Please report this issue to the tholu/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/tholu/homebrew-tap/subversion18.rb:102

==> scons PREFIX=/usr/local/Cellar/subversion18/1.8.16/libexec/serf GSSAPI=/usr CC=/usr/bin/clang CFLAGS=-Os -w -pipe -march=nehalem -mmacosx-version
==> scons install
Warning: Calling BuildOptions#universal? is deprecated! There is no replacement.
Please report this issue to the tholu/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/tholu/homebrew-tap/subversion18.rb:131

Full Log

Error after upgrading to Catalina

% svn
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/subversion18/1.8.16/libexec/serf/lib/libserf-1.dylib
  Reason: image not found
zsh: abort      svn

Solution

% brew reinstall --with-unicode-path tholu/tap/subversion18

==> Downloading https://gist.githubusercontent.com/tholu/fb5d30c586e33b53ecba/raw/a266b1aa01f95cdc38fcedda4c6bce253dfb58c2/svn_1.8.x_darwin_unicode_p
######################################################################## 100.0%
==> Downloading https://www.apache.org/dyn/closer.lua?path=serf/serf-1.3.9.tar.bz2
==> Downloading from https://downloads.apache.org/serf/serf-1.3.9.tar.bz2
######################################################################## 100.0%
==> Downloading https://gist.githubusercontent.com/tholu/e9f0a9edf5a93820412808719117a2b0/raw/1f53eebcdce824cfe24a7fae3a3e3e9dc5239175/SConstruct
######################################################################## 100.0%
==> Downloading https://www.apache.org/dyn/closer.lua?path=subversion/subversion-1.8.16.tar.bz2
==> Downloading from https://downloads.apache.org/subversion/subversion-1.8.16.tar.bz2
#=#=-#  #                                                                     
curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading https://archive.apache.org/dist/subversion/subversion-1.8.16.tar.bz2
######################################################################## 100.0%
==> Reinstalling tholu/tap/subversion18 --with-unicode-path
Warning: Your Xcode (11.7) is outdated.
Please update to Xcode 12.0.1 (or delete it).
Xcode can be updated from the App Store.

==> Patching
==> Applying svn_1.8.x_darwin_unicode_precomp.patch
patching file subversion/libsvn_subr/io.c
patching file subversion/libsvn_subr/path.c
patching file subversion/svn/proplist-cmd.c
patching file subversion/svn/status-cmd.c
==> Kept temporary files
Temporary files retained at /private/tmp/subversion18--serf-SConstruct-20201009-35173-1pz32cu
Warning: Calling BuildOptions#universal? is deprecated! There is no replacement.
Please report this issue to the tholu/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/tholu/homebrew-tap/subversion18.rb:102

==> scons PREFIX=/usr/local/Cellar/subversion18/1.8.16/libexec/serf GSSAPI=/usr CC=/usr/bin/clang CFLAGS=-Os -w -pipe -march=nehalem -mmacosx-version
==> scons install
Warning: Calling BuildOptions#universal? is deprecated! There is no replacement.
Please report this issue to the tholu/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/tholu/homebrew-tap/subversion18.rb:131

==> ./configure --prefix=/usr/local/Cellar/subversion18/1.8.16 --with-zlib=/usr --with-sqlite=/usr/local/opt/sqlite --with-serf=/usr/local/Cellar/sub
==> make
==> make install
==> make tools
==> make install-tools
==> Caveats
svntools have been installed to:
  /usr/local/opt/subversion18/libexec
This unicode-path version implements a hack to deal with composed/decomposed
unicode handling on Mac OS X which is different from linux and windows.
It is borrowed from http://subversion.tigris.org/issues/show_bug.cgi?id=2464 and
_WILL_ break some setups. Please be sure you understand what you
are asking for when you install this version.

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/subversion18/1.8.16: 130 files, 9.3MB, built in 1 minute 19 seconds
tholu commented 3 years ago

@genuinefafa Looks good! Glad that it works for you.