Darcs can no longer be statically built with curl on Debian. This
appears to be due to
http://bugs.debian.org/439039
libkrb5-dev: static libraries no longer supported
It appears that this can be resolved by building libcurl's static
version *without* kerberos support. Therefore I recommend this.
Please refer to this upstream bug for more information:
http://bugs.darcs.net/issue806
Cannot build static Darcs 2 on Debian (krb static lib missing)
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libcurl4-openssl-dev depends on:
ii libc6-dev [libc-dev] 2.7-13 GNU C Library: Development Librari
ii libcurl3 7.18.2-5 Multi-protocol file transfer libra
pn libidn11-dev <none> (no description available)
pn libkrb5-dev | hurd <none> (no description available)
pn libldap2-dev <none> (no description available)
pn libssh2-1-dev <none> (no description available)
pn libssl-dev <none> (no description available)
pn zlib1g-dev <none> (no description available)
libcurl4-openssl-dev recommends no packages.
Versions of packages libcurl4-openssl-dev suggests:
pn libcurl3-dbg <none> (no description available)
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
i suggest that it is because curl stopped linking against libs that it
does not need. especially there was a whole lot of kerberos libs that
got pulled in from the kerberos configure (krb5-config) binary that were
not actually needed within curl. So we pruned both the the list of libs
that got pulled in for no good and also we stopped exporting libs in
libcurl.pc and libcurl.la that were not needed in order to link against
curl. So most likely you now run into problems when using libs that got
pulled in via curl and are used in some other context. my recommendation
is to figure out your dependencies (gssapi_krb5 is a hot candidate!),
add them to your build-depends and link to them.
i am not sure what package this bug should be filed against. i think it
is either darcs or kerberos.
/andreas
after closer inspection i find this in curl-config.in:
echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
which contains LDFLAGS. this needs to go away. so this is my bug after
all.
is this relevant for lenny?
Within Debian, the darcs package is only ever dynamically linked. The
issue was raised by users who are creating statically linked versions
of the current Darcs release on Lenny, to run on Etch.
I assume that this IS NOT relevant to Lenny's release, since once
Lenny becomes Stable I think the users will be building static
binaries on Lenny+1 for use on Lenny.
On Fri, Aug 15, 2008 at 12:58 PM, Andreas Schuldei <and...@schuldei.org> wrote:
> * Andreas Schuldei (and...@schuldei.org) [080815 10:14]:
>> i am not sure what package this bug should be filed against. i think it
>> is either darcs or kerberos.
>
> after closer inspection i find this in curl-config.in:
>
> echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
>
> which contains LDFLAGS. this needs to go away. so this is my bug after
> all.
I am afraid the bug is not as simple as removing -lgssapi_krb5 from
'curl-config --static-libs' output. I tried compiling static darcs
with gssapi_krb5 library removed and I get a bunch of undefined
symbols (like gss_unseal) referenced from libcurl.a.
My understanding is that static libcurl really uses these functions.
And to resolve the bug we need to build static libcurl without gssapi
support.
Regards,
Dmitry
AFAIK, no change.
If it were a private package, I'd advise you to reroll curl without
kerberos support, so it can be statically linked into aide. To do
that within Debian, I guess you'd need the curl maintainer to provide
an alternative libcurl-static-dev or something.