Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1022348: gpgme1.0: FTBFS: Could not find gpg-error-config. Please install the libgpg-error development package.

62 views
Skip to first unread message

Lucas Nussbaum

unread,
Oct 23, 2022, 9:20:03 AM10/23/22
to
Source: gpgme1.0
Version: 1.18.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/build/lang/python'
> ln -sf "../../../src/data.h" .
> ln -sf "../../conf/config.h" .
> ln -sf "../../../lang/python/src" gpg
> touch copystamp
> set -e ; for PYTHON in /usr/bin/python3.10 ; do \
> CPP="gcc -E" \
> CFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation -Wno-sizeof-pointer-div" \
> srcdir="../../../lang/python" \
> top_builddir="../.." \
> $PYTHON setup.py build --verbose --build-base="$(basename "${PYTHON}")-gpg" ; \
> done
> /<<PKGBUILDDIR>>/build/lang/python/setup.py:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
> from distutils.core import setup, Extension
> running build
> Using gpgme.h from ../../src/gpgme.h
> Could not find gpg-error-config. Please install the libgpg-error development package.
> make[4]: *** [Makefile:760: all-local] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/gpgme1.0_1.18.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Andreas Metzler

unread,
Oct 25, 2022, 12:30:02 PM10/25/22
to
Control: forwarded -1 https://dev.gnupg.org/T6204

On 2022-10-23 Lucas Nussbaum <lu...@debian.org> wrote:
> Source: gpgme1.0
> Version: 1.18.0-1
[...]
> > Could not find gpg-error-config. Please install the libgpg-error development package.
> > make[4]: *** [Makefile:760: all-local] Error 1
[...]

There is a patch in upstream GIT ae9258fbf3b9d434495ef11fc184a91fe7c4ca57 but
it breaks when @GPG_ERROR_CFLAGS@ expands to nothing which happens on
Debian.

cu Andreas

--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Andreas Metzler

unread,
Oct 26, 2022, 1:40:03 AM10/26/22
to
Control: tags -1 patch
Control: tags -1 fixed-upstream

On 2022-10-25 Andreas Metzler <amet...@bebt.de> wrote:
> Control: forwarded -1 https://dev.gnupg.org/T6204

> On 2022-10-23 Lucas Nussbaum <lu...@debian.org> wrote:
> > Source: gpgme1.0
> > Version: 1.18.0-1
> [...]
> > > Could not find gpg-error-config. Please install the libgpg-error development package.
> > > make[4]: *** [Makefile:760: all-local] Error 1
> [...]

> There is a patch in upstream GIT ae9258fbf3b9d434495ef11fc184a91fe7c4ca57 but
> it breaks when @GPG_ERROR_CFLAGS@ expands to nothing which happens on
> Debian.

Which has been promptly fixed. Find attached debdiffs for a proposed
upload. - I can also massage this into a mergew-request or push
directly to https://salsa.debian.org/debian/gpgme Just give me a
heads-up.
binaries.debdiff
source-1.1.diff

Andreas Metzler

unread,
Oct 26, 2022, 12:30:04 PM10/26/22
to
On 2022-10-26 Andreas Metzler <amet...@bebt.de> wrote:
[...]
> Which has been promptly fixed. Find attached debdiffs for a proposed
> upload. - I can also massage this into a mergew-request or push
> directly to https://salsa.debian.org/debian/gpgme Just give me a
> heads-up.
[...]

https://salsa.debian.org/debian/gpgme/-/merge_requests/7

(Sending now since I will not have time tomorrow and on Friday.)
cu Andreas
0 new messages