[gpgme][PATCH] autogen.sh: remove '-unknown' in version

Clemens Lang cllang at redhat.com
Tue Feb 28 10:44:28 CET 2023


Hi Werner,

Werner Koch via Gnupg-devel <gnupg-devel at gnupg.org> wrote:

> On Tue, 28 Feb 2023 07:22, Chen, Qi said:
>
>> I don't know much about gpgme. Could you please tell me why this
>> function will not be called when building from tarball?
>
> You ran the script.  This is only needed if you want to build a new
> configure script.
>
>   ./configure
>   make
>   make install  # usually as root
>
> is the canonical triple jump to build software


There are a few distribution build systems out there that will always
re-generate configure scripts from configure.ac, and Yocto (as mentioned by
the reporter) is one of them.

They do this because some projects have been slow in updating their
dependencies which occasionally causes problems with the configure scripts,
because macros from those dependencies are being copied into ./configure,
and re-generating the scripts fixes this. This often addresses problems on
new architectures, for example.

It would be helpful if GnuPG and gpgme could support re-creation of the
configure scripts from the tarballs.


Qi: You could delete configure.ac before do_configure, which makes
autotools.bbclass avoid the autoreconf [1].

  [1] https://git.yoctoproject.org/poky/tree/meta/classes-recipe/autotools.bbclass#n174


HTH,
Clemens




More information about the Gnupg-devel mailing list