tags 918931 + patch thanks Hi. This is a hack but I think it should work. (Rebootstrapping anything is always hacky after all).
The hack may be dropped once we have a working fasm package again. --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Maintainer: Tomasz Buchert <tom...@debian.org> Section: devel Priority: optional Build-Depends: debhelper (>= 12), - debhelper-compat (= 12), + debhelper-compat (= 11), fasm, gcc-multilib [amd64], libc6-dev-i386 [amd64] --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,11 @@ #!/usr/bin/make -f +ifeq ($(DEB_BUILD_ARCH),amd64) + FASM=$(PWD)/fasm.x64 +else + FASM=$(PWD)/fasm +endif + DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk @@ -8,7 +14,8 @@ include /usr/share/dpkg/default.mk override_dh_install: mkdir -p debian/tmp - (cd source/libc; fasm fasm.asm; gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -m32 fasm.o -o fasm) + cd source/libc && $(FASM) fasm.asm && gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -m32 fasm.o -o fasm + dh_install override_dh_clean: dh_clean