From owner-freebsd-ports@FreeBSD.ORG Sun Feb 23 09:43:28 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF4BB7A7 for ; Sun, 23 Feb 2014 09:43:28 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7DB0E1AC9 for ; Sun, 23 Feb 2014 09:43:28 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id ar20so2474983iec.23 for ; Sun, 23 Feb 2014 01:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PR+bFJ/3FHMNjvc39PYg3/vsgms1CUl6a8tx27TzhjI=; b=JAmRpB61DNS5l4X6DCRB8mNpxgUKaBDTBp8/y1GRGSLE5yGJ193ZauuxzrIYjEHlvM Sa8yTAmvZZDiOHCbcGc7e6IgSjoHwZ89nLQakxvS2ML4tDBEZ9bkZv8c6ZCRq+mR1tk8 FrLw7kPrJrl7EnNWBq7nAWfXu6QPRSPKzdgGS5+HQyMM1DeeSDp0XjHZsg3lE/ODDwHj 9WpRqS377zxa3NF6CCs+1oj5bb/V7ORaiS4jAVIdW5V4hIUcGehlIYcuGOQMhsSQSD0c /fCLz5KMvm9yrLm+82fREwTmITxzqD0Fd/VjAXfB73zaHrHJfS43J/Zi15eAa+xU3sZj qEIw== MIME-Version: 1.0 X-Received: by 10.50.66.180 with SMTP id g20mr8434071igt.44.1393148607945; Sun, 23 Feb 2014 01:43:27 -0800 (PST) Received: by 10.50.164.227 with HTTP; Sun, 23 Feb 2014 01:43:27 -0800 (PST) In-Reply-To: <201402230851.s1N8pX2J066307@mech-cluster241.men.bris.ac.uk> References: <201402230851.s1N8pX2J066307@mech-cluster241.men.bris.ac.uk> Date: Sun, 23 Feb 2014 03:43:27 -0600 Message-ID: Subject: Re: libiconv pulled in by pkg upgrade? lots of errors after that From: Scot Hetzel To: mexas@bris.ac.uk Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 09:43:28 -0000 On Sun, Feb 23, 2014 at 2:51 AM, Anton Shterenlikht wrote: > pkg upgrade pulled libiconv. > Now I get errors like: > > # gphoto2 -l > /usr/local/lib/libgphoto2/2.5.3.1/ptp2.so: Undefined symbol "__bsd_iconv_open" > > firefox > /usr/local/lib/firefox/libxul.so: Undefined symbol "__bsd_iconv_open" > > If I delete libiconv, then I get: > > firefox > XPCOMGlueLoad error for file /usr/local/lib/firefox/libxul.so: > Shared object "libiconv.so.3" not found, required by "libdbus-glib-1.so.2" > Couldn't load XPCOM. > > so I probably now need to rebuild all these ports > manually: > > [1/1] Deleting libiconv-1.14_1... > libiconv-1.14_1 is required by: glib-2.36.3_2 gobject-introspection-1.36.0_2 libIDL-0.8.14_1 polkit-0.105_1 cairo-1.10.2_7,2 pango-1.34.1_1 consolekit-0.4.3 librsvg2-2.36.4 gconf2-2.32.0_3, deleting anyway > > Anyway, I thought libiconv was gone for good > from ports, as it is available in base from 10. > I'm on 11-current, so not sure what's going on. > There are some ports (i.e php-iconvm devel/glib2) that require the libiconv port due to they rely on a gnu feature that is not implemented in FreeBSD'x posix compliant libiconv in base. The message in devel/glib2/Makefile: # iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo) # (wchar_t is used by glibmm, rawtherapee triggered this) USES= gettext gmake iconv:wchar_t pathfix pkgconfig shebangfix perl5 -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.