From bkoenig@cs.tu-berlin.de  Sat Nov 12 18:24:24 2005
Return-Path: <bkoenig@cs.tu-berlin.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CAF5E16A41F;
	Sat, 12 Nov 2005 18:24:24 +0000 (GMT)
	(envelope-from bkoenig@cs.tu-berlin.de)
Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 43C6D43D49;
	Sat, 12 Nov 2005 18:24:23 +0000 (GMT)
	(envelope-from bkoenig@cs.tu-berlin.de)
Received: from eurystheus.local (port-212-202-37-245.dynamic.qsc.de [212.202.37.245])
	by efacilitas.de (Postfix) with ESMTP id DE6E44AE85;
	Sat, 12 Nov 2005 19:31:27 +0100 (CET)
Received: from hoppel.local (eurystheus.local [192.168.1.67])
	by eurystheus.local (Postfix) with SMTP id E69F852869;
	Sat, 12 Nov 2005 19:22:46 +0100 (CET)
Received: by hoppel.local (sSMTP sendmail emulation); Sat, 12 Nov 2005 19:22:46 +0100
Message-Id: <20051112182246.E69F852869@eurystheus.local>
Date: Sat, 12 Nov 2005 19:22:46 +0100
From: "Bjrn Knig" <bkoenig@cs.tu-berlin.de>
Reply-To: Bjrn Knig <bkoenig@cs.tu-berlin.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gerald@freebsd.org
Subject: Port lang/gcc40: missing run-time dependency libiconv 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         88894
>Category:       ports
>Synopsis:       Port lang/gcc40: missing run-time dependency libiconv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gerald
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 12 18:30:08 GMT 2005
>Closed-Date:    Mon Nov 14 16:26:18 GMT 2005
>Last-Modified:  Mon Nov 14 16:26:18 GMT 2005
>Originator:     Bjrn Knig
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hoppel.local 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Nov 11 13:51:25 CET 2005 bkoenig@hoppel.local:/home/bkoenig/obj/home/bkoenig/devel/freebsd/RELENG_6_0/src/sys/HOPPEL i386


	
>Description:
	The C/C++ compilers of the ports lang/gcc40 and lang/gcc41 require
	libiconv to run properly.

	The library will be indirectly installed by devel/gmake and will
	be used by gcc40 and gcc41, but no run-time dependency has been set
	by these two ports.
	
	For this reason libiconv won't be installed if you install the
	package of gcc40 or gcc41.
	
>How-To-Repeat:
	Make sure that libiconv is not installed.

	$ pkg_info -E 'libiconv*'

	$ pkg_add -r gcc40
	[...]
	
	$ ldd /usr/local/bin/gcc40
	/usr/local/bin/gcc40:
	        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2808a000)
	        libc.so.6 => /lib/libc.so.6 (0x28177000)
	
	$ gcc40
	/libexec/ld-elf.so.1: Shared object "libiconv.so.3" not found,
	required by "gcc40"
	
>Fix:
	Add USE_ICONV=yes to Makefile of lang/gcc40 and lang/gcc41.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gerald 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Nov 12 18:33:44 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

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


From: Gerald Pfeifer <gerald@freebsd.org>
Date: Mon, 14 Nov 2005 01:25:13 +0100

Thanks for the nice analysis!  I'm comitting an update to lang/gcc41
with this change, and plan to also adjust lang/gcc40 with the next update.
State-Changed-From-To: open->closed 
State-Changed-By: gerald 
State-Changed-When: Mon Nov 14 16:25:57 GMT 2005 
State-Changed-Why:  
I just updated the lang/gcc40 port accordingly as well.  Thanks! 

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