Sjors
commented at 10:46 AM on July 24, 2018:
member
I just got this error on master:
make clean-all
make -j5
[...]
/bitcoin/depends/sources/qttools-opensource-src-5.9.6.tar.xz: OK
Preprocessing qt...
sed: 1: "qtbase/mkspecs/bitcoin- ...": extra characters at the end of q command
make: *** /bitcoin/depends/work/build/x86_64-apple-darwin17.7.0/qt/5.9.6-b48df1b490b/.stamp_preprocessed] Error 1
fanquake added the label Build system on Jul 24, 2018
Fuzzbawls
commented at 10:50 AM on July 24, 2018:
contributor
With all these MacOS specific exceptions popping up recently, I almost wonder if it would not be more beneficial to "expect" (or even enforce) brew GNU versions of tools to be installed rather than the archaic pseudo-BSD MacOS versions?
Sjors
commented at 10:51 AM on July 24, 2018:
member
Sjors
commented at 10:53 AM on July 24, 2018:
member
archaic pseudo-BSD MacOS versions
Maybe, but apparently OpenBSB often encounters the same issues (cc @laanwj), so macOS devs help catch problems there this way :-)
fanquake
commented at 11:03 AM on July 24, 2018:
member
This is not the first time sed has been used in depends, there are already multiple uses in the same file that all work fine on macOS. Something like:
sed -i.old "s/arm-linux-gnueabi-/$(host)-/g" qtbase/mkspecs/bitcoin-linux-g++/qmake.conf && \
should work fine?
Fuzzbawls
commented at 11:07 AM on July 24, 2018:
contributor
@fanquake yes, my comment stems from knowing that (in general) there are some differences between MacOS sed and GNU sed...irregardless of wither those differences have ever surfaced here.
Sjors
commented at 11:08 AM on July 24, 2018:
member
fanquake
commented at 11:12 AM on July 24, 2018:
member
@Fuzzbawls Sure, sorry if I sounded dismissive. There definitely are some differences, i.e something like #13514 which I stumbled on when playing around with iOS depends builds.
depends: use MacOS friendly sed syntax in qt.mk12c93cb85b
Fuzzbawls
commented at 1:09 PM on July 24, 2018:
contributor
@fanquake hey no worries mate! I myself don't even know all the (seemingly stupid) differences between MacOS tools and GNU (or even more recent BSD).
I just know there are differences...and those differences may ore may not ever apply here...and if they do...lets make sure they are exclusive to MacOS and exclude them for being archaic (require brew GNU equivilent in this case) rather than cater to such exclusions.
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC