Fixed in 1.47.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Apr 10 2023
Fixed in libgcrypt 1.10.2.
@debohman Thank you!
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!
Okay!
@debohman Thank you for the log. Thank you also for your testing pinentry master.
Fixed in 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.
% 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.
***Possibly, your problem may be gpg-error.m4 in pinentry. If so, you can replace m4/gpg-error.m4 in pinentry by src/gpg-error.m4 in libgpg-error.
Then, regenerate configure of pinentry.
(In the repo of pinentry gpg-error.m4 is already updated.)
@debohman Please describe your failure.
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.
Tested. I applied the above diff to libgcrypt-1.10.2, and it builds and runs.
The functionality of gpg-error-config is replaced by gpgrt-config. However, the script of gpg-error-config itself cannot be replaced by gpgrt-config.
(As the output of configure said,) in the configure script, gpgrt-config is invoked with --libdir somewhere (/usr/local/lib/x86_64-linux-gnu, in my case above) option to work as the gpg-error-config script replacement.
Thank you for the report.
Here is the git diff that I used:
I built and installed libgpg-error-1.47 yesterday. I also deleted gpg-error-config, because it has been replaced by gpgrt-config.
Please see T6444.
Please describe your problem in a way other people can reproduce.
Apr 9 2023
Apr 8 2023
I just ran into this, too, on macOS.
Apr 7 2023
I just ran into this issue while attempting to update the MacPorts Portfile to version 1.10.2.
Fixed in 1.10.2.
Apr 6 2023
In T6388#168750, @gniibe wrote:Thank you for the bug report.
I see your problem. We need to improve the patch, as we cannot use Bash-only feature in configure.
[...]
That is, prefer possible_libdir1 when not used. Please test this.
I'll add new error codes to gpgrt
You could configure gpgme with
Sorry, it took time (for me) to understand the issue, as this is not 100%-reproducible bug. And it was not clear (for me) that how passphrase were offered in the interaction, so, I was not possible to see if it's encrypted or not.