Subject: pkg/13680: xchat fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 08/11/2001 03:15:51
>Number:         13680
>Category:       pkg
>Synopsis:       xchat fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 10 20:04:04 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        current as of August 08, pkgsrc as of August 10
>Organization:
	
>Environment:
	
System: NetBSD night-porter.duskware.de 1.5X NetBSD 1.5X (PORTER) #0: Fri Jul 27 16:53:44 MEST 2001 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

On an i386 machine running -current, with XFree 3.3.6 installed and no
xpkgwedge, chat/xchat fails to build. There is a -lintl missing on the
command line:

===> Building for xchat-1.8.2
gmake  all-recursive
gmake[1]: Entering directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2'
Making all in po
gmake[2]: Entering directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/po'
Making all in intl
gmake[2]: Entering directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/intl'
Making all in src
gmake[2]: Entering directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src'
Making all in common
gmake[3]: Entering directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common'
Making all in fe-gtk
gmake[3]: Entering directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/fe-gtk'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/fe-gtk'
Making all in fe-text
gmake[3]: Entering directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/fe-text'
cc  -I/usr/pkgsrc/chat/xchat/work/.buildlink/include -O2 -pipe -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include  -fno-strict-aliasing -I/usr/pkg/include  -I/usr/pkg/lib/perl5/5.6.1/i386-netbsd/CORE  -I/usr/pkg/include/python2.0 -Wall -g -L/usr/pkgsrc/chat/xchat/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o xchat-text  fe-text.o ../common/libxchatmain.a -lutil -lpthread  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -Wl,-whole-archive -lgcc -Wl,-no-whole-archive -Wl,-E -Wl,-R/usr/pkg/lib -R /usr/pkg/lib/perl5/5.6.1/i386-netbsd/CORE -L/usr/local/lib -L/usr/pkg/lib /usr/pkg/lib/perl5/5.6.1/i386-netbsd/auto/DynaLoader/DynaLoader.a -L/usr/pkg/lib/perl5/5.6.1/i386-netbsd/CORE -lperl -lm -lcrypt -lutil -L/usr/pkg/lib/python2.0/config -lpython2.0 
/usr/pkg/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tmpnam':
posixmodule.o(.text+0x1f52): warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/pkg/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tempnam':
posixmodule.o(.text+0x1ebb): warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
fe-text.o: In function `fe_main':
/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/fe-text/fe-text.c:446: undefined reference to `bindtextdomain'
/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/fe-text/fe-text.c:447: undefined reference to `textdomain'
../common/libxchatmain.a(outbound.o): In function `notj_msg':
/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common/outbound.c:167: undefined reference to `gettext'
../common/libxchatmain.a(outbound.o): In function `notc_msg':
/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common/outbound.c:173: undefined reference to `gettext'
../common/libxchatmain.a(outbound.o): In function `help':
/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common/outbound.c:669: undefined reference to `gettext'
/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common/outbound.c:683: undefined reference to `gettext'
../common/libxchatmain.a(outbound.o): In function `cmd_exec':
/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common/outbound.c:1802: undefined reference to `gettext'
../common/libxchatmain.a(outbound.o):/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/common/outbound.c:1936: more undefined references to `gettext' follow
collect2: ld returned 1 exit status
gmake[3]: *** [xchat-text] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src/fe-text'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/chat/xchat/work/xchat-1.8.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/chat/xchat
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/xchat
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/xchat

pkg_info -a shows:

digest-20010807     Message digest wrapper utility
tcsh-6.10.00        Extended C-shell with many useful features
rxvt-2.7.3          Low memory usage xterm replacement that supports color
gmake-3.79.1        GNU version of 'make' utility
m4-1.4              GNU version of Unix m4 macro-processor
perl-base-5.6.1nb1  base installation of Perl
p5-CGI-2.75.2       perl5 module for writing forms-based CGI programs
perl-5.6.1nb1       Practical Extraction and Report Language
autoconf-2.13       Automatically configure source code on many Un*x platforms
automake-1.4        GNU Standards-compliant Makefile generator
xml-i18n-tools-0.8.1 XML internationalisation tools
gtk---1.2.5         C++ wrapper for the gimp toolkit (gtk++)
ggv-1.0             GNOME frontend for GhostScript
png-1.0.12          Library for manipulating PNG images
netpbm-9.7          toolkit for conversion of images between different formats
libtool-base-1.4.20010614nb2 Generic shared library support script (the script itself)
libtool-info-1.4.20010614nb2 Generic shared library support script - info pages
libtool-1.4.20010614nb2 Generic shared library support script
pth-1.4.0           GNU Portable Thread library
glib-1.2.10         Some useful routines for C programming
gindent-2.2.6       GNU version of pretty-printer for C source code
gettext-m4-0.10.35  autoconf/automake m4 files for GNU NLS library
ORBit-0.5.8         high-performance CORBA ORB with support for the C language
libaudiofile-0.2.1  Sound library for SGI audio file
esound-0.2.22       the Enlightened sound daemon
gtk+-1.2.10         Gimp toolkit. Libraries for building X11 user interfaces
libungif-4.1.0      Tools and library routines for working with GIF images
jpeg-6b             IJG's jpeg compression utilities
unzip-5.42          List, test and extract compressed files in a ZIP archive
tiff-3.5.5          library and tools for reading and writing TIFF data files
oaf-0.6.5           new object activation framework for GNOME
zip-2.3nb1          Create/update ZIP files compatible with pkzip
buildlink-x11-0.7   allows X11 pkgs to be built using the buildlink.mk infrastru
gdk-pixbuf-0.10.1   the GNOME image loading library
gal-0.7             Gnome Application Libraries
xpm-3.4k            The X Pixmap library
imlib-1.9.8.1       image manipulation library for X11
ghostscript-6.01    Aladdin Postscript interpreter with X11 drivers
libghttp-1.0.9      GNOME http client library
libxml-1.8.13       XML parser, mainly used by the GNOME project
readline-4.2        GNU library that can recall and edit previous input
guile-1.4           GNU's Ubiquitous Intelligent Language for Extension
GConf-1.0.0         configuration database system used by GNOME
gnome-libs-1.2.13   Libaries for the GNU Network Object Model Environment
scrollkeeper-0.2    Open Document Cataloging Project
gdk-pixbuf-gnome-0.10.1 the GNOME image loading library GNOME canvas support add-on
glu-3.4.2           GLU polygon tesselation facility for Mesa
glut-3.4.2          GLUT Graphics library similar to SGI's OpenGL
cdrecord-1.10       This program allows you to create CD's on a CD-Recorder
gle-3.0.3           GL subroutines for drawing tubing and extrusions
gnome-vfs-1.0.1     GNOME Virtual File System
control-center-1.4.0.1 GNOME control-center development library
MesaLib-3.4.2       Graphics library similar to SGI's OpenGL
libunicode-0.4      library for manipulating Unicode characters and strings
ghostscript-fonts-6.0 Postscript fonts for Aladdin Ghostscript
freetype-lib-1.3.1  TrueType font rendering engine and library API
ja-vflib-lib-2.24.2 Japanese Vector font library
watanabe-vfont-19930318 Watanabe-vector Japanese font
Mesa-3.4.2nb1       Graphics library meta package, similar to SGI's OpenGL
libglade-0.16       Runtime interpreter for GLADE gui files
bison-1.28          GNU yacc(1) replacement
gnome-print-0.28    Prototype implementation of the Gnome Printing Architecture
libwww-5.3.2        The W3C Reference Library
bonobo-1.0.4        Architecture for creating reusable software components
glibwww-0.2         event register/unregister functions that use the glib event 
gdm-2.2.0           Gnome Display Manager - a re-implementation of the xdm progr
libgtop-1.0.12      library to retrieve system information, used in GNOME
gnome-users-guide-1.2 User documentation for GNOME
xemacs-21.1.14      XEmacs text editor version 21
libslang-1.4.4      Routines for rapid alpha-numeric terminal applications devel
zenicb-19981202     ICB client for Emacs
gtk-engines-0.12    Theme engines for GTK+
icewm-gnome-1.0.4   small, fast and light-weight window manager (GNOME version)
ImageMagick-5.2.8   Package for display and interactive manipulation of images
gnome-audio-1.4.0   Set of audio files for GNOME
mpeg-1.3.1          Library for decoding MPEG movies
gimp-1.2.2          Image manipulation program similar to Photoshop[tm]
mozilla-0.9.3       The open-source version of the Netscape browser
xli-1.16nb1         Version of xloadimage, an X11 Image Loading Utility
libiconv-1.6.1      character set conversion library
gtkglarea-1.2.2     OpenGL/Mesa widget for GTK+ GUI toolkit
ee-0.3.12           Image viewer based on imlib by the Rasterman.  Gtk clone of 
xearth-1.1nb1       Rotating map of the Earth in X11 root window
gtkhtml-0.8.3       lightweight HTML rendering/printing/editing engine
evolution-0.10      GNOME mailer, calendar, contact manager, and communications 
xscreensaver-gnome-3.33 Screen saver and locker for the X window system (with GNOME 
gnome-core-1.4.0.4  Base component of GNU Network Object Management Environment
gdbm-1.8.0          The GNU database manager
Xaw3d-1.5           3-D widgets based on the Athena Widget set
glade-0.6.2         User interface builder for GTK+
gmc-4.5.51          GNOME version of Midnight Commander, a free Norton Commander
gnome-applets-1.4.0.1 Applets for GNOME
gnome-chess-0.2.4   GNOME's graphical interface for playing chess
gb-0.0.18           Basic for Gnome
libsigc++-1.0.3     libsigc++ is provides a callback system for C++ programs
gnome-games-1.4.0.1 GNOME games collection
gnome-media-1.2.0   Set of audio/multimedia applications for GNOME
gnome-pim-1.4.0     Personal Information Manager for GNOME
python-2.0.1        Interpreted, interactive, object-oriented programming langua
gtop-1.0.13         GNOME system monitor - top like, memory graphs, process view
pccts-1.33.22       Purdue Compiler Construction Tool Set
gnome-python-1.4.0  Python Bindings for the GNU Network Object Model Environment
pan-0.9.6           Newsreader for Gnome
mpeg2codec-1.2      MPEG Software Simulation Group's MPEG-2 Encoder and Decoder
gnome-utils-1.4.0   Set of useful GNOME utilities and applications
gettext-0.10.35nb2  tools for providing messages in different languages
xchat-1.8.2         X11 (X Window System) IRC client, using the GTK+ toolkit
cdrdao-1.1.5        Records audio or data CD-Rs in disk-at-once (DAO) mode

>How-To-Repeat:

see above.

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