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.
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
mezz 2012-03-16 02:03:23 UTC FreeBSD ports repository Modified files: graphics/libchamplain Makefile pkg-plist Added files: graphics/libchamplain/files patch-champlain-gtk_Makefile.in Log: - Fix the build by reorder the CFLAGS/LDFLAGS to avoid it builds with its old files that were installed in system. [1] - The Python support has been removed and replaced to gobject-introspection, so correct the dependencies and plist. - Get it installs its documents in the correct place. - Get the COMMENT under 70 characters. (portlint) - Bump the PORTREVISION. PR: ports/158966 [1] Reported by: Bourne-again Superuser <matthias.andree@gmx.de> [1] Feature safe: yes Revision Changes Path 1.13 +5 -22 ports/graphics/libchamplain/Makefile 1.1 +34 -0 ports/graphics/libchamplain/files/patch-champlain-gtk_Makefile.in (new) 1.3 +120 -126 ports/graphics/libchamplain/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!