[Pkg-gnupg-maint] Bug#752831: gpgme1.0: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4 and support ppc64el

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Sep 5 21:35:51 UTC 2014


On Fri 2014-09-05 17:09:43 -0400, Andreas Barth wrote:
> * Breno Leitao (brenohl at br.ibm.com) [140905 21:07]:
>> The package gpgme1.0 fails to be built on ppc64el, as on new architecture, due
>> to old libtool files, as shown on the link below. The main problem is that the
>> new architecture is not identified as having shared libraries.
>> 
>> http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/gpgme1.0_1.5.0-0.1_ppc64el.build
>> 
>> Please consider applying this patch to enable this package to be built on
>> the new ppc64el architecture. 
>
> I'd be willing to help fixing this bug, if useful I'd upload an NMU.
> Especially as this package prevent ~25 other packages to build, I'd do
> so in the next days unless there is a reason why not.

Thanks for your offer of help, Andi, and sorry for not getting to this
sooner.

When test building with dh-autoreconf on amd64, i get the following
error toward the end of the build:

make[3]: Entering directory '/home/dkg/src/pkg-gnupg/gpgme/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/bash /home/dkg/src/pkg-gnupg/gpgme/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
  for f in gpgme.info gpgme.info-[0-9] gpgme.info-[0-9][0-9] gpgme.i[0-9] gpgme.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/bash /home/dkg/src/pkg-gnupg/gpgme/build-aux/missing --run makeinfo   -I . \
 -o gpgme.info gpgme.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd . && \
  $restore $backupdir/* `echo "./gpgme.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
./gpl.texi:667: @section seen before @end enumerate
./gpl.texi:724: unmatched `@end enumerate'
./gpl.texi:1: warning: node next `Copying' in menu `Concept Index' and in sectioning `Function and Data Index' differ
gpgme.texi:6105: warning: node `Concept Index' is next for `Function and Data Index' in sectioning but not in menu
gpgme.texi:6105: warning: node prev `Function and Data Index' in menu `Concept Index' and in sectioning `Copying' differ
gpgme.texi:6110: warning: node `Function and Data Index' is next for `Concept Index' in menu but not in sectioning
gpgme.texi:6110: warning: node prev `Concept Index' in menu `Copying' and in sectioning `Function and Data Index' differ
Makefile:344: recipe for target 'gpgme.info' failed
make[3]: *** [gpgme.info] Error 1
make[3]: Leaving directory '/home/dkg/src/pkg-gnupg/gpgme/doc'
Makefile:398: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/dkg/src/pkg-gnupg/gpgme'
Makefile:329: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/dkg/src/pkg-gnupg/gpgme'
dh_auto_build: make -j1 returned exit code 2
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
gbp:error: 'debuild -i -I -uc -us' failed: it exited with 29


This smells a lot like a an issue i found earlier with the 1.4 branch of
gpg:

 http://lists.gnupg.org/pipermail/gnupg-devel/2014-January/028181.html

tbh, i'm not entirely sure why dh_autoreconf would trigger this when
dh_autotools-dev wouldn't, but that's what i'm seeing.

and, weirdly, doc/gpl.texi differs subtly between the gnupg, gnupg2, and
gpgme packaging.

I'm looking into this further to see what's going on, but any pointers
would be welcome too.

    --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20140905/8e5fc971/attachment.sig>


More information about the Pkg-gnupg-maint mailing list