yasm 1.2.0 failed to build on 10.7.5 #16244

Closed
BoundaryValueProblems opened this Issue Nov 26, 2012 · 17 comments

Comments

Projects
None yet
4 participants

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.

Contributor

adamv commented Nov 26, 2012

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

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.

Contributor

adamv commented Dec 14, 2012

So no Xcode, just the command-line tools?

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

Contributor

adamv commented Dec 14, 2012

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?

Contributor

samueljohn commented Dec 15, 2012

@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 commented Jan 8, 2013

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

Contributor

adamv commented Jan 8, 2013

@Bsteino no command-line tools, Xcode only?

Bsteino commented Jan 8, 2013

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

Contributor

samueljohn commented Jan 8, 2013

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

Bsteino commented Jan 9, 2013

@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

Contributor

samueljohn commented Jan 9, 2013

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

Contributor

samueljohn commented Jan 9, 2013

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

Contributor

samueljohn commented Jan 10, 2013

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

Contributor

adamv commented Jan 20, 2013

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

Bsteino commented Jan 20, 2013

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?

Contributor

adamv commented Jan 30, 2013

Same errors when I try to compile separately.

Then this isn't a Homebrew issue.

adamv closed this Jan 30, 2013

xu-cheng 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.