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

mpfr failed to build on 10.8.3 #18575

Closed
rbf22 opened this issue Mar 18, 2013 · 12 comments
Closed

mpfr failed to build on 10.8.3 #18575

rbf22 opened this issue Mar 18, 2013 · 12 comments

Comments

@rbf22
Copy link

rbf22 commented Mar 18, 2013

enters endless sed sh echo loop during configure

@rbf22 rbf22 closed this as completed Mar 18, 2013
@rbf22 rbf22 reopened this Mar 18, 2013
@adamv
Copy link
Contributor

adamv commented Mar 18, 2013

@rbf22
Copy link
Author

rbf22 commented Mar 18, 2013

@rbf22
Copy link
Author

rbf22 commented Mar 18, 2013

log files are empty in ~/Library/Logs/Homebrew/mpfr/
brew install mpfr -vd
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/mpfr.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gmp.rb
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
/usr/local/Library/Formula/mpfr.rb: loading /usr/local/Library/Formula/gmp.rb
==> Downloading http://ftpmirror.gnu.org/mpfr/mpfr-3.1.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/mpfr-3.1.1-p2.tar.bz2
tar xf /Library/Caches/Homebrew/mpfr-3.1.1-p2.tar.bz2
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.3) https://gist.github.com/raw/4472199/42c0b207037a133527083d12adc9028b4da429ee/gistfile1.txt -o 000-homebrew.diff
######################################################################## 100.0%
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file PATCHES
patching file VERSION
patching file src/get_d64.c
patching file src/mpfr.h
patching file src/version.c
patching file tests/tget_set_d64.c
patching file PATCHES
patching file VERSION
patching file src/mpfr.h
patching file src/strtofr.c
patching file src/version.c
patching file tests/tstrtofr.c
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 1203 with fuzz 1.
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mpfr/3.1.1-p2 --build=x86_64-apple-darwin
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mpfr/3.1.1-p2 --build=x86_64-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)...

@adamv
Copy link
Contributor

adamv commented Mar 18, 2013

What does brew doctor say? What DYLD_* variables do you have installed?

@rbf22
Copy link
Author

rbf22 commented Mar 18, 2013

There are no values of DYLD_* in my .bashrc, brew doctor and updates are clean:

Updated Homebrew from da6aa7f to d0c5317.
rfenwick:local fenwick$ brew update
Already up-to-date.
rfenwick:local fenwick$ brew doctor
Your system is raring to brew.
rfenwick:local fenwick$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: d0c5317
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1362189000
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.0.0-p0/bin/ruby

@rbf22
Copy link
Author

rbf22 commented Mar 18, 2013

Seems like there is at least one problem with the patch

patch unexpectedly ends in middle of line
Hunk #2 succeeded at 1203 with fuzz 1.
==> ./configure --prefix=/usr/local/Cellar/mpfr/3.1.1-p2 --build=x86_64-apple-darwin

@rbf22
Copy link
Author

rbf22 commented Mar 18, 2013

I do not have anything in my LD_LIBRARY path or DYLD_LIBRARY_PATH

@samueljohn
Copy link
Contributor

I can build it successfully on 10.8.3 (Xcode-only) even if I see patch unexpectedly ends in middle of line, too.

@rbf22
Copy link
Author

rbf22 commented Mar 19, 2013

in the configure file I have put some echo commands, the code does not ever get to HERE3, however it does pass HERE2

2930 echo HERE2
2931 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2932 case ${MAKE-make} -f conftest.make 2>/dev/null in
2933 @@@%%%=?=@@@%%%*)
2934 eval ac_cv_prog_make_${ac_make}set=yes;;
2935 *)
2936 eval ac_cv_prog_make
${ac_make}_set=no;;
2937 esac
2938 echo HERE3

@adamv
Copy link
Contributor

adamv commented Mar 26, 2013

which make?

@jacknagel
Copy link
Contributor

mpfr has bottles now

@adamv
Copy link
Contributor

adamv commented Apr 13, 2013

Closing in favor of the updated #19162.

@adamv adamv closed this as completed Apr 13, 2013
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 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

4 participants