Subject: pkg/24326: "gnome2-games" build fails if "gettext-lib" is installed
To: None <>
From: Matthias Scheler <>
List: netbsd-bugs
Date: 02/05/2004 23:04:30
>Number:         24326
>Category:       pkg
>Synopsis:       "gnome2-games" build fails if "gettext-lib" is installed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 05 22:05:00 UTC 2004
>Release:        NetBSD 1.6.2 2003-02-05 package sources
Matthias Scheler                        
System: NetBSD 1.6.2 NetBSD 1.6.2 (COLWYN) #0: Sun Feb 1 20:31:24 CET 2004 i386
Architecture: i386
Machine: i386
Because the latest version of the "gtexinfo" package requires it the
"gettext-lib" package is installed on my system. Unfortunately this
breaks the build of the "gnome2-games" package:

c++ -O2 -I/src/NetBSD-current/pkgsrc/games/gnome2-games/work/.buildlink/include -I/src/NetBSD-current/pkgsrc/games/gnome2-games/work/.buildlink-x11/include -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o gnometris main.o blocks.o preview.o blockops.o field.o tetris.o scoreframe.o gnome-canvas-pimage.o -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -Wl,-R/usr/X11R6/lib  -L/src/NetBSD-current/pkgsrc/games/gnome2-games/work/.buildlink/lib -L/src/NetBSD-current/pkgsrc/games/gnome2-games/work/.buildlink-x11/lib /usr/pkg/lib/ -L/usr/pkg/lib -L/usr/X11R6/lib /usr/pkg/lib/ /usr/pkg/lib/ -lSM -lICE -lX11 /usr/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ -lossaudio /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ !
 /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ -lz /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ /usr/pkg/lib/ -liconv -lintl ../libgames-support/.libs/libgames-support.a /usr/pkg/lib/ -lm /usr/lib/ -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib
main.o: In function `main':
main.o(.text+0x1d): undefined reference to `libintl_bindtextdomain'
main.o(.text+0x2f): undefined reference to `libintl_bind_textdomain_codeset'
main.o(.text+0x3f): undefined reference to `libintl_textdomain'
tetris.o: In function `Tetris::Tetris(int)':
tetris.o(.text+0xf1): undefined reference to `libintl_gettext'
tetris.o(.text+0x7be): undefined reference to `libintl_gettext'
tetris.o(.text+0x882): undefined reference to `libintl_gettext'
tetris.o: In function `Tetris::setupPixmap(void)':
tetris.o(.text+0xbbe): undefined reference to `libintl_gettext'
tetris.o(.text+0xc58): undefined reference to `libintl_gettext'
tetris.o(.text+0x17b6): more undefined references to `libintl_gettext' follow
collect2: ld returned 1 exit status
gmake[3]: *** [gnometris] Error 1

If I deinstall the "gettext-lib" package I can again build the
"gnome2-games" package.

cd pkgsrc/devel/gtexinfo
make install
cd ../../games/gnome2-games

None provided.