Source: librevenge
Version: 0.0.4-4
Severity: serious
Justification: fails to build from source
User: [email protected]
Usertags: ftbfs
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

librevenge fails to build from source in unstable/amd64 when /bin/sh
is Bash:

  dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
not NFS-safe
  perl -pi -e 's/^(Depends:.*)/\1\nRecommends: gdb, python3-six/' \
                  
debian/.debhelper/librevenge-0.0-0/dbgsym-root/DEBIAN/control; \
  fi
  /bin/sh: -c: line 2: syntax error near unexpected token `fi'
  /bin/sh: -c: line 2: `fi'
  debian/rules:30: recipe for target 'override_dh_gencontrol' failed

The full build log and patch is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

Attachment: librevenge.0.0.4-4.unstable.amd64.log.txt.gz
Description: Binary data

diff --git a/debian/rules b/debian/rules
index 40f2a30..430d5d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,5 +29,4 @@ override_dh_auto_install:
 override_dh_gencontrol:
        dh_gencontrol
        perl -pi -e 's/^(Depends:.*)/\1\nRecommends: gdb, python3-six/' \
-                debian/.debhelper/librevenge-0.0-0/dbgsym-root/DEBIAN/control; 
\
-       fi
+                debian/.debhelper/librevenge-0.0-0/dbgsym-root/DEBIAN/control

Reply via email to