sed
calls in depends
.
177@@ -178,9 +178,9 @@ define $(package)_preprocess_cmds
178 patch -p1 -i $($(package)_patch_dir)/no-xlib.patch &&\
179 echo "QMAKE_LINK_OBJECT_MAX = 10" >> qtbase/mkspecs/win32-g++/qmake.conf &&\
180 echo "QMAKE_LINK_OBJECT_SCRIPT = object_script" >> qtbase/mkspecs/win32-g++/qmake.conf &&\
181- sed -i.old "s|QMAKE_CFLAGS = |!host_build: QMAKE_CFLAGS = $($(package)_cflags) $($(package)_cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
!
here to not get a -bash: !host_build: event not found
error
(I tried executing this command separately to test it)
SHELL
then? The default is /bin/sh
I think.
/bin/sh
means nothing specific, it’s the default system shell. Isn’t it theoretically possible for /bin/sh
to be bash?
Escaping the ! would be easier, I guess.
Not that it necessarily needs to be solved, here, it’s not a new problem, I was just surprised.
argv[0]
looks like it’s sh
, I believe bash
will be in posix-compliant mode.
Gitian builds for commit 8af835a72d15d19e98ce22d21903cc0d080d3b92 (master):
4d181142779fe606172a65bfd93c0663...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gza67aad8f709d6ace2d2cb709e66be705...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gz30ac24c52e47f3b84feeb387882877f0...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gz6db4737135fcd7cf4f85a828462448ed...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gz1722c70d5ecdfad38c934ef88931046e...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gz25e86df3c5c0acbf7b9657642914f459...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gz46ae5bd1dc3aee2a6327d96c4daaa19e...
bitcoin-0.18.99-osx-unsigned.dmgbe0490229a4e5e2eb49f642d014f0751...
bitcoin-0.18.99-osx64.tar.gz083faaf56a92eb4c436514b171e8a08b...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz603c3c550cf8c274fae8a386ff1b00a6...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz14c14af2dd618ff96938f39635b1cef8...
bitcoin-0.18.99-win64-debug.zip0b3fa4460551713333d2462b1a3c3bb8...
bitcoin-0.18.99-win64-setup-unsigned.exebf487517d456842c48ee18dcdd69e847...
bitcoin-0.18.99-win64.zipf1acc858d841551ba58d1b49a32c88d2...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gz266c41f3e254c94eefd8764858e02573...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gzd52f351a3e4433edab5a8b083e534716...
bitcoin-0.18.99.tar.gzf61a2c139ee02ae8c64cfae24f3166b8...
bitcoin-core-linux-0.19-res.ymlc7ed4b11b7f1555e5c920b86c95c45b9...
bitcoin-core-osx-0.19-res.yml134eee15fe12af42f10ca222048433c5...
bitcoin-core-win-0.19-res.yml76a4d4ba420b668cdbbb36b7cf03186f...
linux-build.log945c730cf410a1254ddf63a540d3aae3...
osx-build.log1bf4b4519ce20754e403234d172a219e...
win-build.logGitian builds for commit 97190bf15cb1890e4ac94b33ce46157dd1d3fc3b (master and this pull):
bbd3a555c0a7965194b56f9c6bbbef62...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gzc78fb34916b7bba96228284c83b44985...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gzf0e5a2bbf784ecdc19adc8a1e432beda...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gzce9dc0f6b84c5a86599561d1d72dd5f7...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gza9792e9d38f04069a343b15f02a14f75...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gz81729b4c7cae574153df19f149a4d4b0...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gz3dbe3f99efe579f7f76569e7cb2c3d2d...
bitcoin-0.18.99-osx-unsigned.dmgdf13714977eaed1c3041ac3940a1c0d6...
bitcoin-0.18.99-osx64.tar.gzdb3c51f8b2d82c358081bddeeaec1bf7...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz17bcee039b2968b3843ad7979901c21e...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz51aa6f038cde4c5032df5ee30bf83d24...
bitcoin-0.18.99-win64-debug.zipd0885945a3efb8dde902ddafea44fba4...
bitcoin-0.18.99-win64-setup-unsigned.exede78722f3be85df948c572215d43dd1b...
bitcoin-0.18.99-win64.zip09cac79cc5627ea89ec15618ea359626...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gz74e6e815906b6021c82e5fd808967151...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gz6fe267d75a804f10f92e61d827ac4129...
bitcoin-0.18.99.tar.gzc0d5dc9c9f629ff389c51dd9c365a49c...
bitcoin-core-linux-0.19-res.yml1341b62851e3946edd235ff312254372...
bitcoin-core-linux-0.19-res.yml.diffacc3094072cd24389d75f66ecf86e031...
bitcoin-core-osx-0.19-res.yml69735663f5f12f221bfead257aab0611...
bitcoin-core-osx-0.19-res.yml.diff31dcf4bcc72acbc1231cd31e50eb335a...
bitcoin-core-win-0.19-res.yml6b2ea779104d0dcdd9dd246f796ebcc2...
bitcoin-core-win-0.19-res.yml.diff4094722d50284678ebeeb59ff3ade367...
linux-build.loga1e7f4c6b04922cf61213d35da249550...
linux-build.log.diff39fd5853141ccc64215065eb9648048a...
osx-build.log63b7cd823a808805ee7197250ff288e0...
osx-build.log.diff44ff4aea3482c93700e8042d3f426731...
win-build.logba9f670564d86c353f467b8bf2da557a...
win-build.log.diff177@@ -178,9 +178,9 @@ define $(package)_preprocess_cmds
178 patch -p1 -i $($(package)_patch_dir)/no-xlib.patch &&\
179 echo "QMAKE_LINK_OBJECT_MAX = 10" >> qtbase/mkspecs/win32-g++/qmake.conf &&\
180 echo "QMAKE_LINK_OBJECT_SCRIPT = object_script" >> qtbase/mkspecs/win32-g++/qmake.conf &&\
181- sed -i.old "s|QMAKE_CFLAGS = |!host_build: QMAKE_CFLAGS = $($(package)_cflags) $($(package)_cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
182+ sed -i.old "s|QMAKE_CFLAGS += |!host_build: QMAKE_CFLAGS = $($(package)_cflags) $($(package)_cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
183 sed -i.old "s|QMAKE_LFLAGS = |!host_build: QMAKE_LFLAGS = $($(package)_ldflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
win32-g++/qmake.conf
at all (qt 5.9.7 nor 5.9.8)
QMAKE_LFAGS
was removed in https://github.com/qt/qtbase/commit/39fc377bf105ba09e2a8f9acae467dc789b96525, and first made it into qt v5.9.0
. We can just add QMAKE_LFLAGS = $($(package)_ldflags)
back in though.
QMAKE_LFLAGS was removed from qtbase/mkspecs/win32-g++/qmake.conf in
39fc377bf105ba09e2a8f9acae467dc789b96525. Here, we add it back in with
our LDFLAGS from depends before the first occurance of any
QMAKE_LFLAGS_* variable settings.
Gitian builds for commit 4b5e5ef4cec38cb2e3ea4a509e9d90a2088a18c1 (master):
3243678bc6bd66ea87e093e0e7491520...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gz8e39a54862258703f2bb3f82893ae019...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gz85f1f3287eb313d36708348718b57ab2...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gz4a2444fe4caff91e4ea3c746b836028f...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gzc1f4893518123cbde3a4f5cfe66ddd7c...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gzd84fb5fc452e19395836a6beedb1cc5c...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gzdc647040f03a6a314e48b837166db24d...
bitcoin-0.18.99-osx-unsigned.dmg97e9884e91bc19f4d1395f7953ebae80...
bitcoin-0.18.99-osx64.tar.gzba2043570604adc0f301cdcb007a3ac5...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz7fdfb1940e9656583b7f3e6fc12eb8ae...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz1c2aae31ae7cc5cc54dc0c6f5d2d54e4...
bitcoin-0.18.99-win64-debug.zipce49e4826b18ab2d358d2eecdc651e00...
bitcoin-0.18.99-win64-setup-unsigned.exe5b0911c2c91a3c1d72cfb989b87fe074...
bitcoin-0.18.99-win64.zipfeffe6ca7ab6eb5a27c47360a8fbe2e3...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gz1c2026c11ac3d3a6d75bbc80b641959f...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gzfafc76d8c1319532e7c75dc201e28a73...
bitcoin-0.18.99.tar.gz831779cc0a15b6c3787e7135adf02e30...
bitcoin-core-linux-0.19-res.yml836eea9633f1e69785cba72b9e6363b1...
bitcoin-core-osx-0.19-res.ymlb95300e3ad90f600c082ff1e117624f7...
bitcoin-core-win-0.19-res.ymlcb04aba6b5d6f89c051dc230605c2c4b...
linux-build.loga02449c5574cd9008c6472f72b22353c...
osx-build.log8eaf302a33f4285d3d18d329c3e69d16...
win-build.logGitian builds for commit 5fde90b6f2802d409e67136fe0431e53b6182d80 (master and this pull):
8913f6c2c30f612c6744d021e9da8038...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gzdf92c0efbc50533841ce422ce7cadb85...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gz1c575e70008dcb710c7306e72180ab55...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gz31058d7eeb67b0860137196a1628319d...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gz750444eea6671e66e629176222e7cb08...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gz8d3d9447a38d99c02b7306ade25c17b5...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gzcd05f341ae3122e7d3edfd566d7e8263...
bitcoin-0.18.99-osx-unsigned.dmg10e193058864b3340219f80aa1cde1b7...
bitcoin-0.18.99-osx64.tar.gz2f7fe7055ef0016161b98abc9bbcba98...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gzea0451405533403accad03b48b0a664f...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz733006f7a1843b077ae8e9187ab2efc7...
bitcoin-0.18.99-win64-debug.zip540e5531aa4114aac998b6a277ccb2aa...
bitcoin-0.18.99-win64-setup-unsigned.exe17f6aab0b9037d277b06e28f65ca2fa1...
bitcoin-0.18.99-win64.zip321f8d81dc2d02070ef37899ae7aa9c3...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gzaf37af8080cb31d4720feee19b38d89f...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gze02010605536d56038f4c7567908d579...
bitcoin-0.18.99.tar.gz1ad5f0498465344fa58f59c58b62be44...
bitcoin-core-linux-0.19-res.yml10f11520e2dca42a9bcf38e1c81088c1...
bitcoin-core-linux-0.19-res.yml.diff548de4b0fbbf35d8ffaf2c49cb06ed45...
bitcoin-core-osx-0.19-res.yml4e32c95f70995408130175f8862034d9...
bitcoin-core-osx-0.19-res.yml.diff3c8edf82e2693bce86e14b93090747c3...
bitcoin-core-win-0.19-res.yml6a690a71021e63154ed7023a30f61de3...
bitcoin-core-win-0.19-res.yml.diff2977a1c8b50a5037e0f424b808dfe87c...
linux-build.logd10d412f6f916081e84dfbd7c6fe484e...
linux-build.log.diffbf8328f0a11e6233503ac5894fb5348c...
osx-build.log6b74b1fc425cb1fffb1ad61372b2ba41...
osx-build.log.diff0fc35556bca15eeab071934270cb0989...
win-build.log15e9d8a71fbecdb50dacf1276027b5ca...
win-build.log.diff
Labels
Build system