[Pkg-gnupg-maint] Bug#502558: FTBFS: fails to build when either libcurl4-*-dev is installed
Stephen Depooter
sbdep at woot.net
Fri Oct 17 20:08:15 UTC 2008
Package: gnupg
Version: 1.4.9-3
Severity: serious
Justification: no longer builds from source
When either libcurl4-gnutls-dev or libcurl4-openssl-dev is installed, the gnupg package detects a system libcurl and uses it instead of the included curl-shim. This causes a build failure with the following error excerpt.
[snip]
gcc -g -O2 -Wall -Wno-pointer-sign -o gpgkeys_finger gpgkeys_finger-gpgkeys_finger.o gpgkeys_finger-ksutil.o ../util/libutil.a
gcc -DHAVE_CONFIG_H -I. -I.. -I../../keyserver -I../../include -I../../intl -g -O2 -Wall -Wno-pointer-sign -MT gpgkeys_curl-gpgkeys_curl.o -MD -MP -MF .deps/gpgkeys_curl-gpgkeys_curl.Tpo -c -o gpgkeys_curl-gpgkeys_curl.o `test -f 'gpgkeys_curl.c' || echo '../../keyserver/'`gpgkeys_curl.c
../../keyserver/gpgkeys_curl.c: In function 'main':
../../keyserver/gpgkeys_curl.c:304: error: 'typeof' applied to a bit-field
../../keyserver/gpgkeys_curl.c:304: error: 'typeof' applied to a bit-field
[snip]
The package should either build conflict woth both libcurl versions, or be specifically configured in debian rules to use the internal curl shim.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnupg depends on:
ii gpgv 1.4.9-3 GNU privacy guard - signature veri
ii libbz2-1.0 1.0.5-1 high-quality block-sorting file co
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libreadline5 5.2-3 GNU readline and history libraries
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages gnupg recommends:
ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries
Versions of packages gnupg suggests:
pn gnupg-doc <none> (no description available)
ii imagemagick 7:6.3.7.9.dfsg1-2+b2 image manipulation programs
pn libpcsclite1 <none> (no description available)
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.UTF-8",
LANG = "en_CA.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
More information about the Pkg-gnupg-maint
mailing list