Subject: pkg/32945: sysutils/xfce4-fm fails to compile on Darwin because of linking against -lintl and -liconv
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <alex@foxybanana.com>
List: pkgsrc-bugs
Date: 02/28/2006 01:10:00
>Number: 32945
>Category: pkg
>Synopsis: sysutils/xfce4-fm fails to compile on Darwin because of linking against -lintl and -liconv
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 28 01:10:00 +0000 2006
>Originator: Alexander Botero-Lowry
>Release: Darwin 8.0.1
>Organization:
>Environment:
Darwin c028h119.dorm.reed.edu 8.0.1 Darwin Kernel Version 8.0.1: Fri Apr 29 12:15:33 PDT 2005; root:xnu-792.obj/RELEASE_PPC Power Macintosh powerpc
>Description:
on Darwin 8.0.1 sysutils/xfce4-wm fails to compile because it attempts to link against libiconv and libintl.
It errors on this message:
ld: warning multiple definitions of symbol _locale_charset
/usr/pkgsrc/sysutils/xfce4-fm/work/.x11-buildlink/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
[14:58] root@c028h119: /usr/pkgsrc/sysutils/xfce4-fm# bmake show-var VARNAME=USE_BUILTIN.gettext
no
[15:02] root@c028h119: /usr/pkgsrc/sysutils/xfce4-fm# bmake show-var VARNAME=USE_BUILTIN.iconv
yes
>How-To-Repeat:
Compile xfce4-fm on Darwin 8.0.1. This is pure Darwin, not OS X.
>Fix:
removing -lintl from LIBS= in libs/Makefile allows it to build.