tags 919682 + pending thanks Hi Helmut,
> redis fails to cross build from source, because it uses the build > architecture compiler for some lua dependencies. Using dh_auto_build > fixes that. Very happy to upload that as-is. However, on a regular build this does not make any difference: # Build the non-bundled Lua libraries /usr/bin/make -C deps/lua/src lua_struct.o lua_cmsgpack.o make[2]: Entering directory '/tmp/buildd/redis-5.0.3/deps/lua/src' cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lua_struct.o lua_struct.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lua_cmsgpack.o lua_cmsgpack.c ... and after applying the patch: dh_auto_build --sourcedirectory=deps/lua/src -- lua_struct.o lua_cmsgpack.o cd deps/lua/src && make -j9 "INSTALL=install --strip-program=true" lua_struct.o lua_cmsgpack.o make[2]: Entering directory '/tmp/buildd/redis-5.0.3/deps/lua/src' cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lua_struct.o lua_struct.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lua_cmsgpack.o lua_cmsgpack.c How does this change (in a concrete sense) when cross-building? Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org 🍥 chris-lamb.co.uk `-