Date: Sat, 16 Jul 2011 12:35:27 +0200 (CEST) From: Bourne-again Superuser <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158966: graphics/libchamplain: broken build after GnuTLS update Message-ID: <20110716103527.38FC133C15@rho.emma.line.org> Resent-Message-ID: <201107161040.p6GAe5Hc066513@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158966 >Category: ports >Synopsis: graphics/libchamplain: broken build after GnuTLS update >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 16 10:40:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Bourne-again Superuser >Release: FreeBSD 8.2-RELEASE i386 >Organization: >Environment: System: FreeBSD rho.emma.line.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: After updating gnutls, I can no longer build libchamplain, log below. NOTE THIS IS NOT VISIBLE IN TINDERBOX! The problem is that the introspection build grabs the relevant libchamplain library from $LOCALBASE rather than $WRKSRC/champlain/.libs/. Fix: make sure that $WRKSRC/champlain/.libs is searched for shared libraries BEFORE $LOCALBASE; if necessary, use LD_PRELOAD Workaround (discouraged): pkg_delete -f libchamplain\* before the build ===> Building for libchamplain-0.8.1 gmake all-recursive gmake[1]: Entering directory `/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1' ... Making all in champlain-gtk gmake[2]: Entering directory `/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk' gmake all-am gmake[3]: Entering directory `/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk' GISCAN GtkChamplain-0.8.gir /usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' /usr/include/machine/endian.h:107: 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/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk/tmp-introspectnNY6dU/GtkChamplain-0.8', '--introspect-dump=/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk/tmp-introspectnNY6dU/types.txt,/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk/tmp-introspectnNY6dU/dump.xml']' returned non-zero exit status 1 gmake[3]: *** [GtkChamplain-0.8.gir] Error 1 gmake[3]: Leaving directory `/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1' gmake: *** [all] Error 2 ===> Compilation failed unexpectedly. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110716103527.38FC133C15>