Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

yasm 1.2.0 failed to build on 10.7.5 #16244

Closed
BoundaryValueProblems opened this Issue · 17 comments

4 participants

@BoundaryValueProblems

Hello. I couldn't build yasm 1.2.0 on my Mac OS X 10.7.5 machine. Here is the output from brew:

$ brew install yasm
==> Downloading http://tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/yasm-1.2.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/yasm/1.2.0
==> make install
      _def_xrealloc in gp-xmalloc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [genperf] Error 1
make: *** Waiting for unfinished jobs....

Gist link for the output of "make install" is found at:
http://gist.github.com/4149858

Thanks a lot for your help!

*** Update on March 17, 2013 ***
After upgrading Xcode Command Line Tool to the latest version 4.6.1, I could install yasm-1.2.0. Apparently the problem was not yasm-1.2.0 package, but in the Xcode CTL for Lion.

@adamv
Owner

What version of Xcode do you have installed, and where is it installed?

@BoundaryValueProblems

I installed the latest Xcode Command Line Tool xcode452cltools10_76938212a.dmg available on Mac developer's website, which was released on November 1st.
Also, I used the normal installation procedure for that dmg file.

@adamv
Owner

So no Xcode, just the command-line tools?

@BoundaryValueProblems

Correct, no Xcode, but just Xcode-commandline tools. Should I install the full Xcode?

@adamv
Owner

It compiles for me with the full Xcode, though it is probably possible to modify the formula to work without it.

@samueljohn - you're kind of the local non-Xcode expert, any thoughts?

@samueljohn

@adamv thanks.

I can't reproduce. Neither on my 10.8.2 Xcode-only, nor on my 10.8.2 CLT-only Mac.
I tested on 8core sandy-bridge MBP and on core2duo mac mini.

Perhaps a Lion issue?

@Bsteino

Hi,

I can reproduce on 10.8.2, MBP 5,1. Full Xcode is installed, and brew doctor is clean. I'll attach more output if requested, but its the exact same error.

Thanks

@adamv
Owner

@Bsteino no command-line tools, Xcode only?

@Bsteino

Sorry, forgot to mention I have CLT installed also (from within Xcode).

@samueljohn

Strange. @Bsteino yes please post a link to a gist with your brew --config and the full build output in --verbose mode.

@Bsteino

@samueljohn here's the output you requested, thanks for the help!

brew --config: https://gist.github.com/4493281
brew install yasm --verbose: https://gist.github.com/4493288
config.log: https://gist.github.com/4493295

@samueljohn

Thanks, I looked at it but still no clue.
Also I could not reproduce on my two (different) Macs.

@samueljohn

Perhaps another formula that I don't have installed is interfering here?

@samueljohn

I don't have any idea what to suggest here.

@adamv
Owner

Does yasm compile correctly if you download the source outside of Homebrew and do ./configure && make?

@Bsteino

Same errors when I try to compile separately. Only other thing I can think of is possibly remove all homebrew stuff from my PATH and try a clean compile. Any hints on trying that without breaking stuff?

@adamv
Owner

Same errors when I try to compile separately.

Then this isn't a Homebrew issue.

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.