Page MenuHome GnuPG

npthProject
ActivePublic

Members

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

Watchers

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

Recent Activity

Wed, Sep 22

aconchillo added a comment to T5610: 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:

Wed, Sep 22, 9:06 PM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: 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?

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

Tue, Sep 21

aconchillo added a comment to T5610: 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:

Tue, Sep 21, 8:33 PM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
werner added a comment to T5610: Update libtool.

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

Tue, Sep 21, 11:43 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: Update libtool.

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

Tue, Sep 21, 9:16 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
werner triaged T5610: Update libtool as Low priority.

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

Tue, Sep 21, 8:42 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: Update libtool.

About merging our local changes.

Tue, Sep 21, 8:11 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: Update libtool.

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

Tue, Sep 21, 7:19 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: Update libtool.

And update from automake 1.16:

Tue, Sep 21, 7:02 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: 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
Tue, Sep 21, 6:58 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: 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

Tue, Sep 21, 6:57 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe created T5610: Update libtool.
Tue, Sep 21, 6:33 AM · MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Aug 13 2021

werner changed the edit policy for npth.
Aug 13 2021, 11:10 PM

Mar 17 2020

gniibe closed T4880: npth: Add functions to wake up condition variable as Invalid.

It is my confusion. The API is available. I only looked for symbols in the library.
It is #define-d macro to pthread_cond_*.

Mar 17 2020, 2:59 AM · Feature Request, npth
gniibe added a comment to T4880: npth: Add functions to wake up condition variable.

For Windows, it is available. I don't know the reason why it has not been available for POSIX.

Mar 17 2020, 1:51 AM · Feature Request, npth

Mar 16 2020

gniibe added a parent task for T4880: npth: Add functions to wake up condition variable: T4864: New scdaemon command to watch device removal.
Mar 16 2020, 6:03 AM · Feature Request, npth
gniibe created T4880: npth: Add functions to wake up condition variable.
Mar 16 2020, 6:02 AM · Feature Request, npth

Mar 12 2020

gniibe added a project to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc: Testing.
Mar 12 2020, 6:39 AM · Testing, npth, Bug Report

May 15 2019

gniibe changed the status of T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc from Open to Testing.

While I think that building with GCC 4 on Solaris 11/12 is minor issue, requirement of newer POSIX API (on GNU/Linux) would be a bit serious issue.
I pushed my change to fix this.

May 15 2019, 3:12 AM · Testing, npth, Bug Report

May 14 2019

gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

While original npth-1.6 can be compiled with newer gcc (>= 5), we'd say please use CFLAGS+=-std=gnu99 with older gcc, as workaround.

May 14 2019, 8:08 AM · Testing, npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

I figured out:

  • Removing -D_POSIX_C_SOURCE=200112L works both of gcc 4.9 and gcc 5.5 on Solaris 11.3 (even with -std=c99).
  • Then, adding -D_XOPEN_SOURCE=500, gcc 4.9 works, but gcc 5.5 failed by another error (Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications)
    • I confirmed gcc 5.5 defaults to -std=gnu99
May 14 2019, 8:05 AM · Testing, npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

Thanks for your offer. I have an account for GCC Compiler Farm. I'm trying with gcc211 machine. will back soon.

May 14 2019, 7:39 AM · Testing, npth, Bug Report
JW added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

In case of gcc 4.8 on Solaris, could you please try this patch (instead of configure patch) to see if it works?

May 14 2019, 7:35 AM · Testing, npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

It looks like somewhat complicated more. It seems that specifying _POSIX_C_SOURCE=200112L is not good on Solaris with old GCC. Perhaps, it would have no problem with newer gcc (or -std=gnu99 option).

May 14 2019, 7:30 AM · Testing, npth, Bug Report
gniibe claimed T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

IIUC, -std=c99 won't solve this issue. It is Solaris specific C99 issue.

May 14 2019, 5:13 AM · Testing, npth, Bug Report

May 10 2019

werner triaged T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc as Normal priority.
May 10 2019, 10:17 AM · Testing, npth, Bug Report
werner renamed T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc from Compile error in Nth t-fork.c on Solaris 11.3 i86pc to Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.
May 10 2019, 10:16 AM · Testing, npth, Bug Report
JW added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

It looks like Solaris only needs CFLAGS+=-std=c99. It was added for all programs and libraries listed at https://www.gnupg.org/download/index.html.

May 10 2019, 9:06 AM · Testing, npth, Bug Report
JW created T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.
May 10 2019, 8:01 AM · Testing, npth, Bug Report

Feb 19 2019

gniibe closed T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config as Resolved.
Feb 19 2019, 2:48 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Jan 23 2019

gniibe closed T4306: nPth fails to compile as Resolved.
Jan 23 2019, 3:27 AM · npth, Bug Report

Jan 17 2019

gniibe claimed T4306: nPth fails to compile.

OK, it's a libc with no pthread_rwlock_t.

Jan 17 2019, 3:13 AM · npth, Bug Report

Dec 30 2018

JW created T4306: nPth fails to compile in the S1 Public space.
Dec 30 2018, 1:12 AM · npth, Bug Report

Dec 17 2018

werner closed T3982: libgcrypt.m4 is not multilib friendly, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, as Resolved.
Dec 17 2018, 9:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Dec 13 2018

gniibe closed T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, as Resolved.
Dec 13 2018, 3:38 PM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 29 2018

gniibe changed the status of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config from Open to Testing.

New gpg-error.m4 detects gpgrt-config, too.
And configure supplies --libdir when it invokes gpgrt-config.
For other *.m4 (libassuan, ksba, libgcrypt, ntbtls), it is possible for them to check GPGRT_CONFIG to use gpgrt-config if any.
For npth.m4, it can do that too, with no hard dependency to libgpg-error.

Oct 29 2018, 5:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe changed the status of T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, from Open to Testing.
Oct 29 2018, 5:50 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 26 2018

werner added a subtask for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config: T3982: libgcrypt.m4 is not multilib friendly.
Oct 26 2018, 12:44 PM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 25 2018

gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

A bit tricky, but this would be good to use gpgrt-config by gpg-error.m4.
I say "tricky", because its name is gpg-error.m4 but it configure GPGRT_CONFIG to access to GPG_ERROR_CONFIG.

Oct 25 2018, 8:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

It might be good idea to provide libgcrypt.pc in libgcrypt 1.8.x for forward compatibility with libgpg-error 1.33.

Oct 25 2018, 3:49 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

Well, I changed my mind. Use of new gpgrt-config requires software update to introduce gpgrt.m4 and update of configure.ac to switch gpgrt from gpg-error, in standard way.
That's too much this time. It's good to defer this change.

Oct 25 2018, 3:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

OK, I'll change to use gpgrt-config, along with requiring newer version of libgpg-error.

Oct 25 2018, 1:14 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 24 2018

werner added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

May I suggest to use a (new) gpgrt-config instead of the current name libgpg-error-config. The long term plan is to change the name of the library.

Oct 24 2018, 9:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:37 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

This is the dependency graph:

Oct 24 2018, 2:32 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe created T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:15 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Jul 16 2018

werner closed T3980: gpg-agent: error allocating thread attributes when starting as daemon as Resolved.
Jul 16 2018, 9:50 AM · npth, Bug Report
werner closed T4027: npth 1.6 as Resolved.
Jul 16 2018, 9:49 AM · npth
werner closed T4027: npth 1.6, a subtask of T3980: gpg-agent: error allocating thread attributes when starting as daemon, as Resolved.
Jul 16 2018, 9:49 AM · npth, Bug Report