Page MenuHome GnuPG
Feed Advanced Search

Jan 5 2024

werner moved T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4 from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, toolchain, Feature Request, patch

May 1 2023

gniibe closed T6264: gpgrt-config: Support multilib MinGW-w64 as Resolved.
May 1 2023, 5:06 AM · toolchain, gpgrt

Apr 13 2023

gniibe closed T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4 as Resolved.
Apr 13 2023, 5:07 AM · gnupg24, toolchain, Feature Request, patch

Jan 19 2023

werner removed a project from T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4: gnupg (gpg23).
Jan 19 2023, 4:47 PM · gnupg24, toolchain, Feature Request, patch

Dec 12 2022

gniibe changed the status of T6264: gpgrt-config: Support multilib MinGW-w64 from Open to Testing.

AFAIU, gpgrt-config works well now for the multilib MinGW target.

Dec 12 2022, 9:25 AM · toolchain, gpgrt

Nov 4 2022

werner added projects to T6264: gpgrt-config: Support multilib MinGW-w64: gpgrt, toolchain.
Nov 4 2022, 1:39 PM · toolchain, gpgrt

Oct 14 2022

gniibe changed the status of T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4 from Open to Testing.

Pushed.

Oct 14 2022, 7:10 AM · gnupg24, toolchain, Feature Request, patch

Sep 1 2022

eliz added a comment to T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4.

Should be OK for mingw.org's MinGW. I cannot test the MinGW64 bits, but I trust that you did.

Sep 1 2022, 7:16 AM · gnupg24, toolchain, Feature Request, patch
gniibe added a comment to T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4.

I encountered this issue of struct stat when compiling for x86_64 of Windows.
I'm considering this patch:

diff --git a/common/sysutils.c b/common/sysutils.c
index c30f9a0ce..bbed309a8 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -1237,10 +1237,20 @@ int
 gnupg_stat (const char *name, struct stat *statbuf)
 {
 # ifdef HAVE_W32_SYSTEM
+#  if __MINGW32_MAJOR_VERSION > 3
+    /* mingw.org's MinGW */
+#   define STRUCT_STAT _stat
+#  elif defined(_USE_32BIT_TIME_T)
+    /* MinGW64 for i686 */
+#   define STRUCT_STAT _stat32
+#  else
+    /* MinGW64 for x86_64 */
+#   define STRUCT_STAT _stat64i32
+#  endif
   if (any8bitchar (name))
     {
       wchar_t *wname;
-      struct _stat32 st32;
+      struct STRUCT_STAT st32;
       int ret;
Sep 1 2022, 6:27 AM · gnupg24, toolchain, Feature Request, patch

Jul 26 2022

werner closed T5899: Fix compilation of dirmngr with mingw.org's MinGW as Resolved.
Jul 26 2022, 8:58 PM · patch, Feature Request, Windows, toolchain

May 16 2022

gniibe removed a project from T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared: Restricted Project.
May 16 2022, 8:23 AM · toolchain, libksba, Bug Report

May 13 2022

werner closed T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared as Resolved.
May 13 2022, 3:48 PM · toolchain, libksba, Bug Report

May 10 2022

gniibe added a comment to T5899: Fix compilation of dirmngr with mingw.org's MinGW.

Pushed the changes for http.c.

May 10 2022, 7:58 AM · patch, Feature Request, Windows, toolchain

May 9 2022

gniibe closed T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result as Wontfix.

GCC 11.3 and GCC 12.1 are out with the fix.

May 9 2022, 3:02 AM · toolchain, libgcrypt, Bug Report

Mar 30 2022

gniibe claimed T5899: Fix compilation of dirmngr with mingw.org's MinGW.

Last part is applied. Let me consider how to solve, for other parts.

Mar 30 2022, 6:07 AM · patch, Feature Request, Windows, toolchain

Mar 22 2022

eliz added a comment to T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4.

I guess I don't understand what you mean by "native building". This build was with MinGW, which is as "native" as MinGW64 is.
The reason for the problem is (AFAIU) that MinGW64 went after Microsoft's change in stat due to the 32-bit vs 64-bit time and off_t values issue.s That change breaks backward compatibility in more than one way: programs compiled on some versions of Windows will not run on other versions. mingw.org's MinGW kept the original semantics and symbols, which is why _stat32 exists in the mingw.org's headers, but is not exposed by default.

Mar 22 2022, 1:52 PM · gnupg24, toolchain, Feature Request, patch
werner triaged T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4 as Normal priority.

Turned into a feature request because native building on Windows is not supported.

Mar 22 2022, 11:49 AM · gnupg24, toolchain, Feature Request, patch
werner triaged T5899: Fix compilation of dirmngr with mingw.org's MinGW as Normal priority.
Mar 22 2022, 11:43 AM · patch, Feature Request, Windows, toolchain

Mar 16 2022

gniibe closed T5157: libgcrypt: ARM64 Builds on macOS fail as Resolved.
Mar 16 2022, 3:09 PM · toolchain, MacOS, libgcrypt, Bug Report

Nov 23 2021

werner closed T5205: GNuPG compile error as Resolved.
Nov 23 2021, 9:17 AM · gnupg (gpg22), toolchain, Support

Oct 13 2021

gniibe added a project to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared: Restricted Project.
Oct 13 2021, 10:03 AM · toolchain, libksba, Bug Report
gniibe closed T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories as Resolved.
Oct 13 2021, 3:54 AM · pinentry, gpa, toolchain, Bug Report

Oct 12 2021

werner added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Bison used to be the de-facto standard yacc ;-)

Oct 12 2021, 2:33 PM · toolchain, libksba, Bug Report
gniibe claimed T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

I think that a simple way is defining a table (string -> token) by ourselves in yylex, not enabling %token-table.
(Then, we don't need to depend on the feature of string with %token, which is not supported by POSIX yacc.)

Oct 12 2021, 9:50 AM · toolchain, libksba, Bug Report

Oct 11 2021

werner raised the priority of T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared from Normal to High.

Thanks for your findings. I recall that I read this in the announcement and cursed about this new tendency in GNU to break long standing APIs.

Oct 11 2021, 5:49 PM · toolchain, libksba, Bug Report
adrianvovk added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Looks like yytoknum was removed from Bison in version 3.8: http://git.savannah.gnu.org/cgit/bison.git/commit/?id=1efe31185ff6b0bc22ff527098971bedf1ace5f4

Oct 11 2021, 8:50 AM · toolchain, libksba, Bug Report

Sep 22 2021

werner triaged T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared as Normal priority.
Sep 22 2021, 9:55 PM · toolchain, libksba, Bug Report

Sep 1 2021

jukivili added a comment to T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result.

Based on GCC bugzilla, affected released GCC versions are 11.1 and 11.2.

Sep 1 2021, 3:44 PM · toolchain, libgcrypt, Bug Report
jukivili added a comment to T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result.

(ab | ba) >= 0 is used to make optimization analysis for compiler more difficult. I see that with (ab | ba) == 0, it would be much easier for compiler to conclude than loop could exit early as soon as first a[i] != b[i] is seen.

Sep 1 2021, 3:39 PM · toolchain, libgcrypt, Bug Report

Aug 31 2021

changyp6 updated the task description for T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result.
Aug 31 2021, 9:57 AM · toolchain, libgcrypt, Bug Report
werner triaged T5581: buf_eq_const() function in cipher/bufhelp.h may get wrong result as High priority.
Aug 31 2021, 7:58 AM · toolchain, libgcrypt, Bug Report

May 11 2021

werner triaged T5431: Use AC_PROG_CC_C99 as Normal priority.
May 11 2021, 8:23 AM · gnupg24, toolchain, gnupg (gpg23)

Apr 18 2021

werner added a comment to T5394: scute: Build failure with slibtool.

t-link does not do antthing useful, anyway. I don't think it is justified to add dlopen stuff. Running real test is anyway a manual action; for a full test automation we would need to emulate all supported cards.

Apr 18 2021, 7:40 PM · toolchain, Feature Request, scute

Apr 17 2021

gouttegd added a comment to T5394: scute: Build failure with slibtool.

the t-link test should dlopen scute.so in runtime rather than link against it in build-time.

Apr 17 2021, 4:15 PM · toolchain, Feature Request, scute

Apr 16 2021

midipix added a comment to T5394: scute: Build failure with slibtool.

As of slibtool commit 9c5ba5eb, scute now builds out of the box. I'd still recommend taking the above into consideration, though.

Apr 16 2021, 4:53 PM · toolchain, Feature Request, scute
midipix added a comment to T5394: scute: Build failure with slibtool.

For what it's worth, scute is in violation of gnu libtool's documentation. Building with gnu libtool:

Apr 16 2021, 10:21 AM · toolchain, Feature Request, scute

Apr 15 2021

gniibe changed the status of T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories from Open to Testing.

Done for gpa.
Please test.

Apr 15 2021, 7:08 AM · pinentry, gpa, toolchain, Bug Report
gniibe added a comment to T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories.

Done for pinentry.

Apr 15 2021, 6:36 AM · pinentry, gpa, toolchain, Bug Report

Apr 13 2021

midipix added a comment to T5394: scute: Build failure with slibtool.

Regarding slibtool: I would actually like to have an easier to maintain tool than libtool (of which we use our own version) for GnuPG related software. However, its requirement "the compiler should support -std=c99" is currently a no-starter for libgcrypt and some other libs.

Apr 13 2021, 9:13 PM · toolchain, Feature Request, scute
werner triaged T5394: scute: Build failure with slibtool as Normal priority.
Apr 13 2021, 8:13 AM · toolchain, Feature Request, scute

Mar 29 2021

JW added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Sorry to dig up an old thread...

Mar 29 2021, 2:11 AM · toolchain, MacOS, libgcrypt, Bug Report

Feb 22 2021

werner added a comment to T5205: GNuPG compile error.

The configure run tells you what libraries are missing - none in your case. However, something is wrong with your development setup: The configure run detected libksba but cc compiler did not found it anymore. Check that you don't have any special envvars set etc. What is the actual compiler command which failed (make sure not to pass V=0 to make for this).

Feb 22 2021, 10:44 AM · gnupg (gpg22), toolchain, Support

Feb 21 2021

rameshrella added a comment to T5205: GNuPG compile error.

Dear Werner,

Feb 21 2021, 8:17 PM · gnupg (gpg22), toolchain, Support

Feb 15 2021

aheinecke changed the status of T5302: autogen.sh --build-w32 fails with "configure: convert is missing" from Wontfix to Resolved.

Thanks, I try to keep the README always up to date with the debian depenencies as I find this useful myself without running configure multiple times to find all the dependencies.

Feb 15 2021, 8:15 AM · toolchain, gpg4win

Feb 14 2021

doug added a comment to T5302: autogen.sh --build-w32 fails with "configure: convert is missing".

No question a list like this is bound to be incomplete, but the argument "the README can only tell about those which we don't expect to be installed on a developer's box" does not seem to apply to the other items already on the list. For instance build-essentials and automake are almost certainly on every developers machine already.

Feb 14 2021, 6:43 PM · toolchain, gpg4win
werner closed T5302: autogen.sh --build-w32 fails with "configure: convert is missing" as Wontfix.

There is a message telling you what is missing. Thus I can not consider this a bug. There are just too many dependencies which are required for cross-compiling that the README can only tell about those which we don't expect to be installed on a developer's box.

Feb 14 2021, 4:12 PM · toolchain, gpg4win

Feb 12 2021

werner closed T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, as Resolved.
Feb 12 2021, 12:34 PM · toolchain, MacOS, libgcrypt, Bug Report

Feb 1 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

no, that doesn't change anything.

Feb 1 2021, 8:00 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 31 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does it build if configure with parameter 'ac_cv_sys_symbol_underscore=yes'? <path-to-libgcrypt-source>/configure ac_cv_sys_symbol_underscore=yes --host=aarch64-apple-darwin ...

Jan 31 2021, 7:32 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 30 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Compiling now works, but I get the following linker errors:

Jan 30 2021, 5:15 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 29 2021

werner changed the status of T5259: Release Libgcrypt 1.9.1, a subtask of T5157: libgcrypt: ARM64 Builds on macOS fail, from Open to Testing.
Jan 29 2021, 11:25 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 28 2021

gniibe added a subtask for T5157: libgcrypt: ARM64 Builds on macOS fail: T5259: Release Libgcrypt 1.9.1.
Jan 28 2021, 12:30 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 24 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does attached patch help?

Jan 24 2021, 3:49 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 23 2021

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

I tried it - that doesn't help. Same error message.

Jan 23 2021, 5:48 PM · toolchain, MacOS, libgcrypt, Bug Report
jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Problem is in GET_DATA_POINTER macro. MacOS assembler expects data references in some different format than Linux. Could you try following edit and see if libgcrypt then compiles? In cipher/asm-common-aarch64.h, there is definition of GET_DATA_POINTER macro:

#ifdef _WIN32
#define GET_DATA_POINTER(reg, name) \
	adrp    reg, name ; \
	add     reg, reg, #:lo12:name ;
#else
#define GET_DATA_POINTER(reg, name) \
	adrp    reg, :got:name ; \
	ldr     reg, [reg, #:got_lo12:name] ;
#endif
Jan 23 2021, 4:49 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

I have now tried to build libgcrypt 1.9.0 for arm64 using clang. I get the following error:

Jan 23 2021, 10:52 AM · toolchain, MacOS, libgcrypt, Bug Report

Jan 5 2021

werner triaged T5190: g10 Compiler error as Low priority.
Jan 5 2021, 9:40 AM · AIX, toolchain, gnupg
werner triaged T5157: libgcrypt: ARM64 Builds on macOS fail as Normal priority.
Jan 5 2021, 9:18 AM · toolchain, MacOS, libgcrypt, Bug Report
werner triaged T5205: GNuPG compile error as Low priority.
Jan 5 2021, 9:12 AM · gnupg (gpg22), toolchain, Support

Dec 26 2020

werner edited projects for T5190: g10 Compiler error , added: toolchain, AIX; removed Info Needed.
Dec 26 2020, 8:54 PM · AIX, toolchain, gnupg

Dec 4 2020

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

OK, then we'll have to live with --disable-asm until the next major version is released, or switch to gcc.

Dec 4 2020, 9:20 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

We should not do this.

Dec 4 2020, 12:17 PM · toolchain, MacOS, libgcrypt, Bug Report

Dec 3 2020

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

AArch64 clang support was added to 'master' on 2018-03-28. One would need to backport commits 8ee38806245ca8452051b1a245f44082323f37f6...9b58e4a03ba3aeff7bae3f40da706977870c9649 to 1.8 branch.

Dec 3 2020, 7:39 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

ARM64 has been only tested on platforms which support ELF.

While it doesn't looks good (using AMD64 even if it's ARM64), I think this patch should be applied:

diff --git a/cipher/asm-common-aarch64.h b/cipher/asm-common-aarch64.h
...
Dec 3 2020, 5:48 PM · toolchain, MacOS, libgcrypt, Bug Report

Dec 1 2020

gniibe added a comment to T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation).

For macOS, with SIP, some program like libgcrypt/tests/random fails, because the hack for DYLD_LIBRARY_PATH by libtool doesn't work for child process:
https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html

Dec 1 2020, 3:09 AM · toolchain

Nov 30 2020

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Another issue that comes in to mind is that current ARM/ARM64 HW feature detection most likely wont work on MacOS. Thus HW accelerated AES&SHA&GHASH implementation wont be used.

Nov 30 2020, 8:54 AM · toolchain, MacOS, libgcrypt, Bug Report
werner added a parent task for T5157: libgcrypt: ARM64 Builds on macOS fail: T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.
Nov 30 2020, 8:47 AM · toolchain, MacOS, libgcrypt, Bug Report
jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS is never defined on ARM64 as it depends on "$mpi_cpu_arch" == "x86". Instead I think new check for GCC assembly ELF directives would be needed in configure.ac, similar to HAVE_GCC_ASM_CFI_DIRECTIVES check. Following check should work, but I have not yet tested it:

Nov 30 2020, 6:49 AM · toolchain, MacOS, libgcrypt, Bug Report
gniibe added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

ARM64 has been only tested on platforms which support ELF.

Nov 30 2020, 2:48 AM · toolchain, MacOS, libgcrypt, Bug Report

Nov 29 2020

patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Yes, I did. Identical result.

Nov 29 2020, 5:12 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Why the hell do they that? The standard compiler on a system is called cc which may translated to whatever the system installs for it. gcc is a specific implementation with certain properties. Di you try CC=clang to override this?

Nov 29 2020, 4:41 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

And the arm64 cross-compiler:

Nov 29 2020, 3:06 PM · toolchain, MacOS, libgcrypt, Bug Report
patrick added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Sorry, I forgot to mention that Apple ships a gcc-wrapper for clang. It just accepts gcc command lines parameters and translates them to clang parameters.
Here is the output of gcc --version:

Nov 29 2020, 2:54 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

You say that you build using clang but the log shows that you invoke gcc.

Nov 29 2020, 1:22 PM · toolchain, MacOS, libgcrypt, Bug Report
werner added projects to T5157: libgcrypt: ARM64 Builds on macOS fail: libgcrypt, MacOS, toolchain.
Nov 29 2020, 1:21 PM · toolchain, MacOS, libgcrypt, Bug Report

Oct 3 2020

werner closed T5088: gpgme-1-13-1 test failure and errors and build errors as Resolved.
Oct 3 2020, 7:55 PM · gpgme, toolchain, Bug Report

Aug 17 2020

werner triaged T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation) as Normal priority.
Aug 17 2020, 9:41 AM · toolchain
werner closed T5025: error: Cannot find a type to use in place of socklen_t as Resolved.

No, c99 was never required. Meanwhile we use a few c99 features but those are supported without any compiler option.

Aug 17 2020, 9:27 AM · Solaris, toolchain, libassuan

Aug 14 2020

JW added a comment to T5025: error: Cannot find a type to use in place of socklen_t.

-std=c99 is probably the reason that the tests fail.

Aug 14 2020, 9:42 PM · Solaris, toolchain, libassuan
werner added projects to T5025: error: Cannot find a type to use in place of socklen_t: toolchain, Solaris.

Please try with out supplied CFLAGS or change them from

Aug 14 2020, 9:40 AM · Solaris, toolchain, libassuan

Jul 16 2020

werner added a project to T3957: GPGME: mkdefsinc segfaults on windows: unreproducible.
Jul 16 2020, 3:29 PM · unreproducible, toolchain, Documentation, Windows, gpgme
werner closed T3957: GPGME: mkdefsinc segfaults on windows as Invalid.

No info received

Jul 16 2020, 3:27 PM · unreproducible, toolchain, Documentation, Windows, gpgme

Jun 28 2020

werner closed T4980: Libgpg-Error compilation fails if grep_options are enabled as Wontfix.
Jun 28 2020, 4:17 PM · toolchain, MacOS, Bug Report

Mar 20 2020

werner closed T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide as Resolved.
Mar 20 2020, 5:59 PM · gnupg (gpg22), toolchain, Bug Report

Mar 18 2020

werner moved T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:49 PM · gnupg (gpg22), toolchain, Bug Report

Feb 17 2020

werner triaged T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories as Normal priority.

Yeah, this can be done.

Feb 17 2020, 9:19 AM · pinentry, gpa, toolchain, Bug Report

Feb 10 2020

werner changed the status of T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide from Open to Testing.

Building with -fno-common now works for me on 2.2 and master. Thanks for the patch.

Feb 10 2020, 4:52 PM · gnupg (gpg22), toolchain, Bug Report
werner added a comment to T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide.

I took your patch but modified it to define EXTERN_UNLESS_MAIN_MODULE only at one place.

Feb 10 2020, 4:39 PM · gnupg (gpg22), toolchain, Bug Report

Feb 6 2020

werner closed T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name as Resolved.

It has been fixed in the repo for nearly a year, see T4459. A new release is urgently required and will follow in the next days. I close this as a duplicate.

Feb 6 2020, 6:21 PM · Duplicate, gpgrt, toolchain, Bug Report

Feb 3 2020

werner triaged T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide as High priority.

In a private mail someone else reported a similar problems and explained that gcc-10 will change the default from -fcommon to -fno-common. I think this is again a bad move in compiler development. Replacing the de-facto standard C compiler behaviour with something _allowed_ by ISO-C. No industrial grade toolchain would ever do such a silly default change - too many customers would rightfully be angry with them.

Feb 3 2020, 10:21 AM · gnupg (gpg22), toolchain, Bug Report

Jan 29 2020

werner edited projects for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name, added: toolchain, gpgrt; removed gnupg.
Jan 29 2020, 10:29 AM · Duplicate, gpgrt, toolchain, Bug Report

Apr 8 2019

gniibe closed T4415: Does not build using gcc 9 as Invalid.

For what I use, please refer: https://tracker.debian.org/pkg/gcc-9

Apr 8 2019, 11:57 PM · Info Needed, toolchain, Bug Report

Apr 7 2019

kloczek added a comment to T4415: Does not build using gcc 9.

Which one version gcc 9 you've been using?
May I see gcc -v ?

Apr 7 2019, 8:46 AM · Info Needed, toolchain, Bug Report
werner added a comment to T4415: Does not build using gcc 9.

@gniibe already wrote: “With gcc-9 in Debian experimental, everything goes well.”

Apr 7 2019, 8:19 AM · Info Needed, toolchain, Bug Report

Apr 6 2019

kloczek added a comment to T4415: Does not build using gcc 9.

BTW: fedora corp provides already free access to build envs with gcc 9 which can be easily integrated with CIs.

Apr 6 2019, 8:49 AM · Info Needed, toolchain, Bug Report
kloczek added a comment to T4415: Does not build using gcc 9.

What you mean " it is not reproducible for u"?
Did you try to use gcc 9 and you had no problems compiling gnupg or you don't have access to build env with gcc 9?
Try to google to "gcc 9 pragma" and you will find several discussions and patches done by people fixing similar issues.

Apr 6 2019, 8:48 AM · Info Needed, toolchain, Bug Report
gniibe added a project to T4415: Does not build using gcc 9: Info Needed.
Apr 6 2019, 3:58 AM · Info Needed, toolchain, Bug Report
gniibe added a comment to T4415: Does not build using gcc 9.

@kloczek , it is not reproducible for us, so, we consider it may be a problem other than GnuPG itself, possibly, some specific build configuration parameter(s) for GCC, or something by unreleased code.
Please file a report with how to reproduce your problem.

Apr 6 2019, 3:57 AM · Info Needed, toolchain, Bug Report

Apr 5 2019

kloczek added a comment to T4415: Does not build using gcc 9.

Why do you think that it is gcc bug?

Apr 5 2019, 9:29 AM · Info Needed, toolchain, Bug Report
werner triaged T4415: Does not build using gcc 9 as Normal priority.

So this seems to be a gcc bug, right. Then we should close this bug.

Apr 5 2019, 9:26 AM · Info Needed, toolchain, Bug Report