From nobody@FreeBSD.org  Wed Mar  5 00:26:39 2014
Return-Path: <nobody@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 7835B330
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Mar 2014 00:26:39 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 61D99178
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Mar 2014 00:26:39 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s250Qc7L046906
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 5 Mar 2014 00:26:38 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s250QcCK046902;
	Wed, 5 Mar 2014 00:26:38 GMT
	(envelope-from nobody)
Message-Id: <201403050026.s250QcCK046902@cgiserv.freebsd.org>
Date: Wed, 5 Mar 2014 00:26:38 GMT
From: "P.R. Filer" <pr@63bit.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: php5-iconv (and php55-iconv) link against converters/libiconv instead of base
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187267
>Category:       ports
>Synopsis:       converters/php5-iconv (and converters/php55-iconv) link against converters/libiconv instead of base
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tijl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 05 00:30:00 UTC 2014
>Closed-Date:    Tue Apr 01 11:31:51 CEST 2014
>Last-Modified:  Tue Apr 01 11:31:51 CEST 2014
>Originator:     P.R. Filer
>Release:        10-CURRENT
>Organization:
n/a
>Environment:
FreeBSD redacted.redacted.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r255056: Fri Aug 30 01:13:50 PDT 2013     root@redacted:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I was seeing bus errors whenever php tried to run. Gdb indicated the bus error was occurring in libiconv.so. Removing converters/libiconv (which was pulled back in by glib, having been previously removed) and rebuilding did not resolve the issue, as it would reinstall libiconv from ports. 
>How-To-Repeat:
Install php55-iconv
>Fix:
Remove the iconv related sections from Makefile.ext in the PHP5 main port

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Mar 5 00:30:08 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187267 
Responsible-Changed-From-To: gnome->ale 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Mar 5 03:30:37 UTC 2014 
Responsible-Changed-Why:  
Fix synopsis and assignment.  Since the only category/portname was 
for a dependent port, the autoassigner got it wrong. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187267 

From: Tijl Coosemans <tijl@FreeBSD.org>
To: bug-followup@FreeBSD.org, pr@63bit.net
Cc:  
Subject: Re: ports/187267: converters/php5-iconv (and
 converters/php55-iconv) link against converters/libiconv instead of base
Date: Wed, 5 Mar 2014 09:38:22 +0100

 Hi,
 
 >> Environment:  
 > FreeBSD redacted.redacted.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r255056
 
 Many iconv related bugs have been fixed as part the 10.0 release process
 so try to update your system to a more recent version.  At least r258587
 of 11-CURRENT or r258750 of 10-STABLE.

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187267: php5-iconv (and php55-iconv) link against
 converters/libiconv instead of base
Date: Sat, 29 Mar 2014 21:34:21 -0500

 ----- Forwarded message from Spil Oss <spil.oss@gmail.com> -----
 
 Date: Sat, 29 Mar 2014 22:31:08 +0100
 From: Spil Oss <spil.oss@gmail.com>
 To: freebsd-ports-bugs@freebsd.org, pr@63bit.net
 Subject: Re: ports/187267: php5-iconv (and php55-iconv) link against converters/libiconv instead of base
 
 Problem is not simply with iconv from base or ports. On 10 php55 was
 building against libiconv from base and you could completely remove
 the port. SVN rev 341778 re-establishes the dependency on libiconv
 from ports for the transliteration capability that is (not yet?)
 available in iconv from base (see ports/184596).
 
 .if ${PHP_MODNAME} == "iconv"
 CONFIGURE_ARGS+=--with-iconv
 
 USES+= iconv:translit
 .endif
 
 ----- End forwarded message -----
State-Changed-From-To: open->feedback 
State-Changed-By: ale 
State-Changed-When: Mon Mar 31 10:58:52 UTC 2014 
State-Changed-Why:  
I think this PR can be closed, since it's fixed in supported FreeBSD releases. 


Responsible-Changed-From-To: ale->tijl 
Responsible-Changed-By: ale 
Responsible-Changed-When: Mon Mar 31 10:58:52 UTC 2014 
Responsible-Changed-Why:  
I think this PR can be closed, since it's fixed in supported FreeBSD releases. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187267 
State-Changed-From-To: feedback->closed 
State-Changed-By: tijl 
State-Changed-When: Tue Apr 1 11:29:23 CEST 2014 
State-Changed-Why:  
Works correctly on up to date stable or current. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187267 
>Unformatted:
