Page MenuHome GnuPG
Feed Advanced Search

Nov 4 2022

gniibe added a comment to T6249: gpgrt: spawn functions.

For the spawn_cb, I reconsider. Having three calls complicates use, and it is actually not needed. In the case of pthread_atfork, it is needed, because fork may be used deeply in some functions. In our use cases of spawn function, prepare part of the callback can be called before calling spawn, and parent part of the callback can be called after calling spawn.

Nov 4 2022, 6:49 AM · gnupg, libassuan, gpgrt
gniibe added a comment to T6249: gpgrt: spawn functions.

I decide use of pid_t, as there are different semantics between POSIX and Windows, *and* there is a problem of MinGW-w64. I introduce gpgrt_process_t, instead.

Nov 4 2022, 6:45 AM · gnupg, libassuan, gpgrt

Oct 31 2022

gniibe added a comment to T6249: gpgrt: spawn functions.

Another thing when we define a type which represents process.
For pid_t, MinGW-w64 has a bug: https://bugzilla.redhat.com/show_bug.cgi?id=1397787 (or https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/1456671365-21759-1-git-send-email-sw%40weilnetz.de/).
(1) GetCurrentProcessId always returns 32-bit (DWORD), so, it can be represented in 32-bit (although DWORD is unsigned).
(2) POSIX requires pid_t should be signed integer https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html
(3) Original MinGW defines pid_t as int (in include/sys/type.h by _pid_t). (checked in mingwrt-5.4.2)

Oct 31 2022, 5:56 AM · gnupg, libassuan, gpgrt

Oct 27 2022

gniibe added a comment to T6249: gpgrt: spawn functions.

@werner - having another argument might be useful. Indeed, pthread_atfork has three callback functions as its arguments (prepare, parent, and child).

Oct 27 2022, 10:12 AM · gnupg, libassuan, gpgrt
werner added a comment to T6249: gpgrt: spawn functions.

I general I agree.

Oct 27 2022, 8:44 AM · gnupg, libassuan, gpgrt
gniibe added a comment to T6249: gpgrt: spawn functions.

To have clear semantics, I propose a change to gpgrt_spawn_process_fd (calling SPAWN_CB, instead of AFTER_FORK_CB, and give it return value), and exporting gpgrt_close_all_fds to users.

Oct 27 2022, 7:55 AM · gnupg, libassuan, gpgrt
gniibe added a comment to T6249: gpgrt: spawn functions.

By the commit rE43c1e85fe29a: spawn: Expose spawn functions., spawn functions are exposed now. The API is compatible to the one of internal functions in GnuPG master (2.3).
Semantics is not well-defined portably for:

  • gpgrt_spawn_process: EXCEPT only makes sense in POSIX. User could expect that the API does closing all fds except fds specified by EXCEPT in POSIX.
  • gpgrt_spawn_process_fd: AFTER_FORK_CB only makes sense in POSIX. User could specify the callback so that it can control sigmask, envvar, open/close/dup-ing file descriptors, making sure releasing some resources beforehand, etc.
Oct 27 2022, 4:11 AM · gnupg, libassuan, gpgrt

Oct 24 2022

debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you. I am glad that it is already resolved.

Oct 24 2022, 6:40 AM · MacOS, libgcrypt, gpgrt
gniibe triaged T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure as Normal priority.
Oct 24 2022, 6:37 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Will this be in the next release of libgcrypt?

Oct 24 2022, 6:17 AM · MacOS, libgcrypt, gpgrt
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Okay. So, I removed gpg-error-config, updated libgcrypt/m4/gpg-error.m4, and then rebuilt configure. And, gcrypt configures and builds.

Oct 24 2022, 5:33 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you for the information.

Oct 24 2022, 5:06 AM · MacOS, libgcrypt, gpgrt
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Actually, it looks as if libgpg-error-1.46 already has that fix.

Oct 24 2022, 5:03 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you for your quick reply.

Oct 24 2022, 4:51 AM · MacOS, libgcrypt, gpgrt
gniibe removed a project from T5010: gpgrt-config: Bug for handling Requires: Restricted Project.
Oct 24 2022, 4:48 AM · gpgrt
gniibe removed a project from T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH: Restricted Project.
Oct 24 2022, 4:47 AM · gpgrt
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Yes, it is on macOS.

Oct 24 2022, 4:41 AM · MacOS, libgcrypt, gpgrt
gniibe claimed T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

From the information in gpg-error.pc, I think it's on macOS.

Oct 24 2022, 4:35 AM · MacOS, libgcrypt, gpgrt

Oct 21 2022

gniibe added a comment to T6249: gpgrt: spawn functions.

I see. I understand the use cases for POSIX to keep some file descriptors.

Oct 21 2022, 8:41 AM · gnupg, libassuan, gpgrt

Oct 20 2022

werner added a comment to T6249: gpgrt: spawn functions.

without this list we don't have an option to keep file descriptors open; its not just stderr but for example log files and descriptors which pare passed by other meands than libassuan functions.

Oct 20 2022, 1:52 PM · gnupg, libassuan, gpgrt
gniibe added a comment to T6249: gpgrt: spawn functions.
  • assuan_pipe_connect and internal _assuan_spawn
Oct 20 2022, 8:13 AM · gnupg, libassuan, gpgrt

Oct 19 2022

gniibe triaged T6249: gpgrt: spawn functions as Normal priority.
Oct 19 2022, 3:12 AM · gnupg, libassuan, gpgrt

Oct 17 2022

gniibe claimed T6241: cross-compile fails after commit 745d333cf7b5b6fee62e3b26c8a2ccc004e017da.

Thank you for your report. IIUC, your log is the build log of GnuPG 2.2, so, I put the tag "gnupg (gpg22)".

Oct 17 2022, 3:22 AM · workaround, gnupg (gpg22), gpgrt, Bug Report

Oct 16 2022

hydra3333 created T6241: cross-compile fails after commit 745d333cf7b5b6fee62e3b26c8a2ccc004e017da.
Oct 16 2022, 6:47 AM · workaround, gnupg (gpg22), gpgrt, Bug Report

Oct 11 2022

gniibe closed T5769: fix typo in autogen.sh as Resolved.

Fixed in libgpg-error 1.46 and pinentry 1.2.1.

Oct 11 2022, 8:28 AM · Documentation, gpgrt

Oct 7 2022

werner closed T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject as Resolved.
Oct 7 2022, 11:41 AM · gpgrt, gpgme, Bug Report
werner closed T5683: Deprecation of gpg-error-config as Resolved.
Oct 7 2022, 11:41 AM · gpgrt
werner closed T5912: libgpg-error: Drop WindowsCE support as Resolved.
Oct 7 2022, 11:40 AM · gpgrt
werner closed T5890: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgpg-error-1.44 as Resolved.
Oct 7 2022, 11:40 AM · gpgrt, Bug Report
werner closed T5922: libgpg-error: gpgrt_log_get_fd always returns -1 even if it's not tcp/socket. as Resolved.
Oct 7 2022, 11:39 AM · Bug Report, gpgrt
werner closed T6112: libgpg-error,w32: bidirectional Pipe support for estream as Resolved.
Oct 7 2022, 11:39 AM · Windows, gpgrt, Bug Report
werner closed T5923: Release Libgpg-error 1.46 as Resolved.
Oct 7 2022, 11:39 AM · Release Info, gpgrt
werner triaged T6231: Release Libgpg-error 1.47 as Low priority.
Oct 7 2022, 10:23 AM · Release Info, gpgrt

Sep 22 2022

werner changed the status of T5683: Deprecation of gpg-error-config from Open to Testing.
Sep 22 2022, 11:02 AM · gpgrt
werner changed the status of T5922: libgpg-error: gpgrt_log_get_fd always returns -1 even if it's not tcp/socket. from Open to Testing.
Sep 22 2022, 11:01 AM · Bug Report, gpgrt
werner changed the status of T5748: Adding poll/ppoll to NPTH, a subtask of T2385: support more than 1024 fds., from Open to Testing.
Sep 22 2022, 10:58 AM · gpgrt, Feature Request, gpgme
werner changed the status of T5890: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgpg-error-1.44 from Open to Testing.
Sep 22 2022, 10:58 AM · gpgrt, Bug Report
werner changed the status of T5912: libgpg-error: Drop WindowsCE support from Open to Testing.
Sep 22 2022, 10:56 AM · gpgrt
werner changed the status of T6112: libgpg-error,w32: bidirectional Pipe support for estream from Open to Testing.
Sep 22 2022, 10:51 AM · Windows, gpgrt, Bug Report
werner changed the status of T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject from Open to Testing.
Sep 22 2022, 10:50 AM · gpgrt, gpgme, Bug Report
werner changed the status of T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config), a subtask of T5683: Deprecation of gpg-error-config, from Open to Testing.
Sep 22 2022, 10:40 AM · gpgrt

Sep 9 2022

gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Checking musl internal, it seems that we can detect a single threaded application by:
https://git.musl-libc.org/cgit/musl/tree/src/internal/libc.h#n22

Sep 9 2022, 5:53 AM · gpgrt, Bug Report

Sep 2 2022

werner closed T6178: es_write_sanitized swallows errors as Resolved.

Standard behaviour for stdio functions.

Sep 2 2022, 8:46 AM · Not A Bug, gpgrt
DemiMarie created T6178: es_write_sanitized swallows errors.
Sep 2 2022, 2:20 AM · Not A Bug, gpgrt

Sep 1 2022

orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Thanks, I really appreciate having this fixed in gpgrt-config! I backported the commit to gentoo and can confirm that fixes the build issue with slibtool.

Sep 1 2022, 4:31 AM · gpgrt, gpgme, Bug Report

Aug 25 2022

gniibe added projects to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject: gpgrt, Restricted Project.

I pushed the changes. It also cares about the case for --cflags.

Aug 25 2022, 8:42 AM · gpgrt, gpgme, Bug Report

Aug 15 2022

gniibe added a project to T5683: Deprecation of gpg-error-config: Restricted Project.

Push the change.

Aug 15 2022, 2:32 AM · gpgrt

Jul 28 2022

gniibe added a project to T6112: libgpg-error,w32: bidirectional Pipe support for estream: Restricted Project.

Fixed in master.

Jul 28 2022, 6:27 AM · Windows, gpgrt, Bug Report
gniibe triaged T6112: libgpg-error,w32: bidirectional Pipe support for estream as Normal priority.
Jul 28 2022, 6:20 AM · Windows, gpgrt, Bug Report
gniibe created T6112: libgpg-error,w32: bidirectional Pipe support for estream.
Jul 28 2022, 6:20 AM · Windows, gpgrt, Bug Report

Jul 22 2022

SpriteOvO added a comment to T6078: File `config.guess` is a little out of date.

@gniibe Thanks!

Jul 22 2022, 6:41 PM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe closed T6078: File `config.guess` is a little out of date as Resolved.

In the repo, for all related software, it's done.

Jul 22 2022, 3:42 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe added a comment to T6078: File `config.guess` is a little out of date.

Note that versions since 2020-11-07 to 2021-07-03 have major problem with non-POSIX shell, which doesn't support $(..) construct.

Jul 22 2022, 3:40 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report

Jul 18 2022

gniibe triaged T6078: File `config.guess` is a little out of date as Normal priority.

Thank you.

Jul 18 2022, 10:56 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report

Jul 3 2022

Nsane457 added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

@werner For what it's worth, I would like to apologize for my rudeness and disrespect. I had a quite convoluted notion of what the development process entailed. In particular, I was ignorant of the different and opposing responsibilities and the separation of concerns involved in the development process. In retrospect, there were at least a dozen different ways in which this could/should have been handled and all of them are downstream.

Jul 3 2022, 8:19 AM · Info Needed, gpgrt, Gentoo, Bug Report

Jun 29 2022

gniibe added a comment to T5912: libgpg-error: Drop WindowsCE support.

Applied the changes to master.

Jun 29 2022, 2:00 AM · gpgrt

Jun 28 2022

gniibe added projects to T5912: libgpg-error: Drop WindowsCE support: gpgrt, Restricted Project.
Jun 28 2022, 5:15 AM · gpgrt
gniibe added a comment to T5769: fix typo in autogen.sh.

Fixed in libgpg-error.

Jun 28 2022, 4:38 AM · Documentation, gpgrt

May 24 2022

gniibe added a project to T5922: libgpg-error: gpgrt_log_get_fd always returns -1 even if it's not tcp/socket.: Restricted Project.
May 24 2022, 1:22 PM · Bug Report, gpgrt

May 13 2022

werner renamed T5574: Doubled characters in Windows console output from GPG Portable on USB-Stick - Problems with GnuPG 2.2.30 to Doubled characters in Windows console output.
May 13 2022, 3:58 PM · gnupg, Windows, Bug Report
werner edited projects for T5574: Doubled characters in Windows console output, added: gpgrt, Windows; removed Info Needed.
May 13 2022, 3:56 PM · gnupg, Windows, Bug Report

Apr 8 2022

gniibe closed T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS as Resolved.

libgpg-error 1.45 is out with the fix.

Apr 8 2022, 2:10 AM · gpgrt, Bug Report

Apr 7 2022

werner closed T5802: Release libgpg-error 1.45 as Resolved.
Apr 7 2022, 10:52 AM · Release Info, gpgrt
werner reopened T5923: Release Libgpg-error 1.46 as "Open".
Apr 7 2022, 10:51 AM · Release Info, gpgrt
werner closed T5923: Release Libgpg-error 1.46 as Resolved.
Apr 7 2022, 10:49 AM · Release Info, gpgrt
werner triaged T5923: Release Libgpg-error 1.46 as Low priority.
Apr 7 2022, 10:39 AM · Release Info, gpgrt
gniibe added projects to T5922: libgpg-error: gpgrt_log_get_fd always returns -1 even if it's not tcp/socket.: gpgrt, Bug Report.
Apr 7 2022, 8:38 AM · Bug Report, gpgrt

Mar 25 2022

gniibe added a project to T5890: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgpg-error-1.44: Restricted Project.

Thank you for the error output.

Mar 25 2022, 3:44 AM · gpgrt, Bug Report

Mar 22 2022

eliz added a comment to T5890: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgpg-error-1.44.

This is with mingw.org's MinGW, version 5.4.x.

Mar 22 2022, 1:36 PM · gpgrt, Bug Report
gniibe claimed T5890: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgpg-error-1.44.

Please specify your MinGW version.

Mar 22 2022, 3:01 AM · gpgrt, Bug Report

Feb 17 2022

gniibe closed T2385: support more than 1024 fds. as Resolved.
Feb 17 2022, 5:47 AM · gpgrt, Feature Request, gpgme

Feb 2 2022

marv added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

@gniibe Thanks a bunch for the quick fix!

Feb 2 2022, 8:03 PM · gpgrt, Bug Report
gniibe closed T5720: The libgpg-error is using old inet_addr() unconditionally as Resolved.
Feb 2 2022, 3:35 AM · gpgrt, Bug Report
gniibe closed T5740: gpg error check fails as Resolved.
Feb 2 2022, 3:33 AM · gpgrt, Bug Report
gniibe closed T5637: Use poll for libgcrypt (support more than 1024 fds), a subtask of T2385: support more than 1024 fds., as Resolved.
Feb 2 2022, 3:31 AM · gpgrt, Feature Request, gpgme

Feb 1 2022

gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Pushed the change in rE433aba9e778e: build,tests: Fix detection of have_lock_optimization..

Feb 1 2022, 2: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.

@marv Thank you for your report.

Feb 1 2022, 1:33 AM · gpgrt, Bug Report

Jan 31 2022

marv added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Hey gniibe,

Jan 31 2022, 4:06 PM · gpgrt, Bug Report

Jan 27 2022

werner closed T5676: Release Libgpg-error 1.44 as Resolved.
Jan 27 2022, 10:32 AM · Release Info, gpgrt
werner triaged T5802: Release libgpg-error 1.45 as Low priority.
Jan 27 2022, 10:00 AM · Release Info, gpgrt

Jan 19 2022

dkg closed T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl as Resolved.

thanks, looks good!

Jan 19 2022, 12:44 AM · gpgrt, Bug Report

Jan 18 2022

gniibe added a comment to T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl.

Thank you, applied.

Jan 18 2022, 3:34 AM · gpgrt, Bug Report

Jan 17 2022

dkg added a comment to T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl.
Jan 17 2022, 8:03 PM · gpgrt, Bug Report
dkg reopened T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl as "Open".

Thanks for looking into this, @gniibe! over on https://bugs.debian.org/1003313 Helmut is asking for a re-consideration because he wanted to match arm-linux-musleabihf. Would you be ok with a change like my proposal rE371d1c952297f781277b979a4662859ec80fe836 (on branch dkg/expand-musl), that expands *-*-linux-musl to *-*-linux-musl* ?

Jan 17 2022, 7:56 PM · gpgrt, Bug Report

Jan 11 2022

werner triaged T5769: fix typo in autogen.sh as Low priority.

The primary version of that script is in libgpg-error. Thus it needs to be fixed therefirst.

Jan 11 2022, 10:41 AM · Documentation, gpgrt
dkg closed T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl as Resolved.

Thank you, @gniibe ! i'm applying your change to the debian packaging as 1.43-2. i'll let you know if it doesn't satisfy the folks trying to crossbuild debian on top of musl.

Jan 11 2022, 9:53 AM · gpgrt, Bug Report
gniibe claimed T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl.
Jan 11 2022, 5:24 AM · gpgrt, Bug Report
gniibe added a comment to T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl.

Thank you for forwarding from Debian.

Jan 11 2022, 5:23 AM · gpgrt, Bug Report

Jan 9 2022

dkg created T5762: libgpg-error: permit auto-introspection on non-glibc platforms like musl.
Jan 9 2022, 2:41 AM · gpgrt, Bug Report

Dec 17 2021

gniibe added a project to T5740: gpg error check fails: Restricted Project.

The patch worked, thank you very much.

Dec 17 2021, 12:53 AM · gpgrt, Bug Report

Dec 16 2021

shoober420 added a comment to T5740: gpg error check fails.

The patch worked, thank you very much.

Dec 16 2021, 10:25 AM · gpgrt, Bug Report
gniibe added a comment to T5740: gpg error check fails.

Thank you for the log.

Dec 16 2021, 9:25 AM · gpgrt, Bug Report
shoober420 added a comment to T5740: gpg error check fails.

Here is the log file requested.

Dec 16 2021, 7:13 AM · gpgrt, Bug Report

Dec 15 2021

gniibe claimed T5740: gpg error check fails.
Dec 15 2021, 3:31 PM · gpgrt, Bug Report

Dec 8 2021

gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Let me explain concretely.

Dec 8 2021, 12:18 PM · gpgrt, Bug Report
outer added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Excuse me NIBE san. What if any action do you expect me to take on this matter?
__outer

Dec 8 2021, 10:22 AM · gpgrt, Bug Report
gniibe renamed T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS from libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl to libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.
Dec 8 2021, 9:05 AM · gpgrt, Bug Report
gniibe added a project to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS: Restricted Project.
Dec 8 2021, 9:04 AM · gpgrt, Bug Report

Dec 7 2021

Jakuje renamed T5720: The libgpg-error is using old inet_addr() unconditionally from The libgpg-error is using old inet_pton() unconditionally to The libgpg-error is using old inet_addr() unconditionally.
Dec 7 2021, 12:12 PM · gpgrt, Bug Report
gniibe claimed T5720: The libgpg-error is using old inet_addr() unconditionally.

Thank you, applied.

Dec 7 2021, 1:56 AM · gpgrt, Bug Report