[pkg-gnupg-maint] Bug#872519: src:gpgme1.0: FTBFS due to upstream file reorganization

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Aug 18 04:56:25 UTC 2017


On Fri 2017-08-18 00:38:33 -0400, Daniel Kahn Gillmor wrote:
> 1.9.0-3 builds fine on my own system, but sending it to the buildd's
> ends up with messages like:
>
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-qMUuQf/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 python2-gpg/temp.linux-x86_64-2.7/python2-gpg/gpgme_wrap.o python2-gpg/temp.linux-x86_64-2.7/python2-gpg/helpers.o -L../../src/.libs -o python2-gpg/lib.linux-x86_64-2.7/gpg/_gpgme.so -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error
> running build_py
> package init file 'gpg/__init__.py' not found (or not a regular file)
> error: package directory 'gpg/constants' does not exist
> Makefile:752: recipe for target 'all-local' failed
> make[5]: *** [all-local] Error 1
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/lang/python'
> Makefile:472: recipe for target 'all-recursive' failed
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/lang/python'
>
> This is likely due to
> debian/patches/0007-python-simplify-build-some-fixups.patch, a patch
> from upstream which does a major overhaul of the python layout (which
> i've included because it's on upstream's path to fixing the gcc 7
> errors).
>
> I'm trying to replicate the build failure myself, but haven't done it
> yet.

interesting, it looks like this is a failure if i build from the
upstream+debian.tar.gz, but it succeeds if i build from a debcheckout
with gbp buildpackage.

     --dkg



More information about the pkg-gnupg-maint mailing list