Page MenuHome GnuPG
Feed Advanced Search

Feb 15 2021

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

Please note that the result with --host="arm-unknown-linux-gnueabi" for linux-uclibcgnueabih machine is different to the one of correctly generated version by gen-posix-lock-obj.c with USE_POSIX_THREADS undefined on the host.

Feb 15 2021, 8:42 AM · gpgrt, Bug Report
gniibe added a comment to T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config.

I found that the use of $CC -print-file-name=crt1.o won't work with some cross compiler.
For example, on my system of Debian bullseye for cross compiler ppc64el, while it's for multiarch configuration, crt1.o is under GNU cross style directory: /usr/powerpc64le-linux-gnu/lib

Feb 15 2021, 8:38 AM · gpgrt
gniibe added a comment to T5296: libgpg-error: build failure without threads.

I would understand your workaorund of using artifical --host intentionally.

Feb 15 2021, 8:26 AM · gpgrt, Bug Report
ffontaine added a comment to T5296: libgpg-error: build failure without threads.

This won't work in the context of buildroot as we're passing --host="arm-unknown-linux-gnueabi" to avoid the following build failure:

Feb 15 2021, 8:12 AM · gpgrt, Bug Report
gniibe added a comment to T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config.

We also need to support the use case of GNU cross style, like when we build with MinGW toolchain.

Feb 15 2021, 7:22 AM · gpgrt
gniibe added a comment to T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config.

For other libraries, like libgcrypt, it is mostly OK with old gpg-error.m4, because those libraries don't depend on new libgpg-error features.

Feb 15 2021, 2:44 AM · gpgrt
gniibe added a comment to T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config.

Fixed GnuPG in rGe1e3f1db4660: build: Update gpg-error.m4. and rG985e85dc0e6c: build: Update gpg-error.m4..

Feb 15 2021, 2:40 AM · gpgrt
gniibe added a comment to T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config.

Fixed more in rEd7fd25bbfb83: build: Fix the previous change..

Feb 15 2021, 2:39 AM · gpgrt
gniibe added a comment to T5296: libgpg-error: build failure without threads.

Thank you for the report. I had expected *-*-linux* matches only to GNU/Linux (Linux kernel with GNU C library).

Feb 15 2021, 2:36 AM · gpgrt, Bug Report
gniibe claimed T5296: libgpg-error: build failure without threads.
Feb 15 2021, 2:14 AM · gpgrt, Bug Report

Feb 13 2021

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

They are mandatory for gnupg but not for Libgcrypt and Libgpg-error. I guess we can fix that.

Feb 13 2021, 6:03 PM · gpgrt, Bug Report

Feb 12 2021

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

Because, threads are optional on uclibc as threads are not supported by all embedded targets.
libgpg-error was building perfectly fine without threads until version 1.40 as all pthread calls were protected by USE_POSIX_THREADS.
Should I understand from your answer that threads are now mandatory?

Feb 12 2021, 1:10 PM · gpgrt, Bug Report
werner triaged T5296: libgpg-error: build failure without threads as Normal priority.

How does it come that you have a Linux kernel without threads? Or maybe the better question is why does libc not support threads?

Feb 12 2021, 12:01 PM · gpgrt, Bug Report
gniibe changed the status of T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config from Open to Testing.
Feb 12 2021, 7:32 AM · gpgrt
gniibe added a comment to T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config.

Considered again, I realized that (1) is no need to check.

Feb 12 2021, 7:26 AM · gpgrt

Feb 10 2021

gniibe created T5293: gpg-error.m4 should search gpg-error.pc under the paths of gpgrt-config.
Feb 10 2021, 4:57 AM · gpgrt

Feb 9 2021

gniibe added a comment to T5289: gen-lock-obj.sh uses echo -n from /bin/sh, which echos "-n".

POSIX says so (use printf instead).
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html

Feb 9 2021, 7:58 AM · MacOS, gpgrt, Bug Report
werner added a comment to T5289: gen-lock-obj.sh uses echo -n from /bin/sh, which echos "-n".

iirc the advise from the GNU coding standards is to use printf(1) instead of trying to figure out how echo(1) works.

Feb 9 2021, 7:53 AM · MacOS, gpgrt, Bug Report
gniibe added a comment to T5289: gen-lock-obj.sh uses echo -n from /bin/sh, which echos "-n".

Thank you. I'll fix. Perhaps, I'll ignore old UNIXen like AIX 6.1, which has no way to echo with no newlines.

Feb 9 2021, 3:48 AM · MacOS, gpgrt, Bug Report
gniibe claimed T5289: gen-lock-obj.sh uses echo -n from /bin/sh, which echos "-n".
Feb 9 2021, 3:17 AM · MacOS, gpgrt, Bug Report
gniibe triaged T5289: gen-lock-obj.sh uses echo -n from /bin/sh, which echos "-n" as Normal priority.
Feb 9 2021, 3:17 AM · MacOS, gpgrt, Bug Report

Jan 5 2021

werner triaged T4961: ship gpgrt.pc as Normal priority.
Jan 5 2021, 9:34 AM · Feature Request, gpgrt

Dec 21 2020

werner triaged T5194: Release libgpg-error 1.42 as Low priority.
Dec 21 2020, 7:41 PM · gpgrt, Release Info
werner closed T5192: Release libgpg-error 1.41 as Resolved.
Dec 21 2020, 6:33 PM · Release Info, gpgrt
werner updated the task description for T5192: Release libgpg-error 1.41.
Dec 21 2020, 6:32 PM · Release Info, gpgrt
werner changed Version from 1.41 to 1.40 on T5191: Release libgpg-error 1.40.
Dec 21 2020, 6:31 PM · Release Info, gpgrt
werner added a comment to T5191: Release libgpg-error 1.40.

See T5192 for an updated release.

Dec 21 2020, 6:31 PM · Release Info, gpgrt
werner closed T5191: Release libgpg-error 1.40 as Resolved.
Dec 21 2020, 6:30 PM · Release Info, gpgrt
werner created T5194: Release libgpg-error 1.42.
Dec 21 2020, 5:28 PM · gpgrt, Release Info
werner created T5192: Release libgpg-error 1.41.
Dec 21 2020, 10:53 AM · Release Info, gpgrt
werner created T5191: Release libgpg-error 1.40.
Dec 21 2020, 10:01 AM · Release Info, gpgrt

Nov 16 2020

werner triaged T5135: Provide more practical thread-safe strerror, perhaps with strerror_l as Normal priority.
Nov 16 2020, 9:08 AM · gpgrt, Feature Request

Nov 15 2020

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

I know these troubles.

Nov 15 2020, 1:19 PM · gpgrt, Feature Request

Nov 14 2020

pert created T5135: Provide more practical thread-safe strerror, perhaps with strerror_l.
Nov 14 2020, 4:23 PM · gpgrt, Feature Request
pert added a comment to T3189: secmem routines should be in libgpg-error as gpgrt_*.

Do we need to expose the secmem routines, as a public interface of gpgrt?

I would find it useful. For example I'm making a utility that gets a passphrase with GPGME and gpg-agent, and would like to copy it into a buffer that lives on after closing the context.

Nov 14 2020, 4:03 PM · gpgrt, libgcrypt

Sep 4 2020

werner added a comment to T4945: Windows builds use "winepath" when it is available.

Winepath starts calls the full Wine engine just convert file names to DOS format. This is used by libtool but if winepath can't be executed, it doesn't care. So the given solution (using /etc/alternatives/winepath -> /bin/false) can be used.

Sep 4 2020, 3:18 PM · gpgrt

Aug 25 2020

gniibe closed T5010: gpgrt-config: Bug for handling Requires as Resolved.
Aug 25 2020, 2:24 AM · gpgrt

Aug 24 2020

werner closed T5031: Release Libgpg-error 1.39 as Resolved.

Release done.

Aug 24 2020, 8:54 PM · Release Info, gpgrt
werner closed T4973: Cross build problem with v1.38 as Resolved.
Aug 24 2020, 8:54 PM · Restricted Project, gpgrt
werner updated the task description for T5031: Release Libgpg-error 1.39.
Aug 24 2020, 8:53 PM · Release Info, gpgrt

Aug 22 2020

werner added a parent task for T5031: Release Libgpg-error 1.39: T5030: Release GnuPG 2.2.22 .
Aug 22 2020, 2:44 PM · Release Info, gpgrt
werner created T5031: Release Libgpg-error 1.39.
Aug 22 2020, 2:43 PM · Release Info, gpgrt

Aug 19 2020

gniibe closed T4774: Cross compilation friendly libgpg-error as Resolved.

For GNU/Linux, it's done.

Aug 19 2020, 3:39 AM · Restricted Project, gpgrt

Aug 17 2020

werner closed T5026: libgpg-error and undefined behavior sanitizer findings as Resolved.

Thanks

Aug 17 2020, 9:36 AM · gpgrt

Aug 15 2020

JW added a comment to T5026: libgpg-error and undefined behavior sanitizer findings.

Here's the patch:

Aug 15 2020, 5:32 PM · gpgrt
JW created T5026: libgpg-error and undefined behavior sanitizer findings in the S1 Public space.
Aug 15 2020, 5:08 PM · gpgrt

Aug 14 2020

werner added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

@JW: @gniibe explained you the problem and provided a fix (i.e. use correct specifiction of the directory names). Changes to Makefile.in are a no-go because that is a built file and a real fix would need to go into libtool. However, for a couple of reasons we do not want to update libtool (e.g. too many breakages in the past, we have out own fixes in for Windows). Thus we consider this bug closed.

Aug 14 2020, 9:09 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I understand your point, but your fix is not relevant

Aug 14 2020, 8:07 AM · gpgrt, Bug Report
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

Thanks for your patch. I understand your point, but your fix is not relevant (for supporting all platforms). You can use that way in your build script, but we can't take that approach; The correct fix is fixing libtool.

Aug 14 2020, 8:01 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I'm feeling difficulty to talk to you.

Aug 14 2020, 7:54 AM · gpgrt, Bug Report
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

@JW, I'm feeling difficulty to talk to you.

Aug 14 2020, 6:59 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

... no-support of slash at the end of path and duplicated slash, we won't fix.

Aug 14 2020, 6:20 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

T5024: libtool problem for some platforms for 'make check' (program built with -no-install won't work without installation)

Aug 14 2020, 5:56 AM · gpgrt, Bug Report
gniibe closed T5008: Fedora 32 and FAIL: gpg-error-config-test.sh as Wontfix.

For the original problem of no-support of slash at the end of path and duplicated slash, we won't fix.

Aug 14 2020, 5:52 AM · gpgrt, Bug Report
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

@JW, I'm afraid you are not able to read what I write here. This is not chat system at all. For chat system, please use XMPP on
gnupg-devel@chat.gnupg.org as written at https://gnupg.org/documentation/mailing-lists.html (if possible).

Aug 14 2020, 5:50 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I wrote that "FAIL: gpg-error-config-test.sh" is because of your typo

Aug 14 2020, 5:39 AM · gpgrt, Bug Report
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I wrote that "FAIL: gpg-error-config-test.sh" is because of your typo, and I asked to fix your typo and test again.

Aug 14 2020, 5:33 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

... you are now describing another problem

Aug 14 2020, 5:30 AM · gpgrt, Bug Report
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

@JW, you are now describing another problem, instead of the problem you reported.
I'm closing this one.

Aug 14 2020, 5:26 AM · gpgrt, Bug Report

Aug 10 2020

dkg added a comment to T4961: ship gpgrt.pc.

We currently already ship:

Aug 10 2020, 4:19 PM · Feature Request, gpgrt
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

The problem appears to be the test framework is not setting a LD_LIBRARY_PATH (or DYNLD_LIBRARY_PATH on OS X).

Aug 10 2020, 4:12 PM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

As far as I know, the environment is set correctly. PKG_CONFIG_PATH, --prefix and --libdir are set. And runpaths are also set.

Aug 10 2020, 3:40 PM · gpgrt, Bug Report
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

I meant:

Aug 10 2020, 9:28 AM · gpgrt, Bug Report
JW added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

If you can point me to a commit, I can patch the package and retest it.

Aug 10 2020, 7:19 AM · gpgrt, Bug Report
gniibe changed the status of T5010: gpgrt-config: Bug for handling Requires from Open to Testing.
Aug 10 2020, 6:31 AM · gpgrt
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

If there is no other problem (than the issues of additional slash and double slash), I'll close this bug report.

Aug 10 2020, 6:30 AM · gpgrt, Bug Report

Aug 5 2020

gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

BTW, I learned that Fedora now uses pkgconfig (instead of pkg-config).
https://github.com/pkgconf/pkgconf

Aug 5 2020, 3:51 AM · gpgrt, Bug Report
gniibe claimed T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.
Aug 5 2020, 3:21 AM · gpgrt, Bug Report
gniibe added a comment to T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.

Try with --prefix=/home/jwalton/tmp/pk2delete (with no slash at the end) and --libdir=/home/jwalton/tmp/pk2delete/lib64 (with no double slash between pk2delete and lib64, but a single slash).

Aug 5 2020, 3:20 AM · gpgrt, Bug Report

Aug 3 2020

gniibe created T5010: gpgrt-config: Bug for handling Requires.
Aug 3 2020, 8:25 AM · gpgrt

Aug 2 2020

JW updated the task description for T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.
Aug 2 2020, 12:14 AM · gpgrt, Bug Report
JW created T5008: Fedora 32 and FAIL: gpg-error-config-test.sh.
Aug 2 2020, 12:11 AM · gpgrt, Bug Report

Jul 29 2020

werner added a comment to T5005: Unified single header file if it offers same API.

We have had this in the past but it led to subtle build and, worse, runtime problems. Thus the decision to provide architecture dependent files and have configure complain for wrong files. Right, you sometimes get false warnings for non-matching cpu-vendor-os strings but I consider this less severe than the old problem.

Jul 29 2020, 1:33 PM · libassuan, gpgrt
aheinecke closed T4623: pkg-config for mingw needs to emit -lws2_32 as Resolved.

I just saw that there is related discussion and a patch for this in T4994 so I will close again here.

Jul 29 2020, 1:17 PM · Restricted Project, Windows, gpgrt, Bug Report
aheinecke reopened T4623: pkg-config for mingw needs to emit -lws2_32 as "Open".

This change broke for me the compilation of GPGME which I fixed with: 52f930c1ed7eee6336a41598c90ef3605b7ed02b I found that fix there OK because GPGME explicitly uses ws2_32.

Jul 29 2020, 1:08 PM · Restricted Project, Windows, gpgrt, Bug Report
gniibe triaged T5005: Unified single header file if it offers same API as Wishlist priority.
Jul 29 2020, 2:22 AM · libassuan, gpgrt
gniibe created T5005: Unified single header file if it offers same API.
Jul 29 2020, 2:22 AM · libassuan, gpgrt

Jul 9 2020

gniibe changed the status of T4973: Cross build problem with v1.38 from Open to Testing.
Jul 9 2020, 7:05 AM · Restricted Project, gpgrt

Jun 16 2020

rcinterstate added a comment to T4973: Cross build problem with v1.38.

You are very welcome, i'll let you know if i found more issues in the future, same goes to libgcrypt.

Jun 16 2020, 7:21 PM · Restricted Project, gpgrt

Jun 15 2020

gniibe added a comment to T4973: Cross build problem with v1.38.

It's me who should say "thank you".

Jun 15 2020, 4:39 AM · Restricted Project, gpgrt
rcinterstate added a comment to T4973: Cross build problem with v1.38.

Yes, i always build it with PKG_CONFIG_SYSROOT_DIR but never had any issues with it until 1.38 version, your suggestion definitely fixed it. Thank you.

Jun 15 2020, 4:29 AM · Restricted Project, gpgrt
gniibe added a comment to T4973: Cross build problem with v1.38.

Or one liner patch would be enough:

Jun 15 2020, 3:32 AM · Restricted Project, gpgrt
gniibe added a comment to T4973: Cross build problem with v1.38.

IIUC, you build libgpg-error with setting PKG_CONFIG_SYSROOT_DIR.
It results errors, because while old gpg-error-config never supports PKG_CONFIG_SYSROOT_DIR, it compares result from old gpg-error-config and gpgrt-config gpg-error.

Jun 15 2020, 3:27 AM · Restricted Project, gpgrt
gniibe added a comment to T4973: Cross build problem with v1.38.

Please give us full build log here, so that we can investigate what's going on. You can upload log file by the "upload" button in comment edit dialog.

Jun 15 2020, 3:08 AM · Restricted Project, gpgrt

Jun 13 2020

rcinterstate added a comment to T4973: Cross build problem with v1.38.

Confirm gpg-error-config works... no

Makefile:1667: recipe for target 'gpg-error-config' failed

Jun 13 2020, 2:58 AM · Restricted Project, gpgrt

Jun 12 2020

rcinterstate added a comment to T4973: Cross build problem with v1.38.

No problem, in fact there's several issues with the cross build code, i'll report them later today.

Jun 12 2020, 6:59 PM · Restricted Project, gpgrt
gniibe added a comment to T4973: Cross build problem with v1.38.

Sorry for repeated mistake of mine.
I fixed it and tested with 'make distcheck' in the environment of cross-build for ppc64el host.

Jun 12 2020, 2:06 AM · Restricted Project, gpgrt

Jun 11 2020

rcinterstate added a comment to T4973: Cross build problem with v1.38.

After this change:

Jun 11 2020, 5:25 PM · Restricted Project, gpgrt
gniibe triaged T4973: Cross build problem with v1.38 as Normal priority.

Thanks for your report. I think it fails to generate src/lock-obj-pub.native.h.

Jun 11 2020, 3:52 AM · Restricted Project, gpgrt
rcinterstate added a comment to T4973: Cross build problem with v1.38.

Thank you also for the reply, the environment / build host is Ubuntu 18.04 LTS x86-x64 GNU/Linux and target host systems are MIPS and ARM.

Jun 11 2020, 2:27 AM · Restricted Project, gpgrt

Jun 10 2020

werner assigned T4973: Cross build problem with v1.38 to gniibe.

Thanks for the report. It would be helpful if you can tell us your environment; in particular your build and target(host ) system.

Jun 10 2020, 10:05 AM · Restricted Project, gpgrt

Jun 9 2020

rcinterstate updated the task description for T4973: Cross build problem with v1.38.
Jun 9 2020, 10:48 AM · Restricted Project, gpgrt
rcinterstate updated the task description for T4973: Cross build problem with v1.38.
Jun 9 2020, 10:48 AM · Restricted Project, gpgrt
rcinterstate created T4973: Cross build problem with v1.38.
Jun 9 2020, 10:44 AM · Restricted Project, gpgrt

Jun 3 2020

werner added a comment to T4961: ship gpgrt.pc.

Let's wait with this until we ship a libgpgrt. I am not sure what the best way to migrate to another library name. By current idea is start with some release installing two libraries using the two names but with identical code. Some releases later we could require a configure option to install libgpg-error in addition to libgpgrt.

Jun 3 2020, 1:17 PM · Feature Request, gpgrt

May 29 2020

dkg updated the task description for T4961: ship gpgrt.pc.
May 29 2020, 7:01 PM · Feature Request, gpgrt
dkg created T4961: ship gpgrt.pc.
May 29 2020, 7:01 PM · Feature Request, gpgrt
werner closed T4623: pkg-config for mingw needs to emit -lws2_32 as Resolved.
May 29 2020, 3:16 PM · Restricted Project, Windows, gpgrt, Bug Report
werner closed T4859: Release libgpg-error 1.38 as Resolved.
May 29 2020, 3:15 PM · gpgrt, Release Info
werner added a comment to T4635: ship gpgscm and necessary *.scm files from gpgrt.

FYIL This is delayed because there are some dependencies to internals of gnupg.

May 29 2020, 2:32 PM · Tests, gpgrt, Feature Request