Subject: pkg/27126: gtkspell configure script libaspell check borked
To: None <gnats-bugs@gnats.netbsd.org>
From: None <collver@peak.org>
List: pkgsrc-bugs
Date: 10/03/2004 12:34:36
>Number:         27126
>Category:       pkg
>Synopsis:       gtkspell configure script libaspell check borked
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 03 19:35:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD sanctum 1.6.2 NetBSD 1.6.2 (SANCTUM) #1: Sun Mar 14 06:59:50 PST 2004 root@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:
When trying to build gaim, which depends on gtkspell, which depends on
aspell, the gtkspell configure script tests for a function in libaspell.
This test fails for reasons other than lack of that function.
>How-To-Repeat:
Try to build gtkspell under current pkgsrc.  Here is the relevant error
message from gtkspell's config.log.

configure:3669: checking for new_aspell_speller in -laspell
configure:3700: gcc -o conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -laspell  -lintl >&5
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `cerr'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `istream::ios virtual table'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `sqrt'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::sys_write(char const *, int)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `endl(ostream &)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `ios virtual table'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf type_info node'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::sys_read(char *, int)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::sync(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `__out_of_range(char const *)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `ostream::flush(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `istream type_info node'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::sys_stat(void *)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `ostream::operator<<(char const *)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::xsgetn(char *, int)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::sungetc(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::sys_close(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::pbackfail(int)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `istream::istream(int, streambuf *, ostream *)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::sys_seek(long long, ios::seek_dir)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `_IO_getc'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `_IO_free_backup_area'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::xsputn(char const *, int)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `istream::_skip_ws(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::streambuf(int)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::doallocate(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `__length_error(char const *)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::~streambuf(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `_IO_putc'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `istream type_info function'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf::uflow(void)'
/usr/pkgsrc/textproc/gtkspell/work/.buildlink/lib/libaspell.so: undefined reference to `streambuf type_info function'
configure:3703: $? = 1
configure: failed program was:
| #line 3677 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "gtkspell"
| #define PACKAGE_TARNAME "gtkspell"
| #define PACKAGE_VERSION "2.0.5"
| #define PACKAGE_STRING "gtkspell 2.0.5"
| #define PACKAGE_BUGREPORT "nathan@silverorange.com"
| #define PACKAGE "gtkspell"
| #define VERSION "2.0.5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ASPELL_H 1
| #define HAVE_PSPELL_H 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char new_aspell_speller ();
| int
| main ()
| {
| new_aspell_speller ();
|   ;
|   return 0;
| }
configure:3721: result: no

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: