Source: examl
Version: 3.0.18-1
Severity: serious
Tags: patch
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Dear Maintainer,

examl fails to build from source in unstable/amd64 when 
/bin/sh is set to bash:

  […]

  dh_auto_clean
  for mfile in Makefile.AVX.gcc Makefile.OMP.AVX.gcc Makefile.OMP.SSE3.gcc 
Makefile.SSE3.gcc; do /usr/bin/make --directory=examl -f ${mfile} clean ; done
  make[2]: Entering directory '«BUILDDIR»/examl'
  rm -f *.o examl-AVX
  make[2]: Leaving directory '«BUILDDIR»/examl'
  make[2]: Entering directory '«BUILDDIR»/examl'
  rm -f *.o examl-OMP-AVX
  make[2]: Leaving directory '«BUILDDIR»/examl'
  make[2]: Entering directory '«BUILDDIR»/examl'
  rm -f *.o examl-OMP
  make[2]: Leaving directory '«BUILDDIR»/examl'
  make[2]: Entering directory '«BUILDDIR»/examl'
  rm -f *.o examl
  make[2]: Leaving directory '«BUILDDIR»/examl'
  /usr/bin/make --directory=parser -f Makefile.SSE3.gcc clean ; done
  /bin/sh: -c: line 0: syntax error near unexpected token `done'
  /bin/sh: -c: line 0: `/usr/bin/make --directory=parser -f Makefile.SSE3.gcc 
clean ; done'
  debian/rules:15: recipe for target 'override_dh_auto_clean' failed
  make[1]: *** [override_dh_auto_clean] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:12: recipe for target 'clean' failed
  make: *** [clean] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

  […]

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Attachment: examl.3.0.18-1.unstable.amd64.log.txt.gz
Description: Binary data

diff --git a/debian/rules b/debian/rules
index 84fa450..ad28a42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,9 +14,9 @@ SRCDIR:=examl
 override_dh_auto_clean:
        dh_auto_clean
        for mfile in $(MFILES); do $(MAKE) --directory=$(SRCDIR) -f $${mfile} 
clean ; done
-       $(MAKE) --directory=parser -f Makefile.SSE3.gcc clean ; done
+       $(MAKE) --directory=parser -f Makefile.SSE3.gcc clean
 
 override_dh_auto_build:
        dh_auto_build
        for mfile in $(MFILES); do $(MAKE) --directory=$(SRCDIR) -f $${mfile} ; 
done
-       $(MAKE) --directory=parser -f Makefile.SSE3.gcc ; done
+       $(MAKE) --directory=parser -f Makefile.SSE3.gcc

Reply via email to