RE: gnutls update fails on libchamplain

2011-06-08 Thread Johan Hendriks
On Tue, Jun 7, 2011 at 23:10, Johan Hendriks jo...@double-l.nl 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

[skip]

 /libexec/ld-elf.so.1: Shared object libgnutls.so.40 not found, required by 
 libchamplain-0.8.so.1

It is the reason (above).

For some reason the installed version of libchamplain-0.8.so.1 was
catched and passed to the linker (instead of freshly built one).

Workaround: deinstall already installed package and rebuild the new

-- 
Andrew W. Nosenko andrew.w.nose...@gmail.com


Thanks, that did the job.
Also thanks to Michal varga for this solution.

regards,
Johan Hendriks


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gnutls update fails on libchamplain

2011-06-08 Thread Matthias Andree
Am 07.06.2011 22:34, schrieb Andrew W. Nosenko:
 On Tue, Jun 7, 2011 at 23:10, Johan Hendriks jo...@double-l.nl 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
 
 [skip]
 
 /libexec/ld-elf.so.1: Shared object libgnutls.so.40 not found, required by 
 libchamplain-0.8.so.1
 
 It is the reason (above).
 
 For some reason the installed version of libchamplain-0.8.so.1 was
 catched and passed to the linker (instead of freshly built one).
 
 Workaround: deinstall already installed package and rebuild the new
 

The maintainers (in this case, the FreeBSD GNOME team, Cc'd) could
arrange for their port that the freshly built libchamplain library is
found in LD_LIBRARY_PATH before the $LOCALPATH/lib or $PREFIX/lib,
meaning that LD_LIBRARY_PATH needs to be set during the build to where
the .so files will end up (possibly that is a .libs sub directory for
libtool-based ports - didn't check either).
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


gnutls update fails on libchamplain

2011-06-07 Thread Johan Hendriks
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
Command 
'['/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk/tmp-introspectti31Fw/GtkChamplain-0.8',
 
'--introspect-dump=/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk/tmp-introspectti31Fw/types.txt,/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk/tmp-introspectti31Fw/dump.xml']'
 returned non-zero exit status 1
gmake[3]: *** [GtkChamplain-0.8.gir] Error 1
gmake[3]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1'
gmake: *** [all] Error 2
*** Error code 1

What can i do about this.

thanks for your time..

regards,
Johan

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gnutls update fails on libchamplain

2011-06-07 Thread Michal Varga
On Tue, 2011-06-07 at 20:10 +, 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)


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gnutls update fails on libchamplain

2011-06-07 Thread Andrew W. Nosenko
On Tue, Jun 7, 2011 at 23:10, Johan Hendriks jo...@double-l.nl 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

[skip]

 /libexec/ld-elf.so.1: Shared object libgnutls.so.40 not found, required by 
 libchamplain-0.8.so.1

It is the reason (above).

For some reason the installed version of libchamplain-0.8.so.1 was
catched and passed to the linker (instead of freshly built one).

Workaround: deinstall already installed package and rebuild the new

-- 
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org