-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shimmed make is silencing warnings even with --verbose #1034
Comments
Thanks for the bug report. Just to let you know that this write-up is good and it's on my list of things to work on. |
This should probably be reserved for debug mode. |
This is no longer on my list of things to work on but I'll happily help someone else who wishes to do so. |
Are there any (easy) examples to trigger this? AFAIK everything is rerouted to the log: brew/Library/Homebrew/formula.rb Line 1863 in 780e869
and printed only in case of failure: brew/Library/Homebrew/formula.rb Lines 1776 to 1796 in 780e869
|
It's been a long time since I bothered looking at Homebrew, so not sure of an easy standalone example. But easy enough is what does the output from a current build of FontForge (from Homebrew) look like? Compare against our Travis build which runs without: https://travis-ci.org/fontforge/fontforge/jobs/310179410 There are a ton of compiler warnings, which should show up similarly when built under Homebrew. |
@jtanx Thanks for the tip. |
I'm going to close this as "expected behaviour" then (partly as well because it's been literally years with no work on it). Sorry! |
Please follow the general troubleshooting steps first:
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?Bug reports:
I was running into an issue where what should have been outputting a ton of warnings gave off no warnings at all - example build log: https://travis-ci.org/fontforge/fontforge/jobs/161231014
And I was very perplexed. Some further digging suggests that the shimmed make which makes use of xcrun which is also shimmed is piping the output to /dev/null? This is totally unexpected behaviour, as I should be able to see all warnings when building with
--verbose
.If I just run
/usr/bin/xcrun /usr/bin/make
(from within the interactive shell), warnings appear as they should, but whatever the xcrun shim is doing is dumping all warnings into the void.Just tried -
--env=std
doesn't help.The text was updated successfully, but these errors were encountered: