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

subversion fails on 10.10 with CLT #33430

Closed
jkiddo opened this issue Oct 21, 2014 · 11 comments
Closed

subversion fails on 10.10 with CLT #33430

jkiddo opened this issue Oct 21, 2014 · 11 comments

Comments

@jkiddo
Copy link

jkiddo commented Oct 21, 2014

Jenss-MacBook-Pro-1164:ss jkv$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Jenss-MacBook-Pro-1164:ss jkv$ brew upgrade subversion
==> Upgrading 1 outdated package, with result:
subversion 1.8.10_1
==> Upgrading subversion
==> Downloading http://www.apache.org/dyn/closer.cgi?path=subversion/subversion-1.8.10.tar.bz2
Already downloaded: /Library/Caches/Homebrew/subversion-1.8.10.tar.bz2
==> Patching
patching file subversion/bindings/swig/perl/native/Makefile.PL.in
patching file configure.ac
==> Downloading https://serf.googlecode.com/svn/src_releases/serf-1.3.7.tar.bz2
Already downloaded: /Library/Caches/Homebrew/subversion--serf-1.3.7.tar.bz2
==> /usr/local/opt/scons/bin/scons PREFIX=/usr/local/Cellar/subversion/1.8.10_1/libexec/serf GSSAPI=/usr CC=/usr/bin/clang CFLAGS=-Os -w -pipe -march=native -mmacosx-
==> /usr/local/opt/scons/bin/scons install
==> ./autogen.sh
./autogen.sh

buildcheck: checking installation...
buildcheck: autoconf not found.
You need autoconf version 2.59 or newer installed.

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

These open issues may also help:
subversion fails on 10.10 without CLT (#33422)
brew install --universal --java subversion error (#33311)
subversion failed to build on 10.9.4 (#32047)

@MikeMcQuaid
Copy link
Member

@adamv
Copy link
Contributor

adamv commented Oct 21, 2014

Duplicate of #33422.

@adamv adamv closed this as completed Oct 21, 2014
@jacknagel
Copy link
Contributor

This is not a duplicate. The failure is different.

@jacknagel jacknagel reopened this Oct 21, 2014
@joshuawhite929
Copy link

hmm... I have the same issue. Any additional thoughts?

@joshuawhite929
Copy link

I don't know if this helps or not, but I recently upgraded to 10.10. I found that if I ran:
brew unlink autoconf
brew link autoconf

that the build then had a similar problem with libtool. After doing the same for that:
brew unlink libtool
brew link libtool

After re-linking these two tools, the install process runs fine for me.

@syhily
Copy link

syhily commented Nov 2, 2014

https://gist.github.com/eb851b17e1016a676701
This is my error report on building svn. Hoping to solve it. QRZ

@idwaker
Copy link

idwaker commented Nov 3, 2014

I have same issue when libtool was installed as dependency.

buildcheck: checking installation... 
buildcheck: autoconf version 2.69 (ok)
buildcheck: autoheader version 2.69 (ok)
buildcheck: libtool not found.
        You need libtool version 1.4 or newer installed

READ THIS: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew  /Troubleshooting.md#troubleshooting

These open issues may also help:
subversion fails on 10.10 with CLT (https://github.com/Homebrew/homebrew/issues/33430)
subversion fails on 10.10 without CLT (https://github.com/Homebrew/homebrew/issues/33422)
subversion failed to build on 10.9.4 (https://github.com/Homebrew/homebrew/issues/32047)

This solved my issue

brew reinstall libtool --universal
brew install subversion

it worked.

@syhily
Copy link

syhily commented Nov 3, 2014

@idwaker Tks, it really helps. XD

@jkiddo
Copy link
Author

jkiddo commented Nov 3, 2014

Thx @idwaker and @joshuawhite929 - your stuff did work in a mix

@EdwardIII
Copy link

I'm able to install libtool in universal mode based on the tips in #33893 (#33893 (comment)), but when I try and install subversion it seems to try to go to /usr/local/bin/../share/libtool/config which doesn't exist, causing this error:

./autogen.sh: line 108: cd: /usr/local/bin/../share/libtool/config: No such file or directory
/private/tmp/subversion-JAUues/subversion-1.8.10/config.guess not found (try setting the LIBTOOL_CONFIG environment variable)

Contents of libtool dir:

$ ls -l /usr/local/bin/../share/libtool/
total 1408
-rw-r--r--   1 edward  admin   26530  4 Nov 16:58 COPYING.LIB
-rw-r--r--   1 edward  admin    5069  4 Nov 16:58 Makefile.am
-rw-r--r--   1 edward  admin   52992  4 Nov 16:58 Makefile.in
-rw-r--r--   1 edward  admin     693  4 Nov 16:58 README
-rw-r--r--   1 edward  admin   42146  4 Nov 16:58 aclocal.m4
-rw-r--r--   1 edward  admin    5888  4 Nov 16:58 argz.c
-rw-r--r--   1 edward  admin    2227  4 Nov 16:58 argz_.h
drwxr-xr-x   9 edward  admin     306  4 Nov 16:58 build-aux
-rw-r--r--   1 edward  admin    4762  4 Nov 16:58 config-h.in
-rwxr-xr-x   1 edward  admin  443275  4 Nov 16:58 configure
-rw-r--r--   1 edward  admin    2628  4 Nov 16:58 configure.ac
drwxr-xr-x  11 edward  admin     374  4 Nov 16:58 libltdl
drwxr-xr-x   9 edward  admin     306  4 Nov 16:58 loaders
-rw-r--r--   1 edward  admin    2298  4 Nov 16:58 lt__alloc.c
-rw-r--r--   1 edward  admin    3014  4 Nov 16:58 lt__dirent.c
-rw-r--r--   1 edward  admin    3610  4 Nov 16:58 lt__strl.c
-rw-r--r--   1 edward  admin    6088  4 Nov 16:58 lt_dlloader.c
-rw-r--r--   1 edward  admin    2967  4 Nov 16:58 lt_error.c
-rw-r--r--   1 edward  admin   55324  4 Nov 16:58 ltdl.c
-rw-r--r--   1 edward  admin    5709  4 Nov 16:58 ltdl.h
-rw-r--r--   1 edward  admin    5539  4 Nov 16:58 ltdl.mk
-rw-r--r--   1 edward  admin    9830  4 Nov 16:58 slist.c

Here's the full transcript: https://gist.github.com/EdwardIII/698149c10f743d4b8a04

I tried linking/unlinking the suggested libraries suggested by @joshuawhite929 first but no change.

This is on Mac OSX 10.10.

@jacknagel
Copy link
Contributor

I believe with the current libtool (we rolled back from 2.4.3 to 2.4.2 so it may require a reinstall) and subversion formulae, these issues should be resolved.

@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

8 participants