Page MenuHome GnuPG

debohman (David Bohman)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 12 2021, 9:50 PM (131 w, 3 d)
Availability
Available

Recent Activity

Feb 2 2024

debohman added a comment to T6444: pinentry-1.2.1 does not configure against libgpg-error-1.47.

This is still an issue.

Feb 2 2024, 2:23 AM · pinentry
debohman added a comment to T6443: ntbtls-0.3.1 does not configure against libgpg-error-1.47.

Verified in ntbtls-0.3.2.

Feb 2 2024, 2:22 AM · ntbtls

Apr 12 2023

debohman added a comment to T6442: libgcrypt-1.10.2: getrandom() is not available everywhere.

This problem was introduced by commit cf10c74bd9d5aa80798f1c0e23a9126f381b26b3. Perhaps that change should be backed out in the interim so that a portable fix can be considered for the original issue?

Apr 12 2023, 11:25 PM · MacOS, libgcrypt, Bug Report
debohman added a comment to T6442: libgcrypt-1.10.2: getrandom() is not available everywhere.

I see, your issue is with the use of getrandom for FIPS. I understand now.

Apr 12 2023, 3:32 AM · MacOS, libgcrypt, Bug Report
debohman added a comment to T6442: libgcrypt-1.10.2: getrandom() is not available everywhere.

Returning ENOSYS is too strict, in my opinion; It doesn't work for machines other than CentOS/Fedora/RHEL.

Apr 12 2023, 2:41 AM · MacOS, libgcrypt, Bug Report

Apr 10 2023

debohman added a comment to T6443: ntbtls-0.3.1 does not configure against libgpg-error-1.47.

I checked out the master from https://dev.gnupg.org/source/ntbtls.git and that configures and builds. So, the issue is already fixed, I just got ahead of you. Thanks!

Apr 10 2023, 6:49 AM · ntbtls
debohman added a comment to T6444: pinentry-1.2.1 does not configure against libgpg-error-1.47.

Okay!

Apr 10 2023, 6:45 AM · pinentry
debohman added a comment to T6444: pinentry-1.2.1 does not configure against libgpg-error-1.47.

Ok, I checked out pinentry-1.2.1 from the git repository, and that fails to configure. I then checked out the master, and it does configure. So, it appears to be already fixed, but not released.

Apr 10 2023, 6:32 AM · pinentry
debohman added a comment to T6444: pinentry-1.2.1 does not configure against libgpg-error-1.47.
% gpg-error-config
zsh: command not found: gpg-error-config
% gpgrt-config --modversion
1.47
% pwd
/tera/tera/debo/Projects/gnupg/pinentry/pinentry-1.2.1
% ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for windres... no
checking for gitlog-to-changelog... no
checking if gcc ignores unknown -Wno-* options... no
checking if gcc supports -Wno-pointer-sign... yes
checking if gcc supports -Wpointer-arith... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for seteuid... yes
checking for stpcpy... yes
checking for mmap... yes
checking for stat... yes
checking for mlock... yes
checking for sysconf... yes
checking for getpagesize... yes
checking whether mlock is broken... no
checking for uint32_t... yes
checking for gpg-error-config... no
checking for gpgrt-config... /usr/local/bin/gpgrt-config
checking for GPG Error - version >= 1.16... no
configure: Use gpgrt-config as libassuan-config
checking for LIBASSUAN - version >= 2.1.0... yes (2.5.5)
checking LIBASSUAN API version... okay
checking for byte... no
checking for ulong... no
checking for u64... no
checking for ncursesw... no
checking for ncurses... no
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... yes
checking for ncurses include dir... none
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking if Unix domain socket is supported... yes
checking for elementary >= 1.18,ecore-x... no
configure: WARNING: pkg-config could not find the modules elementary or ecore-x
checking for gtk+-2.0 >= 2.12.0... no
configure: WARNING: pkg-config could not find the module gtk+-2.0
checking for gcr-3,gcr-base-3... no
configure: WARNING: pkg-config could not find the module gcr-3,gcr-base-3
checking for libsecret-1... no
configure: WARNING: pkg-config could not find the module libsecret-1
checking for x11... no
configure: WARNING: pkg-config could not find the module x11
checking for KF5WaylandClient >= 5.60... no
configure: WARNING: pkg-config could not find the module KF5WaylandClient
checking for Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Widgets >= 5.0.0... no
Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Core' found
configure: WARNING: pinentry-qt will be built without Caps Lock warning on Wayland
checking for QtCore >= 4.6.0 QtGui >= 4.6.0... no
checking for fltk-config... no
configure: WARNING: fltk-config is not found
configure:
***
*** You need libgpg-error to build this program.
**  This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libgpg-error
*** (at least version 1.16 is required.)
***
configure: error: 
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
Apr 10 2023, 6:08 AM · pinentry
debohman added a comment to T6444: pinentry-1.2.1 does not configure against libgpg-error-1.47.

What about people that install libgpg-error-1.47 for the first time?, They won't have gpg-error-config on their system, so ntbtls and pinentry then will not build.

Apr 10 2023, 5:10 AM · pinentry
debohman added a comment to T6442: libgcrypt-1.10.2: getrandom() is not available everywhere.

Tested. I applied the above diff to libgcrypt-1.10.2, and it builds and runs.

Apr 10 2023, 5:05 AM · MacOS, libgcrypt, Bug Report
debohman added a comment to T6442: libgcrypt-1.10.2: getrandom() is not available everywhere.

Here is the git diff that I used:

Apr 10 2023, 4:41 AM · MacOS, libgcrypt, Bug Report
debohman added a comment to T6444: pinentry-1.2.1 does not configure against libgpg-error-1.47.

I built and installed libgpg-error-1.47 yesterday. I also deleted gpg-error-config, because it has been replaced by gpgrt-config.

Apr 10 2023, 4:30 AM · pinentry

Apr 8 2023

debohman created T6444: pinentry-1.2.1 does not configure against libgpg-error-1.47.
Apr 8 2023, 11:13 PM · pinentry
debohman created T6443: ntbtls-0.3.1 does not configure against libgpg-error-1.47.
Apr 8 2023, 10:36 PM · ntbtls
debohman added a comment to T6442: libgcrypt-1.10.2: getrandom() is not available everywhere.

I just ran into this, too, on macOS.

Apr 8 2023, 6:45 PM · MacOS, libgcrypt, Bug Report

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
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
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
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
debohman added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

T5683: Deprecation of gpg-error-config

Oct 24 2022, 1:25 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.

Contents of /usr/local/lib/pkgconfig/gpg-error.pc:

Oct 24 2022, 1:21 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.

Manually installing gpg-error-config in /usr/local/bin allows libgcrypt to configure and build.

Oct 24 2022, 1:03 AM · MacOS, libgcrypt, gpgrt
debohman created T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.
Oct 24 2022, 12:59 AM · MacOS, libgcrypt, gpgrt

Oct 13 2021

debohman created T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.
Oct 13 2021, 4:19 PM · gnupg (gpg23), MacOS, Bug Report