From owner-freebsd-ports@freebsd.org Mon Feb 13 10:37:11 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8FE9CDC9A5 for ; Mon, 13 Feb 2017 10:37:11 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay116.isp.belgacom.be (mailrelay116.isp.belgacom.be [195.238.20.143]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B5C491AE9 for ; Mon, 13 Feb 2017 10:37:10 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BsBgCpi6FY/1fag21eGwEBAQMBAQEJA?= =?us-ascii?q?QEBg1JREIEJjlORFykBlQyCDCKGAAKCYEIWAQIBAQEBAQEBYiiEagEFOhwjEAs?= =?us-ascii?q?YCSUPKh4GE4lusEqLQAEBAQEBAQQBAQEBJIs7ijkFm3KGb4sYdoFljjeTFSYEL?= =?us-ascii?q?VUrNCoIhQIdgWI/NYotAQEB?= X-IPAS-Result: =?us-ascii?q?A2BsBgCpi6FY/1fag21eGwEBAQMBAQEJAQEBg1JREIEJjlO?= =?us-ascii?q?RFykBlQyCDCKGAAKCYEIWAQIBAQEBAQEBYiiEagEFOhwjEAsYCSUPKh4GE4lus?= =?us-ascii?q?EqLQAEBAQEBAQQBAQEBJIs7ijkFm3KGb4sYdoFljjeTFSYELVUrNCoIhQIdgWI?= =?us-ascii?q?/NYotAQEB?= Received: from 87.218-131-109.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([109.131.218.87]) by relay.skynet.be with ESMTP; 13 Feb 2017 11:35:57 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v1DAZu1Z044896; Mon, 13 Feb 2017 11:35:56 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Mon, 13 Feb 2017 11:35:56 +0100 From: Tijl Coosemans To: Dave Horsfall Cc: FreeBSD Ports Subject: Re: Problem with building libgcrypt Message-ID: <20170213113556.1913eea4@kalimero.tijl.coosemans.org> In-Reply-To: References: <20170212121812.49432548@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 10:37:11 -0000 On Mon, 13 Feb 2017 19:01:07 +1100 (EST) Dave Horsfall wrote: > On Sun, 12 Feb 2017, Tijl Coosemans wrote: >>> *** [libgcrypt.la] Error code 1 >> >> See the 20140909 entry in /usr/ports/UPDATING about missing .la files. > > Thanks - that did the trick. > > Next problem: when building misc/freebsd-doc-en, it fails with: > > libtool: link: cc -shared -fPIC -DPIC .libs/attrvt.o .libs/xslt.o .libs/xsltlocale.o .libs/xsltutils.o .libs/pattern.o .libs/templates.o .libs/variables.o .libs/keys.o .libs/numbers.o .libs/extensions.o .libs/extra.o .libs/functions.o .libs/namespaces.o .libs/imports.o .libs/attributes.o .libs/documents.o .libs/preproc.o .libs/transform.o .libs/security.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so /usr/local/lib/libiconv.so -lz -llzma -L/usr/lib -lm -O2 -fstack-protector -Wl,--version-script=./libxslt.syms -fstack-protector -Wl,-soname -Wl,libxslt.so.1 -o .libs/libxslt.so.1.1.29 > cc: error: no such file or directory: '/usr/local/lib/libiconv.so' > gmake[4]: *** [Makefile:534: libxslt.la] Error 1 That's probably still because of some .la file. Does /usr/local/lib/libiconv.la still exist? What is the output of "pkg which /usr/local/lib/libiconv.la"? If it says "not found in database" remove it. If it says "installed by package X" rebuild X. Same for /usr/local/lib/libxml2.la.