From owner-freebsd-ports@FreeBSD.ORG Sun Feb 23 11:48:33 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 9381AA9E for ; Sun, 23 Feb 2014 11:48:33 +0000 (UTC) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D433914A0 for ; Sun, 23 Feb 2014 11:48:32 +0000 (UTC) Received: from mail-wi0-f177.google.com ([209.85.212.177]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKUwngD8Wxv7idLOh0Bt7cHpQkCtovFedT@postini.com; Sun, 23 Feb 2014 11:48:32 UTC Received: by mail-wi0-f177.google.com with SMTP id e4so2141269wiv.4 for ; Sun, 23 Feb 2014 03:48:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=vqk8OLfDDvLau7bHxHteS45TsPomHFUaRe2Jo1XChtg=; b=NBhF3MTdk/RsWf7m1l6i2rGSCRf8SACGTkjZqysLDLZVt/uZwdGj1y7E8p5WE3gD8T zhokdyGC2FDRq1mU1NGPuS9r2nMQrGSoXiVl8yHqCiNuGk7sFIwZ4af7a9X18mnCGQe/ Yi6ZRzGp6C2mXN4jrU3nCLDPSYEgENXwo8xfNRDKlB+ET+lF3H5a/wwzpfPKDQVTk2d/ jxq08qFYFX6FMN4ItNF2U4kzW1BiLFq3euSRwwGoflr9hVHumiaPUQyaYXey8pVTGaks VLyYE/UwHMSFvDJUFJeVFUi7MRDvwxDsEWVL5kfz4uwqBK04ddjstHgQ8iZzCPti+go2 xvBQ== X-Received: by 10.194.57.104 with SMTP id h8mr14155465wjq.36.1393155623642; Sun, 23 Feb 2014 03:40:23 -0800 (PST) X-Gm-Message-State: ALoCoQkPKcmGDSk5IWp2DbeGiD4U4eO/2QiJ5deRmQ2sIHOs4xmeydTy7ivQLuCFdGVesiJiE+EMI1ye39qPKGC53W/moeJ7UPLb8bnJ8N64EtQSmQdvcyu2qQhrtAtBdV/EAzBCEjfULiBDRfmbmEypWvRsb77vFZNLaFugrkf6NUw6LVUdqT4= X-Received: by 10.194.57.104 with SMTP id h8mr14155457wjq.36.1393155623565; Sun, 23 Feb 2014 03:40:23 -0800 (PST) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id ha1sm32681201wjc.23.2014.02.23.03.40.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Feb 2014 03:40:22 -0800 (PST) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id s1NBeK0o066674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 23 Feb 2014 11:40:20 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id s1NBeKtb066673; Sun, 23 Feb 2014 11:40:20 GMT (envelope-from mexas) Date: Sun, 23 Feb 2014 03:40:22 -0800 (PST) From: Anton Shterenlikht Message-Id: <201402231140.s1NBeKtb066673@mech-cluster241.men.bris.ac.uk> To: mexas@bris.ac.uk, swhetzel@gmail.com Subject: Re: libiconv pulled in by pkg upgrade? lots of errors after that In-Reply-To: Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 11:48:33 -0000 >From swhetzel@gmail.com Sun Feb 23 11:21:05 2014 > >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 ok, but I'm still not clear how to recover from this. pkg check -srda doesn't report any issues, yet: $ firefox /usr/local/lib/firefox/libxul.so: Undefined symbol "__bsd_iconv_open" $ monsterz Traceback (most recent call last): File "/usr/local/share/monsterz/monsterz.py", line 15, in import pygame File "/usr/local/lib/python2.7/site-packages/pygame/__init__.py", line 95, in from pygame.base import * ImportError: /usr/local/lib/libSDL-1.2.so.11: Undefined symbol "__bsd_iconv" So what's going on? Thanks Anton