From owner-freebsd-current@FreeBSD.ORG Mon Oct 21 19:15:10 2013 Return-Path: Delivered-To: current@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 ESMTP id E03C671B; Mon, 21 Oct 2013 19:15:10 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 772DE2E7B; Mon, 21 Oct 2013 19:15:10 +0000 (UTC) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.7/8.14.7) with ESMTP id r9LJF78E037775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Oct 2013 21:15:08 +0200 (CEST) (envelope-from uqs@FreeBSD.org) Date: Mon, 21 Oct 2013 21:15:07 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Tijl Coosemans Subject: Re: iconv in base breaks multiple ports Message-ID: <20131021191507.GH12255@acme.spoerlein.net> Mail-Followup-To: Tijl Coosemans , current@FreeBSD.org, ports@FreeBSD.org References: <20131020182723.GE12255@acme.spoerlein.net> <20131020232010.384afeaf@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20131020232010.384afeaf@kalimero.tijl.coosemans.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 19:15:11 -0000 On Sun, 2013-10-20 at 23:20:10 +0200, Tijl Coosemans wrote: > On Sun, 20 Oct 2013 20:27:23 +0200 Ulrich Spörlein wrote: > > ever since that iconv thing replaced the ports version, I run into > > trouble with several ports that I have installed on a -CURRENT (now > > stable/10 system). > > > > These are not compile-time errors, but crashes or limited functionality > > where I blame iconv :) > > > > 1. www/newsbeuter crashes during startup, somewhere in the stfl code > > that deals with wide char functions. > > > > 2. devel/git: when using git-svn, it'll segfault in the perl code, not > > sure how to get a backtrace here as gdb's follow-fork doesn't quite > > work. > > > > 3. multimedia/xbmc is no longer able to decode unicode filenames and > > other things are broken. It spews an endless stream of > > 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from > > WCHAR_T to UTF-8, errno=22(Invalid argument) > > 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from > > UTF-8 to WCHAR_T, errno=22(Invalid argument) > > 19:37:00 T:34594644992 ERROR: Previous line repeats 9656 times. > > > > Is my system hexed? I've rebuilt the ports/packages a dozen times now. > > Am I seeing ghosts? > > Can you try the attached patch? It includes the one from > http://www.freebsd.org/cgi/query-pr.cgi?pr=182994 Sure, I fail to see however how this locking could cause the problems with crashes and failures to convert strings. I've rebuild libc with this and it does nothing for the newsbeuter or perl crashes :( Thanks Uli