Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77132 - [gpgme] FTBFS

Attached to Project: Arch Linux
Opened by Sebastien Duthil (duthils) - Sunday, 15 January 2023, 03:29 GMT
Last edited by Christian Hesse (eworm) - Monday, 16 January 2023, 13:06 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: package gpgme 1.18.0-1 fails to build from source.

The error:

make[3]: Entering directory '/tmp/test/gpgme/trunk/src/gpgme-1.18.0/lang/python'
set -e ; for PYTHON in /usr/sbin/python2.7 /usr/sbin/python3.10; do \
CPP="gcc -E" \
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/tmp/test/gpgme/trunk/src=/usr/src/debug/gpgme -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="." \
top_builddir="../.." \
$PYTHON setup.py build --verbose --build-base="$(basename "${PYTHON}")-gpg" ; \
done
running build
Using gpgme.h from ../../src/gpgme.h
Could not find gpg-error-config. Please install the libgpg-error development package.

Note: the error occurs even if libgpg-error 1.46-2 (latest) is installed.

Full build log:

https://tests.reproducible-builds.org/archlinux/core/gpgme/build1.log

Steps to reproduce:

* Run makepkg
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 16 January 2023, 13:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  gpgme 1.18.0-2
Comment by loqs (loqs) - Sunday, 15 January 2023, 05:17 GMT
https://dev.gnupg.org/T6204

Please try the attached patch.
Comment by Sebastien Duthil (duthils) - Sunday, 15 January 2023, 05:43 GMT
I confirm that the patch fixes the build issue.

Loading...