hhvm / homebrew-hhvm

Official Mac OS X Homebrew formula for HHVM
MIT License
81 stars 22 forks source link

ld: can't open -sectcreate file #28

Closed HamiltonWang closed 8 years ago

HamiltonWang commented 8 years ago

...... [ 99%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/process-init.cpp.o [100%] Linking CXX executable hhvm ld: can't open -sectcreate file: /tmp/hhvm20160314-14554-qsps0j/hphp/util/generated-compiler-id.txt clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: * [hphp/hhvm/hhvm] Error 1 make[1]: * [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2 make: *\ [all] Error 2

Bug reports:

Error using home brew to install hhvm for Mac Yosemite. ld: can't open -sectcreate file: /tmp/hhvm20160314-14554-qsps0j/hphp/util/generated-compiler-id.txt clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)

https://gist.github.com/8adae56ae4769c9cd5f4

jwatzman commented 8 years ago

@HamiltonWang this is for --HEAD, correct? 3.12.1 should work fine.

@paulbiss do you know if this generated-compiler-id.txt moved recently?

HamiltonWang commented 8 years ago

@jwatzman Yes, this is for --HEAD I reported hhvm project, but they told me they don't handle "tap" and asked to refer to here.

HamiltonWang commented 8 years ago

I just tried to install it again, it works fine now. Thanks

jwatzman commented 8 years ago

I just tried to install it again, it works fine now. Thanks

OK, going to close this out then :)

I reported hhvm project, but they told me they don't handle "tap" and asked to refer to here.

Where were you told that? Last I heard, the same people were managing both (I used to be one of them :)) And that the right place to report problems with HHVM itself (which this would be), as opposed to the tap specifically, was there. I'd like to poke whomever said that and get it cleared up :)

HamiltonWang commented 8 years ago

Hi there, I'm sorry that I remember incorrectly. I actually sent it to the homebrew github. link as followed https://github.com/Homebrew/homebrew/issues/50086

jwatzman commented 8 years ago

Ah yeah that's the wrong place to report it, the brew folks indeed wouldn't know anything about this :) In the future, feel free to report OS X-specific HHVM issues here, though depending on the issue we may end up directing you to HHVM itself, at https://github.com/facebook/hhvm/issues (but don't worry too much about this, we'll redirect as needed).