Mailing List Archive

Build Error for gnupg2-2.4.0
Hello,

I'm building gnupg 2.4.0, and it failed while 'make check'ing [1]. It
seems that there are mistakes inside tests/gpgme/Makefile.am. It reads:

xcheck:
@$(MKDIR_P) setup.scm/tests \
tests/gpg lang/qt/tests lang/python/tests

But "setup.scm" itself is a regular file, I think none of distros allows
creating subdir under a file.

Will the mistake be fixed in the near future? Thanks.

[1]: http://build.openanolis.cn/kojifiles/work/tasks/3643/483643/build.log
Re: Build Error for gnupg2-2.4.0 [ In reply to ]
On Dienstag, 20. Dezember 2022 15:07:44 CET Wang Peng via Gnupg-devel wrote:
> Hello,
>
> I'm building gnupg 2.4.0, and it failed while 'make check'ing [1]. It
> seems that there are mistakes inside tests/gpgme/Makefile.am. It reads:
>
> xcheck:
> @$(MKDIR_P) setup.scm/tests \
> tests/gpg lang/qt/tests lang/python/tests
>
> But "setup.scm" itself is a regular file, I think none of distros allows
> creating subdir under a file.

The problem only occurs if you try to build in source tree. We recommend not
to build in source tree, and, while building in source tree should work, we
don't test this (we never build in source tree) and thus do not guarantee that
it works.

> Will the mistake be fixed in the near future? Thanks.

https://dev.gnupg.org/T6313

Regards,
Ingo