Subject: pkg/21848: gcc3-3.3 has a hidden dependency on libiconv
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fredb@immanent.net>
List: netbsd-bugs
Date: 06/10/2003 19:12:51
>Number:         21848
>Category:       pkg
>Synopsis:       gcc3-3.3 has a hidden dependency on libiconv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 11 00:13:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Frederick Bruckman
>Release:        NetBSD 1.6.1
>Organization:
>Environment:
	
	
System: NetBSD tautology.immanent.net 1.6.1 NetBSD 1.6.1 (TAUTOLOGY) #42: Mon Apr 28 19:07:25 CDT 2003 fredb@tautology.immanent.net:/s/src-release/sys/arch/i386/compile/TAUTOLOGY i386
Architecture: i386
Machine: i386
>Description:
	
	Some of the java apps in gcc3-3.3 have a hidden dependency on libiconv.
	(Same for gcc-3.3nb1, which had a change orthogonal to this problem.):


fredb@tautology-> pwd
/usr/pkg/gcc-3.3/bin
fredb@tautology-> ldd gij jv-convert rmic rmiregistry
gij:
         -lgcj.4 => /usr/pkg/gcc-3.3/lib/libgcj.so.4
         -lc.12 => /usr/lib/libc.so.12
         -lgcc_s.1 => /usr/pkg/gcc-3.3/lib/libgcc_s.so.1
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -liconv.3 => not found
jv-convert:
         -lgcj.4 => /usr/pkg/gcc-3.3/lib/libgcj.so.4
         -lc.12 => /usr/lib/libc.so.12
         -lgcc_s.1 => /usr/pkg/gcc-3.3/lib/libgcc_s.so.1
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -liconv.3 => not found
rmic:
         -lgcj.4 => /usr/pkg/gcc-3.3/lib/libgcj.so.4
         -lc.12 => /usr/lib/libc.so.12
         -lgcc_s.1 => /usr/pkg/gcc-3.3/lib/libgcc_s.so.1
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -liconv.3 => not found
rmiregistry:
         -lgcj.4 => /usr/pkg/gcc-3.3/lib/libgcj.so.4
         -lc.12 => /usr/lib/libc.so.12
         -lgcc_s.1 => /usr/pkg/gcc-3.3/lib/libgcc_s.so.1
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -liconv.3 => not found


>How-To-Repeat:
	
	Build lang/gcc3 with ${PKG_DEVELOPER} set to "YES".
>Fix:
	
	I don't know. I tried adding
	".include ../../converters/libiconv/buildlink2.mk", and that adds the
	dependendency, of course, but doesn't fix the RPATH.

>Release-Note:
>Audit-Trail:
>Unformatted: