Your message dated Sat, 31 Aug 2019 19:11:49 +0200
with message-id <[email protected]>
and subject line Re: Bug#830136: libgcrypt20-dev: fails to static link
libgcrypt20 due to missing -lgpg-error
has caused the Debian Bug report #830136,
regarding libgcrypt20-dev: fails to static link libgcrypt20 due to missing
-lgpg-error
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
830136: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830136
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgcrypt20-dev
Version: 1.6.3-2+deb8u1
Severity: normal
Dear Maintainer,
I have found this when tried to static build qemu. Note that new version of qemu
has workaround for this
https://github.com/qemu/qemu/commit/91bfcdb01d4869aa8f4cb67007827de63b8c2217#diff-e2d5a00791bce9a01f99bc6fd613a39dR2314
To reproduce this compile file
#include <stdio.h>
#include <gcrypt.h>
int main(void)
{
if (!gcry_check_version (GCRYPT_VERSION)) {
printf("libgcrypt version mismatch\n");
exit(1);
}
return 0;
}
With command
gcc main.c -static -g $(libgcrypt-config --cflags) $(libgcrypt-config
--libs)
Then observe error
https://gist.github.com/vvavrychuk/fabe8f8a8033e791f233d02f7946a979
-- System Information:
Debian Release: 8.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-41-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages libgcrypt20-dev depends on:
ii libc6-dev [libc-dev] 2.19-18+deb8u4
ii libgcrypt20 1.6.3-2+deb8u1
ii libgpg-error-dev 1.17-3
libgcrypt20-dev recommends no packages.
Versions of packages libgcrypt20-dev suggests:
pn libgcrypt20-doc <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1.8.5-1
On 2016-07-06 vvavrychuk <[email protected]> wrote:
> Package: libgcrypt20-dev
> Version: 1.6.3-2+deb8u1
> Severity: normal
> Dear Maintainer,
> I have found this when tried to static build qemu. Note that new version of
> qemu
> has workaround for this
[...]
> gcc main.c -static -g $(libgcrypt-config --cflags) $(libgcrypt-config
> --libs)
[...]
1.8.5 features pkg-config support which can (and does) supply different
flags for static and dynamic linking.
cu Andreas
--- End Message ---