[X] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[X] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[X] ran brew update and can still reproduce the problem?
[X] ran brew doctor, fixed all issues and can still reproduce the problem?
[X] ran brew config and brew doctor and included their output with your issue?
Xcode has been on a nice run of breaking certain functions that HB then has to paper over in superenv, e.g., homebrew-core/18438. The general kind of fix is exemplified in #3182.
Xcode 9.3 continues this noble tradition. This time the function is vasnprintf. My local custom formulas for grep and diffutils reveal this. In the case of grep, the following is in the configure.log:
configure:7830: checking for vasnprintf
configure:7830: gcc -o conftest -g -O2 conftest.c >&5
Undefined symbols for architecture x86_64:
"_vasnprintf", referenced from:
_main in conftest-b41cac.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
In the case of diffutils, that same thing shows up in configure.log; and in both diffutils and grep there is also new a test failure (I run make check in my local formulas):
FAIL test-vasnprintf (exit status: 132)
I'm wondering whether vasnprintf should get the same treatment as futimens, utimensat and the like.
Doctor says I'm ready to brew. brew config is here:
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new. If it's abrew cask
problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?Xcode has been on a nice run of breaking certain functions that HB then has to paper over in superenv, e.g., homebrew-core/18438. The general kind of fix is exemplified in #3182.
Xcode 9.3 continues this noble tradition. This time the function is
vasnprintf
. My local custom formulas forgrep
anddiffutils
reveal this. In the case ofgrep
, the following is in theconfigure.log
:In the case of
diffutils
, that same thing shows up inconfigure.log
; and in bothdiffutils
andgrep
there is also new a test failure (I runmake check
in my local formulas):I'm wondering whether
vasnprintf
should get the same treatment asfutimens
,utimensat
and the like.Doctor says I'm ready to brew.
brew config
is here: