NetBSD Problem Report #24326

Received: (qmail 14680 invoked by uid 605); 5 Feb 2004 22:04:33 -0000
Message-Id: <200402052204.i15M4UT18309@colwyn.zhadum.de>
Date: Thu, 5 Feb 2004 23:04:30 +0100 (CET)
From: Matthias Scheler <tron@zhadum.de>
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: tron@zhadum.de
To: gnats-bugs@gnats.netbsd.org
Subject: "gnome2-games" build fails if "gettext-lib" is installed
X-Send-Pr-Version: 3.95

>Number:         24326
>Category:       pkg
>Synopsis:       "gnome2-games" build fails if "gettext-lib" is installed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 05 22:05:00 +0000 2004
>Closed-Date:    Sat Feb 14 13:44:08 +0000 2004
>Last-Modified:  Sat Feb 14 13:44:08 +0000 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Sat Feb 14 13:43:56 UTC 2004 
State-Changed-Why:  
I can no longer reproduce the problem. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.