From owner-freebsd-ports@FreeBSD.ORG Tue May 6 19:36:39 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7EBBCF83 for ; Tue, 6 May 2014 19:36:39 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 395E2ACF for ; Tue, 6 May 2014 19:36:38 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WhkAb-0000hq-LN for freebsd-ports@freebsd.org; Tue, 06 May 2014 20:32:49 +0200 Received: from a91-154-115-217.elisa-laajakaista.fi ([91.154.115.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 May 2014 20:32:49 +0200 Received: from rakuco by a91-154-115-217.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 May 2014 20:32:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Raphael Kubo da Costa Subject: Re: Upgrade of astro/kstars to 4.12.4_1 fails - linker error Date: Mon, 05 May 2014 19:50:46 +0300 Lines: 27 Message-ID: <86iopki2zd.fsf@orwell.Elisa> References: <20140504230817.66df75b1@tiger2008.drpetervoigt.private> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: a91-154-115-217.elisa-laajakaista.fi User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:B9vvZzksMdlhoxPc08DMveSqIpg= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 19:36:39 -0000 "Dr. Peter Voigt" writes: > I am running 10.0-RELEASE-p2 and after the latest ports tree update the > upgrade of astro/kstars to 4.12.4_1 fails: > > # portmaster --no-confirm --no-term-title -D -G kstars > > Scanning dependencies of target testcsvparser > [100%] Building CXX object > Tests/CMakeFiles/testfwparser.dir/testfwparser.o [100%] Building CXX > object Tests/CMakeFiles/testcsvparser.dir/testcsvparser.o Linking CXX > executable > testfwparser /usr/ports/astro/kstars/work/kstars-4.12.4/kstars/kstars.cpp:122:7: > warning: '__GLIBC__' is not defined, evaluates to 0 [-Wundef] #if > ( __GLIBC__ >= 2 &&__GLIBC_MINOR__ >= 1 && !defined(__UCLIBC__) ) > ^ /usr/local/lib/libcfitsio.so: undefined reference to > `compress2mem_from_mem' /usr/local/lib/libcfitsio.so: undefined > reference to `compress2file_from_mem' /usr/local/lib/libcfitsio.so: > undefined reference to `uncompress2mem' /usr/local/lib/libcfitsio.so: > undefined reference to `zuncompress2mem' /usr/local/lib/libcfitsio.so: > undefined reference to `uncompress2file' /usr/local/lib/libcfitsio.so: > undefined reference to `uncompress2mem_from_mem' c++: error: linker > command failed with exit code 1 (use -v to see invocation) --- > Tests/testfwparser --- *** [Tests/testfwparser] Error code 1 This looks like a problem in astro/cfitsio. Have you tried rebuilding it first?