Subject: pkg/22854: gdk-pixbuf-gnome wants libiconv unnecessarily
To: None <gnats-bugs@gnats.netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 09/19/2003 23:49:27
>Number:         22854
>Category:       pkg
>Synopsis:       gdk-pixbuf-gnome wants libiconv unnecessarily
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 19 13:50:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
Wasabi Systems
>Environment:
	System: NetBSD 1.6.1_STABLE #14: Sat Jun 7 00:03:23 EST 2003
	Architecture: i386
	Machine: i386
>Description:
	When building graphics/gdk-pixbuf-gnome I see the following
	error about not finding libiconv:

/bin/sh ../libtool --mode=link cc  -O2 -I/usr/pkg/include -I/usr/X11R6/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o test-gdk-pixbuf  test-gdk-pixbuf.o libgdk_pixbuf.la -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm -ltiff -ljpeg -lpng -lz -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lm -lglib -lintl -lgmodule -lintl
cc -O2 -I/usr/obj/pkg/graphics/gdk-pixbuf-gnome/work.thoreau/.buildlink/include -I/usr/obj/pkg/graphics/gdk-pixbuf-gnome/work.thoreau/.buildlink-x11/include -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/test-gdk-pixbuf test-gdk-pixbuf.o -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib  -L/usr/obj/pkg/graphics/gdk-pixbuf-gnome/work.thoreau/.buildlink/lib -L/usr/obj/pkg/graphics/gdk-pixbuf-gnome/work.thoreau/.buildlink-x11/lib ./.libs/libgdk_pixbuf.so -L/usr/pkg/lib -L/usr/X11R6/lib /usr/pkg/lib/libtiff.so /usr/pkg/lib/libjpeg.so /usr/pkg/lib/libpng.so /usr/lib/libz.so /usr/pkg/lib/libgnomeui.so /usr/pkg/lib/libart_lgpl.so /usr/pkg/lib/libgdk_imlib.so -lSM -lICE /usr/pkg/lib/libgtk.so /usr/pkg/lib/libgdk.so -lintl -lXi -lXext -lX11 /usr/pkg/lib/libgnome.so /usr/pkg/lib/libgnomesupport.so -lz -liconv -lc /usr/pkg/lib/libesd.so -lossaudio /usr/pkg/lib/libaudiofile.so -lm /usr/pkg/lib/libglib.so /usr/pkg/lib/libgmodule.so /usr/lib/libintl.so -Wl,--rpath -Wl,/usr/pkg/lib
ld: cannot find -liconv

>How-To-Repeat:
        On a 1.6.1ish i386 box try to install graphics/gdk-pixbuf-gnome.
        This may or may not be a problem with incorrect iconv
        dependencies in the required packages.

>Fix:
        Don't know what the correct fix it.  I'm using

                .include "../../converters/libiconv/buildlink2.mk"

        in graphics/gdk-pixbuf-gnome/Makefile as a workaround for now.
>Release-Note:
>Audit-Trail:
>Unformatted:
 	pkgsrc up to date as of 19th Sep '02.