Source: gpgme1.0
Version: 1.5.5-1
Severity: serious
Tags: patch

Hi,

gpgme1.0 FTBFS on all arches with this error:

>    debian/rules override_dh_installdocs
> make[1]: Entering directory '/tmp/gpgme1.0/gpgme1.0-1.5.5'
> help2man -o debian/gpgme-tool.1 -n 'Assuan server exposing GnuPG Made Easy 
> operations' debian/tmp/usr/bin/gpgme-tool
> help2man: can't get `--help' info from debian/tmp/usr/bin/gpgme-tool
> Try `--no-discard-stderr' if option outputs to stderr
> debian/rules:21: recipe for target 'override_dh_installdocs' failed
> make[1]: *** [override_dh_installdocs] Error 127
> make[1]: Leaving directory '/tmp/gpgme1.0/gpgme1.0-1.5.5'
> debian/rules:10: recipe for target 'binary' failed
> make: *** [binary] Error 2

When running debian/tmp/usr/bin/gpgme-tool directly this error occurs:
> debian/tmp/usr/bin/gpgme-tool: error while loading shared libraries: 
> libgpgme.so.11: cannot open shared object file: No such file or directory

This can be fixed either by using LD_LIBRARY_PATH or by using the
executable in src/ which will work because libtool will fixup the
library paths for you. I've attached a patch which does the latter.

Thanks,
James
diff -ur a/debian/rules b/debian/rules
--- a/debian/rules	2015-06-11 22:36:42.000000000 +0000
+++ b/debian/rules	2015-06-17 10:55:39.549159260 +0000
@@ -18,7 +18,7 @@
 	dh_install --list-missing -X.la -Xinfo/dir
 
 override_dh_installdocs:
-	help2man -o debian/gpgme-tool.1 -n 'Assuan server exposing GnuPG Made Easy operations' debian/tmp/usr/bin/gpgme-tool
+	help2man -o debian/gpgme-tool.1 -n 'Assuan server exposing GnuPG Made Easy operations' src/gpgme-tool
 	dh_installdocs -A
 
 override_dh_makeshlibs:

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to