Subject: pkg/13897: gnome-utils does not find locale stuff on -current with XFree 4
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 09/08/2001 08:16:09
>Number:         13897
>Category:       pkg
>Synopsis:       gnome-utils does not find locale stuff on -current with XFree 4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 07 23:17:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        -current as of September 4, XFree 4 from xsrc/xfree as of September 7
>Organization:
	
>Environment:
	
System: NetBSD night-porter.duskware.de 1.5X NetBSD 1.5X (PORTER) #0: Tue Sep 4 22:47:54 MEST 2001 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

Trying to build gnome-utils fails due to libintl not being found (buildlink
problem?) and locale.h not being included. Two examples:

for file in gcalc-de.omf; do \
  scrollkeeper-preinstall /usr/X11R6/share/gnome/help/gcalc/de/gcalc.sgml $file ../../../omf-install/$file; \
done
Shared object "libintl.so.1" not found
gmake[4]: [omf_timestamp] Error 1 (ignored)
touch omf_timestamp
gmake[4]: Leaving directory `/usr/pkgwork/misc/gnome-utils/work.i386/gnome-utils-1.4.0.2/gcalc/doc/de'

and:

cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\" 	-DLOCALEDIR=\"/usr/X11R6/share/locale\" 	-I/usr/X11R6/include 	-I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include -I/usr/X11R6/include/gtk-1.2 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/include -I/usr/X11R6/include/gtk-1.2		-I/usr/X11R6/include -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include  -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include  -O2 -pipe -pipe -Wall -Wunused  -c gnome-calc.c
gnome-calc.c: In function `set_result':
gnome-calc.c:466: warning: implicit declaration of function `setlocale'
gnome-calc.c:466: `LC_NUMERIC' undeclared (first use in this function)
gnome-calc.c:466: (Each undeclared identifier is reported only once
gnome-calc.c:466: for each function it appears in.)
gnome-calc.c:466: warning: passing arg 1 of `g_strdup' makes pointer from integer

>How-To-Repeat:

Update everything in the base system and pkgsrc to -current, use xsrc/xfree
and try to build gnome.

>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: