From owner-freebsd-ports@FreeBSD.ORG Sun Oct 19 14:52:06 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 66782177 for ; Sun, 19 Oct 2014 14:52:06 +0000 (UTC) Received: from mailrelay010.isp.belgacom.be (mailrelay010.isp.belgacom.be [195.238.6.177]) by mx1.freebsd.org (Postfix) with ESMTP id 05204E4B for ; Sun, 19 Oct 2014 14:52:05 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmMGAH3OQ1RbsLUE/2dsb2JhbABbgwtTWMwTh1ICgQ0XAX2EAwEBBDoNMhALGAkPFg8qHgYTiEMBsGmOYwEBAQEBAQQBAQEBHo9vEQFQBxiEMwWWRocSgTE8hjeNf4N5Oy+BD4E8AQEB Received: from 4.181-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.181.4]) by relay.skynet.be with ESMTP; 19 Oct 2014 16:51:57 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s9JEpuhS004749; Sun, 19 Oct 2014 16:51:56 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sun, 19 Oct 2014 16:51:56 +0200 From: Tijl Coosemans To: John Subject: Re: sqlite3 breakage Message-ID: <20141019165156.1db88638@kalimero.tijl.coosemans.org> In-Reply-To: <20141019132808.GA49190@potato.growveg.org> References: <20141019132808.GA49190@potato.growveg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org 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 14:52:06 -0000 On Sun, 19 Oct 2014 14:28:08 +0100 John wrote: > 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? Check that you have these files in /usr/local/lib: libsqlite3.a libsqlite3.so libsqlite3.so.0 libsqlite3.so.0.8.6 If any are missing then make sure you have the latest version of pkg. It fixes a bug that allowed packages with missing files to be installed. Then build databases/sqlite3 using 'script build.log make install' and email us build.log.