Source: redis Version: 5:5.0.3-3 Tags: patch User: [email protected] Usertags: rebootstrap
redis fails to cross build from source, because it uses the build architecture compiler for some lua dependencies. Using dh_auto_build fixes that. Please consider applying the attached patch. Helmut
diff --minimal -Nru redis-5.0.3/debian/changelog redis-5.0.3/debian/changelog --- redis-5.0.3/debian/changelog 2019-01-01 18:47:28.000000000 +0100 +++ redis-5.0.3/debian/changelog 2019-01-20 10:16:26.000000000 +0100 @@ -1,3 +1,10 @@ +redis (5:5.0.3-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 20 Jan 2019 10:16:26 +0100 + redis (5:5.0.3-3) unstable; urgency=medium * Fix FTBFS on hurd-i386 by updating patch to aof.c to avoid MAXPATHLEN diff --minimal -Nru redis-5.0.3/debian/rules redis-5.0.3/debian/rules --- redis-5.0.3/debian/rules 2019-01-01 18:47:28.000000000 +0100 +++ redis-5.0.3/debian/rules 2019-01-20 10:16:20.000000000 +0100 @@ -42,7 +42,7 @@ override_dh_auto_build: debian/lua_libs_debian.c # Build the non-bundled Lua libraries - $(MAKE) -C deps/lua/src $(LUA_OBJECTS) + dh_auto_build --sourcedirectory=deps/lua/src -- $(LUA_OBJECTS) dh_auto_build --parallel -- V=1 USE_SYSTEM_JEMALLOC=yes USE_SYSTEM_LUA=yes USE_SYSTEM_HIREDIS=yes

