[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:38:33 UTC 2017


Package: src:gpgme1.0
Version: 1.9.0-3
Severity: normal

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.

        --dkg

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'oldstable'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the pkg-gnupg-maint mailing list