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

2022-11-02 Thread Daniel Kahn Gillmor
On Wed 2022-10-26 18:17:11 +0200, Andreas Metzler wrote:
> On 2022-10-26 Andreas Metzler  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

Thanks for this work, Andreas.  I'm working on rolling it up into a new
release which i hope to land in unstable later today.

Of course, this might cause knock-on effects for projects that
themselves think they should be dependent on gpgme-config, but i'll try
to sort those through as well.

--dkg


signature.asc
Description: PGP signature


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

2022-10-26 Thread Andreas Metzler
On 2022-10-26 Andreas Metzler  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



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

2022-10-25 Thread Andreas Metzler
Control: tags -1 patch
Control: tags -1 fixed-upstream

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

> On 2022-10-23 Lucas Nussbaum  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.

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'
diff -Nru gpgme1.0-1.18.0/debian/changelog gpgme1.0-1.18.0/debian/changelog
--- gpgme1.0-1.18.0/debian/changelog	2022-09-29 02:31:10.0 +0200
+++ gpgme1.0-1.18.0/debian/changelog	2022-10-26 06:56:43.0 +0200
@@ -1,3 +1,16 @@
+gpgme1.0 (1.18.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add 0010-build-python-Don-t-use-gpg-error-config-gpgme-config.patch
+and 0013-python-Fix-configure-generating-setup.py.patch from upstream
+GIT master to fix FTBFS after removal of gpg-error-config.
+Closes: #1022348
+  * Without gpg-error-config gpgme-config is not installed by the upstream
+build system anymore. Adapt libgpgme-dev.install, drop related lintian
+override and Debian specific manpage.
+
+ -- Andreas Metzler   Wed, 26 Oct 2022 06:56:43 +0200
+
 gpgme1.0 (1.18.0-1) unstable; urgency=medium
 
   * new upstream version
diff -Nru gpgme1.0-1.18.0/debian/gpgme-config.1 gpgme1.0-1.18.0/debian/gpgme-config.1
--- gpgme1.0-1.18.0/debian/gpgme-config.1	2022-09-06 20:52:33.0 +0200
+++ gpgme1.0-1.18.0/debian/gpgme-config.1	1970-01-01 01:00:00.0 +0100
@@ -1,94 +0,0 @@
-.TH "GPGME" "1" "08 July 2012" "gpgme" "User commands"
-
-.SH NAME
-gpgme\-config \- script to get information about the installed version of GPGME
-
-.SH SYNOPSIS
-.B  gpgme\-config
-.RB [ \-\-api\-version ]
-.RB [ \-\-cflags ]
-.RB [ \-\-exec\-prefix ]
-.RB [ \-\-get\-gpg ]
-.RB [ \-\-get\-gpgsm ]
-.RB [ \-\-host ]
-.RB [ \-\-libs ]
-.RB [ \-\-prefix ]
-.RB [ \-\-thread=pthread ]
-.RB [ \-\-version ]
-
-.SH DESCRIPTION
-.PP
-\fBgpgme\-config\fP is a tool that is used to configure to determine
-the compiler and linker flags that should be used to compile
-and link programs that use \fIGPGME\fP. It is also used internally
-to the .m4 macros for GNU autoconf that are included with \fIGPGME\fP.
-
-.SH OPTIONS
-.PP
-\fBgpgme\-config\fP accepts the following options:
-.TP
-.B \-\-api\-version
-Print the currently installed API version of \fIGPGME\fP to standard output.
-.TP
-.B \-\-cflags
-Print the compiler flags that are necessary to compile a \fIGPGME\fP program.
-.TP
-.B \-\-exec\-prefix
-Print the exec prefix that was used to configure the \fIGPGME\fP build.
-.TP
-.B \-\-get\-gpg
-Print the path to the
-.BR gpg (1)
-binary used to configure the \fIGPGME\fP build.
-.TP
-.B \-\-get\-gpgsm
-Print the path to the
-.BR gpgsm (1)
-binary used to configure the \fIGPGME\fP build.
-.TP
-.B \-\-host
-Print host information.
-.TP
-.B \-\-libs
-Print the linker flags that are necessary to link a \fIGPGME\fP program.
-.TP
-.B \-\-prefix
-Print the prefix that was used to configure the \fIGPGME\fP build.
-.TP
-.B \-\-thread=pthread
-Switch for the
-.B \-\-cflags
-and
-.B \-\-libs
-options for the thread-enabled \fIGPGME\fP version.
-.TP
-.B \-\-version
-Print the currently installed version of \fIGPGME\fP to standard output.
-
-.SH AUTHORS
-.PP
-.PP
-The
-.I GPGME
-library is written by many contributors, including Werner Koch, Marcus
-Brinkmann, Andre Heinecke, Justus Winter, and Karl-Heinz Zimmer.
-.PP
-This manual page page was written by \fBJose Carlos Garcia Sogo\fR
-\&<\@debian.org\&> and \fBDaniel Leidert\fR <\@wgdd.de\&>
-for the Debian distribution (but may be used by others).
-
-.SH BUGS
-.PP
-Please report bugs to .
-
-.SH COPYRIGHT
-\fBgpgme\-tool\fP is Copyright \(co 2015-2016 g10 Code GmbH License
-GPLv2+: GNU GPL version 2 or later 
-.PP
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law.
-
-.SH "SEE ALSO"
-.BR gpgme\-tool (1),
-.BR /usr/include/gpgme.h ,
-.B info gpgme
diff -Nru gpgme1.0-1.18.0/debian/libgpgme-dev.install gpgme1.0-1.18.0/debian/libgpgme-dev.install
--- gpgme1.0-1.18.0/debian/libgpgme-dev.install	2022-09-06 20:52:33.0 +0200
+++ gpgme1.0-1.18.0/debian/libgpgme-dev.install	2022-10-26 06:56:43.0 +0200
@@ -1,4 +1,3 @@
-usr/bin/gpgme-config
 usr/bin/gpgme-tool
 usr/include/gpgme.h
 usr/lib/*/libgpgme.a
diff -Nru 

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

2022-10-25 Thread Andreas Metzler
Control: forwarded -1 https://dev.gnupg.org/T6204

On 2022-10-23 Lucas Nussbaum  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'



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

2022-10-23 Thread Lucas Nussbaum
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 '/<>/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=/<>=. 
> -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
> /<>/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=ign=7=7=only=ftbfs-20221023=lu...@debian.org=1=1=1=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.