Page MenuHome GnuPG
Feed Advanced Search

Nov 25 2021

werner added a project to T5705: GnuPG: System wide configuration ignored when gpg.conf-2 exists: gpgrt.
Nov 25 2021, 2:56 PM · Not A Bug, gnupg, Restricted Project
gniibe changed the status of T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS from Open to Testing.

Reading the documentation of musl, it seems that there are no equivalent feature which detects if an application is single-threaded or not.

Nov 25 2021, 4:11 AM · gpgrt, Bug Report
gniibe claimed T2385: support more than 1024 fds..
Nov 25 2021, 3:29 AM · gpgrt, Feature Request, gpgme
gniibe added a project to T2385: support more than 1024 fds.: Restricted Project.
Nov 25 2021, 3:29 AM · gpgrt, Feature Request, gpgme

Nov 24 2021

gniibe triaged T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS as Normal priority.
Nov 24 2021, 3:20 AM · gpgrt, Bug Report
gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

In the libgpg-error implementation, it may skip synchronization when it can detect an application is single threaded. The t-lock-single-thread test checks if it really skips as intended.

Nov 24 2021, 3:20 AM · gpgrt, Bug Report
gniibe claimed T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.
Nov 24 2021, 2:55 AM · gpgrt, Bug Report

Nov 22 2021

werner added a comment to T5698: w32: Support poll with FD backend.

I do not think that we should put any more support for FDs into gpgrt. The goal is to move entirely to the Win32 API.

Nov 22 2021, 9:38 AM · Windows, gpgrt

Nov 19 2021

gniibe added a comment to T5698: w32: Support poll with FD backend.

I don't know how runtime (of mingw) is thread-safe, but if it is, it should work well.

Nov 19 2021, 8:05 AM · Windows, gpgrt
gniibe added projects to T5698: w32: Support poll with FD backend: gpgrt, Windows.
Nov 19 2021, 5:12 AM · Windows, gpgrt

Nov 15 2021

wrobelda added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Also, and I should maybe have opened with it, the issues vcpkg has with your build system are currently tracked here, while my effort to build gpg-error natively (i.e. without relying on ShiftMediaProject fork) on all platforms is here.

Nov 15 2021, 11:27 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
wrobelda added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Let me clarify the use case of gpg-error.m4.

gpg-error.m4 is for GnuPG and its friends, where we cannot assume availability of pkg-config. Its capability is limited, and we don't pursue 100% compatibility of pkg-config.

Nov 15 2021, 11:16 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Let me clarify the use case of gpg-error.m4.

Nov 15 2021, 2:30 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
wrobelda added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

If it is new, it may be the change of this commit rC8e3cd4c4677c: build: Update gpg-error.m4.

Nov 15 2021, 1:22 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Nov 12 2021

gniibe triaged T5683: Deprecation of gpg-error-config as Wishlist priority.
Nov 12 2021, 5:49 AM · gpgrt

Nov 10 2021

gniibe added a project to T5610: macOS 11 or newer support: Update libtool: gpgme.

Also applied to gpgme.

Nov 10 2021, 3:07 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Since there is no problem with libgpg-error 1.43, I applied it to other libraries: npth, libassuan, libksba, and ntbtls.

Nov 10 2021, 3:04 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Nov 4 2021

gniibe added a comment to T2385: support more than 1024 fds..

For libgcrypt, it was fixed in: T5637: Use poll for libgcrypt (support more than 1024 fds)

Nov 4 2021, 3:54 AM · gpgrt, Feature Request, gpgme
gniibe changed the status of T5637: Use poll for libgcrypt (support more than 1024 fds), a subtask of T2385: support more than 1024 fds., from Open to Testing.
Nov 4 2021, 1:43 AM · gpgrt, Feature Request, gpgme
gniibe changed the status of T5637: Use poll for libgcrypt (support more than 1024 fds) from Open to Testing.
Nov 4 2021, 1:43 AM · libgcrypt, Feature Request

Nov 3 2021

werner closed T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH as Resolved.
Nov 3 2021, 3:17 PM · gpgrt
werner closed T5610: macOS 11 or newer support: Update libtool as Resolved.
Nov 3 2021, 3:16 PM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
werner closed T5352: Release libgpg-error 1.43 as Resolved.
Nov 3 2021, 3:16 PM · gpgrt, Release Info
werner triaged T5676: Release Libgpg-error 1.44 as Low priority.
Nov 3 2021, 3:10 PM · Release Info, gpgrt

Oct 5 2021

gniibe set External Link to https://src.fedoraproject.org/rpms/libgcrypt/blob/rawhide/f/libgcrypt-1.8.4-use-poll.patch on T5637: Use poll for libgcrypt (support more than 1024 fds).
Oct 5 2021, 6:32 AM · libgcrypt, Feature Request
gniibe triaged T5637: Use poll for libgcrypt (support more than 1024 fds) as High priority.
Oct 5 2021, 6:31 AM · libgcrypt, Feature Request

Oct 4 2021

werner raised the priority of T2385: support more than 1024 fds. from Normal to High.
Oct 4 2021, 11:08 AM · gpgrt, Feature Request, gpgme

Sep 29 2021

Jakuje added a comment to T2385: support more than 1024 fds..

Hi, was there any update on this? I found the following bug [0] in libgcrypt, which we solved [1] with using poll ages ago.

Sep 29 2021, 6:13 PM · gpgrt, Feature Request, gpgme

Sep 27 2021

aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

These are great news. Thank you!

Sep 27 2021, 6:35 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Pushed the change to libgpg-error and libgcrypt (1.9 and master).
Let us see if there are any problem(s) for that, I will apply it to other libraries when it will be found no problem.

Sep 27 2021, 4:16 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe renamed T5610: macOS 11 or newer support: Update libtool from Update libtool to macOS 11 or newer support: Update libtool.
Sep 27 2021, 3:31 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Thank you for the information.
For the record, I put the link to the email submitted:
https://lists.gnu.org/archive/html/libtool-patches/2020-06/msg00001.html

Sep 27 2021, 3:30 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Sep 22 2021

aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

Oh, you are right, it's not upstream. It's actually applied to Homebrew (https://brew.sh/) libtool formula which is where I originally got libtool.m4, see:

Sep 22 2021, 9:06 PM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

I see your point. I'd like to locate/identify where the change comes from.
I think that what you refer by "new libtool.m4" is actually macOS local change (I mean, not from libtool upstream, AFAIK).
Could you please point out the source of the change?

Sep 22 2021, 2:01 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Sep 21 2021

aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

That would work, however we might hit this issue with a new macOS release. Would it make more sense to update to what the new libtool.m4 is doing? Linker flags are the same, it only changes the way they detect macOS versions:

Sep 21 2021, 8:33 PM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
werner added a comment to T5610: macOS 11 or newer support: Update libtool.

That does indeed not look like something which could introduce a regression.

Sep 21 2021, 11:43 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

I misunderstood as if we need to update libtool from upstream.

Sep 21 2021, 9:16 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
werner triaged T5610: macOS 11 or newer support: Update libtool as Low priority.

macOS has low priority for us and I do not want to risk any regression.

Sep 21 2021, 8:42 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

About merging our local changes.

Sep 21 2021, 8:11 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

We have our own changes for ltmain.sh and libtool.m4.

Sep 21 2021, 7:19 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

And update from automake 1.16:

Sep 21 2021, 7:02 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

It's better to update the set of files from libtool:

build-aux/ltmain.sh
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
Sep 21 2021, 6:58 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Our libtool was 2.4.2 + Debian patches + our local changes.
Debian patches are:
https://salsa.debian.org/mckinstry/libtool/-/blob/debian/master/debian/patches/link_all_deplibs.patch
https://salsa.debian.org/mckinstry/libtool/-/blob/debian/master/debian/patches/netbsdelf.patch

Sep 21 2021, 6:57 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe created T5610: macOS 11 or newer support: Update libtool.
Sep 21 2021, 6:33 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Sep 10 2021

ikloecker added a comment to T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH.

The fix works for me (using bash on openSUSE Tumbleweed).

Sep 10 2021, 12:26 PM · gpgrt
gniibe changed the status of T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH from Open to Testing.
Sep 10 2021, 3:00 AM · gpgrt

Sep 9 2021

gniibe added a comment to T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH.

Here is a possible fix:

Sep 9 2021, 12:36 PM · gpgrt
gniibe triaged T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH as High priority.
Sep 9 2021, 12:33 PM · gpgrt

Aug 30 2021

gniibe closed T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection as Resolved.
Aug 30 2021, 7:05 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Aug 26 2021

gniibe closed T5547: Single thread support with newer GNU C library (2.34 or later) as Resolved.

Added a test, and tested with glibc 2.32 by manual editing config.h for USE_POSIX_THREADS_FROM_LIBC.
Works correctly.

Aug 26 2021, 6:37 AM · gpgrt

Aug 23 2021

pert added a comment to T5135: Provide more practical thread-safe strerror, perhaps with strerror_l.

Actually, I think there's a way to make gpg_strerror_r more usable on its own. I previously said

I find it quite difficult to use strerror_r and gpg_strerror_r. With having to guess and retry to get an appropriate buffer length, a wrapper which dynamically allocates the string seems to be needed.

Aug 23 2021, 7:47 PM · gpgrt, Feature Request

Aug 13 2021

werner changed the edit policy for gpgrt.
Aug 13 2021, 11:04 PM
werner changed the edit policy for T5352: Release libgpg-error 1.43.
Aug 13 2021, 11:57 AM · gpgrt, Release Info
werner updated subscribers of T5352: Release libgpg-error 1.43.
Aug 13 2021, 11:57 AM · gpgrt, Release Info
werner placed T5352: Release libgpg-error 1.43 up for grabs.
Aug 13 2021, 11:57 AM · gpgrt, Release Info

Aug 6 2021

gniibe renamed T5547: Single thread support with newer GNU C library (2.34 or later) from Single thread support with newer GNU C library (2.32 or later) to Single thread support with newer GNU C library (2.34 or later).
Aug 6 2021, 9:19 AM · gpgrt
gniibe claimed T5547: Single thread support with newer GNU C library (2.34 or later).
Aug 6 2021, 9:19 AM · gpgrt
gniibe added a comment to T5547: Single thread support with newer GNU C library (2.34 or later).

Here is the documentation of the new way of single-threaded execution:
https://www.gnu.org/software/libc/manual/html_node/Single_002dThreaded.html

Aug 6 2021, 4:17 AM · gpgrt

Aug 5 2021

gniibe added a comment to T5547: Single thread support with newer GNU C library (2.34 or later).

We also need to update m4/threadlib.m4.
Now, it's maintained in gnulib.
See the changes in:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=12b5b00f93c6433c3df8176fc9674d7600f8b268

Aug 5 2021, 8:53 AM · gpgrt
gniibe edited projects for T5547: Single thread support with newer GNU C library (2.34 or later), added: gpgrt; removed libgcrypt.
Aug 5 2021, 8:34 AM · gpgrt

Jun 8 2021

gniibe closed T5048: Error handling in libassuan as Resolved.

Applied and pushed.

Jun 8 2021, 8:11 AM · gpgrt, libassuan

Apr 20 2021

gniibe closed T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config as Resolved.
Apr 20 2021, 2:36 AM · gpgrt

Apr 16 2021

werner added a comment to T5048: Error handling in libassuan.

(sorry, about my former comment, I only now realized that you did just that already in your original patch)

Apr 16 2021, 10:03 AM · gpgrt, libassuan
gniibe added a comment to T5048: Error handling in libassuan.

Updated:

diff --git a/configure.ac b/configure.ac
index 53a343b..f496729 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,6 +82,7 @@ AC_PROG_AWK
 AC_CHECK_TOOL(AR, ar, :)
 AC_USE_SYSTEM_EXTENSIONS
Apr 16 2021, 8:50 AM · gpgrt, libassuan
werner added a comment to T5048: Error handling in libassuan.

I guess the strcasecmp (nl_langinfo (CODESET), "UTF-8") results in some overhead, so if we do that what about kicking in only if a truncation is really to happen.

Apr 16 2021, 8:26 AM · gpgrt, libassuan
gniibe added a project to T5048: Error handling in libassuan: gpgrt.
Apr 16 2021, 3:56 AM · gpgrt, libassuan

Apr 15 2021

gniibe closed T5296: libgpg-error: build failure without threads as Resolved.
Apr 15 2021, 4:18 AM · gpgrt, Bug Report

Apr 12 2021

gniibe changed the status of T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection from Open to Testing.
Apr 12 2021, 6:13 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe closed T5381: libgpg-error coverity static analysis reports as Resolved.

Thank you for your publishing your key of CB6BE1D0D7D1594A.
I applied and pushed your changes.

Apr 12 2021, 6:08 AM · gpgrt, Bug Report

Apr 9 2021

gniibe added a comment to T5381: libgpg-error coverity static analysis reports.

Thanks. Note, that the same code is in gnupg2 in common/exechelp-posix.c:736

Apr 9 2021, 1:45 AM · gpgrt, Bug Report

Apr 8 2021

Jakuje added a comment to T5381: libgpg-error coverity static analysis reports.

For gpgrt_wait_processes, I modified it to skip invalid PID.
The change is: rE956c40f106ea: core: Fix gpgrt_wait_processes, by skipping invalid PID.

Apr 8 2021, 9:33 AM · gpgrt, Bug Report
gniibe added a comment to T5381: libgpg-error coverity static analysis reports.

For gpgrt_wait_processes, I modified it to skip invalid PID.
The change is: rE956c40f106ea: core: Fix gpgrt_wait_processes, by skipping invalid PID.

Apr 8 2021, 4:26 AM · gpgrt, Bug Report

Apr 7 2021

Jakuje added a comment to T5381: libgpg-error coverity static analysis reports.

Thanks. I understand that this is no big issue in the test code, but half of the code paths have proper cleaning already so fixing it once should save anyone in the future going through the same issues over and over again during our releases or anyone else who would run your code through static analyzer.

Apr 7 2021, 11:56 AM · gpgrt, Bug Report
gniibe added a comment to T5381: libgpg-error coverity static analysis reports.

Thank you.
For get_attr_l, I pushed a fix as rE89a353f418f5: build: Fix gpgrt-config for handling 'Requires' field.

Apr 7 2021, 10:25 AM · gpgrt, Bug Report

Apr 6 2021

werner added a project to T5381: libgpg-error coverity static analysis reports: gpgrt.

Actually I don't care about releasing resources for regression test failures.
The other missing free is for code which is commented out (#if 0) but should eventually be fixed.

Apr 6 2021, 11:29 PM · gpgrt, Bug Report

Apr 1 2021

gniibe closed T5289: gen-lock-obj.sh uses echo -n from /bin/sh, which echos "-n" as Resolved.

Fixed in 1.42.

Apr 1 2021, 5:58 AM · MacOS, gpgrt, Bug Report

Mar 31 2021

gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

I was wrong in my last comment. Escaping by another \ is needed.

Mar 31 2021, 4:09 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Mar 30 2021

werner added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

A PATH with spaces is too Windowish (or macOS). IIRC, we had once checks that the used directories have proper names; we can expect this for build environment. Spaces in file names are horrible from a security POV it is just to easy to get things wrong (hello ssh).

Mar 30 2021, 5:15 PM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe Note that you also need to at least add the semicolons, as BSD sed is trying to parse "gp}" as substitution flags (which, honestly, makes more forward-compatible sense than GNU sed's behavior...).

Mar 30 2021, 10:35 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Or, if we keep the code of newline (so that it will eventually support path with a space in future):

Mar 30 2021, 9:55 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Thank you. Sorry for the use of GNU sed extension. It could be just a whitespace, if it's OK not to support path having a space.
sed -n -e "/^libraries/{s/libraries: =//;s/:/ /gp}") should work.

Mar 30 2021, 9:42 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe OK, so... "worst case": I guess this worked? ;P

Mar 30 2021, 8:23 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe Actually, I just realized that neither of the commands I provided work, as I failed to notice you were trying to also replace :'s with newlines (as I guess libraries from clang can return multiple paths). I'd momentarily edited my comment to just try to add back your colon replacement, before remembering you can't do that either: \n is a GNU sed extension. Hilariously, I'm always in contexts where I can assume I'm using bash (which isn't ok for configure), so I've never bothered to learn a technique that doesn't involve $'\n'... do you have a strategy for doing this replacement? :(

Mar 30 2021, 8:19 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik updated the task description for T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.
Mar 30 2021, 8:14 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe Ah yeah, that was the commit I meant to reference when I said "--maybe caused by --", but then forgot to go back and fill in the commit hash ;P.

Mar 30 2021, 8:10 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

I wonder if this works in your use case:

diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4
index d910754e..aeedaf10 100644
--- a/m4/gpg-error.m4
+++ b/m4/gpg-error.m4
@@ -65,7 +65,7 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
   min_gpg_error_version=ifelse([$1], ,1.33,$1)
   ok=no
Mar 30 2021, 7:36 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

If it is new, it may be the change of this commit rC8e3cd4c4677c: build: Update gpg-error.m4.

Mar 30 2021, 7:22 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

(To be clear, I also know enough about autoconf to not have been like, blocked from upgrading by this: overriding ac_cv_path_GPGRT_CONFIG worked, but I can't believe that's the intended way for someone to ensure they get the correct path for gpgrt-config ;P.)

Mar 30 2021, 6:53 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe The problem is that the check seems to just find gpgrt-config from the path; like, I'm already passing --prefix and --host, but it is deciding to just arbitrarily pick up my system-wide copy of /usr/local/bin/gpgrt-config. Here's my entire configure invocation from that earlier failed build: note that the --prefix is the same as --with-gpg-error-prefix.

Mar 30 2021, 6:43 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe triaged T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection as Normal priority.

We are in transition from old gpg-error-config to new gpgrt-config. <-- This is the cause, while I tried to cover most use cases.

Mar 30 2021, 4:19 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Mar 26 2021

werner assigned T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection to gniibe.
Mar 26 2021, 10:47 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Mar 22 2021

werner closed T5194: Release libgpg-error 1.42 as Resolved.
Mar 22 2021, 1:39 PM · gpgrt, Release Info
werner triaged T5352: Release libgpg-error 1.43 as Low priority.
Mar 22 2021, 11:52 AM · gpgrt, Release Info

Feb 18 2021

gniibe changed the status of T5296: libgpg-error: build failure without threads from Open to Testing.

Pushed the change. Please test.

Feb 18 2021, 2:24 AM · gpgrt, Bug Report
gniibe added a comment to T5296: libgpg-error: build failure without threads.

See the comment in rE13918d05a333: Allow building with --disable-threads. for ABI incompatibility.

Feb 18 2021, 2:24 AM · gpgrt, Bug Report

Feb 17 2021

gniibe added a comment to T5296: libgpg-error: build failure without threads.

When building with no threads support, I think that generating same lock-obj-pub-$host.h is just possible by this change.

Feb 17 2021, 4:33 AM · gpgrt, Bug Report

Feb 16 2021

gniibe added a comment to T5296: libgpg-error: build failure without threads.

Tell us the architecture(s) which doesn't support POSIX threads by uClibc.
Adding support for such an architecture would be the best.

Feb 16 2021, 5:09 AM · gpgrt, Bug Report
gniibe added a comment to T5296: libgpg-error: build failure without threads.

Sorry, I was assuming uClibc were not supporting POSIX threads.

Feb 16 2021, 4:49 AM · gpgrt, Bug Report

Feb 15 2021

gniibe added a comment to T5296: libgpg-error: build failure without threads.

Thank you for more information.

Feb 15 2021, 11:24 PM · gpgrt, Bug Report
ffontaine added a comment to T5296: libgpg-error: build failure without threads.

I was not the author of the host "hacking" which has been committed to buildroot in 2016 by https://git.buildroot.net/buildroot/commit/package/?id=2f89476ad98b82ea9f914337b0050c4808082c82 so I can't really comment on it.
You can find more information here: https://patchwork.ozlabs.org/project/buildroot/patch/1451762923-15985-1-git-send-email-joerg.krause@embedded.rocks/
Especially, it seems that Jörg Krause started a discussion about this issue and proposed a patch to fix the architecture depends but it was never applied. Unfortunately, I wasn't able to find more information as it seems that links on comments.gmane.org are broken ...

Feb 15 2021, 9:03 AM · gpgrt, Bug Report