Subject: pkg/24326: "gnome2-games" build fails if "gettext-lib" is installed
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
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
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.2 2003-02-05 package sources
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6.2 NetBSD 1.6.2 (COLWYN) #0: Sun Feb 1 20:31:24 CET 2004 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
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/libgnomeui-2.so -L/usr/pkg/lib -L/usr/X11R6/lib /usr/pkg/lib/libjpeg.so /usr/pkg/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libz.so /usr/pkg/lib/libgnomecanvas-2.so /usr/pkg/lib/libgnome-2.so /usr/pkg/lib/libesd.so -lossaudio /usr/pkg/lib/libaudiofile.so /usr/pkg/lib/libart_lgpl_2.so /usr/pkg/lib/libpangoft2-1.0.so /usr/pkg/lib/libgtk-x11-2.0.so /usr/pkg/lib/libgdk-x11-2.0.so /usr/pkg/lib/libatk-1.0.so /usr/pkg/lib/libgdk_pixbuf-2.0.so /usr/pkg/lib/libpangoxft-1.0.so !
/usr/pkg/lib/libpangox-1.0.so /usr/pkg/lib/libpango-1.0.so /usr/pkg/lib/libbonobo-2.so /usr/pkg/lib/libgnomevfs-2.so /usr/pkg/lib/libgconf-2.so /usr/pkg/lib/libxml2.so -lz /usr/pkg/lib/libbonobo-activation.so /usr/pkg/lib/libORBitCosNaming-2.so /usr/pkg/lib/libORBit-2.so /usr/pkg/lib/libpopt.so /usr/pkg/lib/libgobject-2.0.so /usr/pkg/lib/libgthread-2.0.so /usr/pkg/lib/libpthread.so /usr/pkg/lib/libgmodule-2.0.so /usr/pkg/lib/libglib-2.0.so -liconv -lintl ../libgames-support/.libs/libgames-support.a /usr/pkg/lib/libiconv.so -lm /usr/lib/libintl.so -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.
>How-To-Repeat:
cd pkgsrc/devel/gtexinfo
make install
cd ../../games/gnome2-games
make
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: