Hi.

On a system with a working fasm, the patch below works for me.

Note: Without downgrading to debhelper compat 11, it fails in this way:

dh_dwz: dwz -q -- debian/fasm/usr/bin/fasm returned exit code 1
make: *** [debian/rules:7: binary] Error 1

--- 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
@@ -8,7 +8,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

Thanks.

Reply via email to