gnutls update fails on libchamplain
Michal Varga
varga.michal at gmail.com
Tue Jun 7 20:32:47 UTC 2011
On Tue, 2011-06-07 at 20:10 +0000, Johan Hendriks wrote:
> Hello all,
>
> I did an cvsup of the ports tree, read /usr/ports/UPDATING.
> It tells me that the new gnutls requires the following comman.
> portmaster -r gnutls.
>
> but this is the result
>
> gmake[3]: Entering directory `/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk'
> CC gtk-champlain-embed.lo
> CC champlain-gtk-enum-types.lo
> CC champlain-gtk-marshal.lo
> CCLD libchamplain-gtk-0.8.la
> GISCAN GtkChamplain-0.8.gir
> /usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
> /usr/include/machine/endian.h:123: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'
> /usr/include/machine/endian.h:130: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
> /usr/include/machine/endian.h:130: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'
> /libexec/ld-elf.so.1: Shared object "libgnutls.so.40" not found, required by "libchamplain-0.8.so.1"
This is caused by libchamplain, for some reason, linking against itself,
or more specifically, the already installed libchamplain-0.8.so.1
library (which in turn you had linked against libgnutls.so.40).
For a quick fix (I didn't investigate further), simply remove the old
installed port, and let the new one build in clean environment:
# cd /usr/ports/graphics/libchamplain/
# make deinstall clean
# make install clean
m.
--
Michal Varga,
Stonehenge (Gmail account)
More information about the freebsd-gnome
mailing list