Page MenuHome GnuPG

NetBSDUmbrella
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

NetBSD specific stuff

Recent Activity

Today

gniibe added a comment to T8065: gnupg self test hang: clean migration.

POSIX documentation never says that PSHARED=0 prevents sharing among processes. In my opinion, it still conforms to POSIX even when a PSHARED=0 semaphore can be shared between parent and child processes.

Wed, Feb 4, 1:29 AM · gpgrt, NetBSD, gnupg26, Bug Report

Yesterday

werner closed T8069: libgcrypt: NetBSD m68k as Resolved.

Thanks. Will go int the next version.

Tue, Feb 3, 4:43 PM · NetBSD, Feature Request, libgcrypt
wiz added a comment to T8065: gnupg self test hang: clean migration.

I've tried the new patch in my environment, and it fixes the gnupg HEAD self tests as well. Thank you!

Tue, Feb 3, 10:51 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe changed the status of T8065: gnupg self test hang: clean migration from Open to Testing.
Tue, Feb 3, 6:48 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe added a project to T8065: gnupg self test hang: clean migration: gpgrt.

In tests/migrations, (unlike tests/openpgp and tests/cms), the tests do not prepare gpg-agent, but it is gpg which invokes gpg-agent if needed.
Because of that, on NetBSD (where POSIX semaphore has a different semantics), it hangs with gpg --list-secret-key, when gpg tries to spawn the gpg-agent process.
In the old code of 2.4, it simply ignore the npth_protect and npth_unprotect when calling fork to spawn a process.
New code in libgpg-error cares about npth_protect and npth_unprotect but it was not sufficient; We need to care about NetBSD's semantics. Child process should not call npth_protect. With shared semantics, child process's calling npth_protect affects to cause parent process: it hangs.

Tue, Feb 3, 6:48 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe added a comment to T8065: gnupg self test hang: clean migration.

@wiz Thank you for your quick feedback.

Tue, Feb 3, 6:33 AM · gpgrt, NetBSD, gnupg26, Bug Report

Mon, Feb 2

wiz added a comment to T8065: gnupg self test hang: clean migration.

Thank you for the patch. I've tried it in my environment, and gnupg 987c6a398a9505399b2c25a775d4b625753bc962 passes all its self-tests for me now!

Mon, Feb 2, 8:06 PM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe added a comment to T8065: gnupg self test hang: clean migration.

Thank you for the log.

Mon, Feb 2, 8:14 AM · gpgrt, NetBSD, gnupg26, Bug Report

Sun, Feb 1

werner added projects to T8069: libgcrypt: NetBSD m68k: Feature Request, NetBSD.
Sun, Feb 1, 2:14 PM · NetBSD, Feature Request, libgcrypt

Fri, Jan 30

wiz added a comment to T8065: gnupg self test hang: clean migration.

Thank you for looking at this.
I'm testing with gnupg git head as of today, please let me know if you prefer 2.5.17 instead.

Fri, Jan 30, 9:46 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe claimed T8065: gnupg self test hang: clean migration.
Fri, Jan 30, 9:02 AM · gpgrt, NetBSD, gnupg26, Bug Report
gniibe added a comment to T8065: gnupg self test hang: clean migration.

Thank you for your report.

Fri, Jan 30, 9:00 AM · gpgrt, NetBSD, gnupg26, Bug Report

Thu, Jan 29

wiz added a comment to T8065: gnupg self test hang: clean migration.

I bisected it and found the commit that introduced this test failure:

Thu, Jan 29, 2:07 PM · gpgrt, NetBSD, gnupg26, Bug Report
wiz added a comment to T8065: gnupg self test hang: clean migration.

In the same environment, 2.4.9 passes its self tests.
I've reverted the update in pkgsrc until this can be resolved.

Thu, Jan 29, 8:56 AM · gpgrt, NetBSD, gnupg26, Bug Report

Wed, Jan 28

wiz added a comment to T8065: gnupg self test hang: clean migration.

The previous pkgsrc version was 2.4.9. However, I've just tested 2.5.14 and saw the same behaviour (so I guess there is no point in testing 2.5.16).

Wed, Jan 28, 5:17 PM · gpgrt, NetBSD, gnupg26, Bug Report
werner added projects to T8065: gnupg self test hang: clean migration: gnupg26, NetBSD.

Do you remember wether you had the same problem also with 2.5.14 or 2.5.16? Or can you test with these versions? Which version of libgpg-error are you using?

Wed, Jan 28, 4:13 PM · gpgrt, NetBSD, gnupg26, Bug Report

Nov 6 2025

gniibe added a comment to T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion..

Applied to 1.11 branch.

Nov 6 2025, 2:33 AM · NetBSD, libgcrypt, Bug Report

Aug 4 2025

werner closed T7634: libgcrypt's test t-thread-local fails to link on some platforms. as Resolved.
Aug 4 2025, 2:36 PM · NetBSD, libgcrypt, Bug Report

May 15 2025

werner added a comment to T7634: libgcrypt's test t-thread-local fails to link on some platforms..

Also pushed to 1.11

May 15 2025, 9:48 PM · NetBSD, libgcrypt, Bug Report

May 7 2025

werner changed the status of T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion. from Open to Testing.
May 7 2025, 2:48 PM · NetBSD, libgcrypt, Bug Report
werner changed the status of T7634: libgcrypt's test t-thread-local fails to link on some platforms. from Open to Testing.
May 7 2025, 2:47 PM · NetBSD, libgcrypt, Bug Report

May 5 2025

werner triaged T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion. as High priority.
May 5 2025, 11:12 AM · NetBSD, libgcrypt, Bug Report
werner triaged T7634: libgcrypt's test t-thread-local fails to link on some platforms. as High priority.
May 5 2025, 11:11 AM · NetBSD, libgcrypt, Bug Report

May 2 2025

werner set the color for NetBSD to Checkered.
May 2 2025, 10:30 AM
werner added a project to T7634: libgcrypt's test t-thread-local fails to link on some platforms.: NetBSD.
May 2 2025, 10:29 AM · NetBSD, libgcrypt, Bug Report
werner added a project to T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion.: NetBSD.
May 2 2025, 10:29 AM · NetBSD, libgcrypt, Bug Report
werner set the color for NetBSD to Indigo.
May 2 2025, 10:28 AM
werner created NetBSD.
May 2 2025, 10:28 AM