Date: Tue, 07 Jun 2011 22:32:39 +0200 From: Michal Varga <varga.michal@gmail.com> To: Johan Hendriks <Johan@double-l.nl> Cc: gnome@FreeBSD.org, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: gnutls update fails on libchamplain Message-ID: <1307478759.3202.6.camel@xenon> In-Reply-To: <6C3F8332272B7D4DA26909F15F1C90E1D7D8AE@SRV01.double-l.local> References: <6C3F8332272B7D4DA26909F15F1C90E1D7D8AE@SRV01.double-l.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1307478759.3202.6.camel>