From owner-freebsd-ports@FreeBSD.ORG Sun Oct 19 13:28:25 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C54FF893 for ; Sun, 19 Oct 2014 13:28:25 +0000 (UTC) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EE83786 for ; Sun, 19 Oct 2014 13:28:25 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XfqWm-000Cpk-F4 for freebsd-ports@freebsd.org; Sun, 19 Oct 2014 14:28:08 +0100 Date: Sun, 19 Oct 2014 14:28:08 +0100 From: John To: freebsd-ports@freebsd.org Subject: sqlite3 breakage Message-ID: <20141019132808.GA49190@potato.growveg.org> Reply-To: freebsd-ports@freebsd.org Mail-Followup-To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 13:28:26 -0000 Hello list, sqlite3 appears to be breaking things in multiple places. using generic amd64 r273255 and ports 371178 I get errors like this whenever sqlite3 is called as a dependency. So, in /data/ports/devel/libsoup-gnome: ===> Building for libsoup-gnome-2.40.3_4 cd /data/ports/devel/libsoup-gnome/work/libsoup-2.40.3/libsoup && gmake libsoup-gnome-2.4.la gmake[1]: Entering directory '/data/ports/devel/libsoup-gnome/work/libsoup-2.40.3/libsoup' CC soup-cookie-jar-sqlite.lo CC soup-gnome-features.lo CC soup-proxy-resolver-gnome.lo CC soup-password-manager-gnome.lo CCLD libsoup-gnome-2.4.la /usr/bin/ld: /usr/local/lib/libsqlite3.a(sqlite3.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libsqlite3.a: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:721: recipe for target 'libsoup-gnome-2.4.la' failed gmake[1]: *** [libsoup-gnome-2.4.la] Error 1 gmake[1]: Leaving directory '/data/ports/devel/libsoup-gnome/work/libsoup-2.40.3/libsoup' *** Error code 2 Stop. make: stopped in /data/ports/devel/libsoup-gnome ####################################################### in pidgin: aking all in cap gmake[4]: Entering directory '/data/ports/net-im/pidgin/work/pidgin-2.10.9/pidgin/plugins/cap' CC cap.lo cap.c:97:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] sta_id = purple_status_get_id(get_status_for(buddy)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CCLD cap.la /usr/bin/ld: /usr/local/lib/libsqlite3.a(sqlite3.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libsqlite3.a: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:482: recipe for target 'cap.la' failed gmake[4]: *** [cap.la] Error 1 gmake[4]: Leaving directory '/data/ports/net-im/pidgin/work/pidgin-2.10.9/pidgin/plugins/cap' Makefile:902: recipe for target 'all-recursive' failed gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory '/data/ports/net-im/pidgin/work/pidgin-2.10.9/pidgin/plugins' Makefile:895: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/data/ports/net-im/pidgin/work/pidgin-2.10.9/pidgin' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /data/ports/net-im/pidgin *** Error code 1 Stop. make: stopped in /data/ports/net-im/pidgin ######################################################## Rebuilt sqlite3 from the ports, which made no difference. There are other ports affected. How can I fix this? thanks, -- John