pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44005: aspell will segfault when invoked with "-c <file>" option



>Number:         44005
>Category:       pkg
>Synopsis:       aspell will segfault when invoked with "-c <file>" option
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 27 00:10:01 +0000 2010
>Originator:     Chris Fuhrman
>Release:        NetBSD 5.0.2
>Organization:
        
>Environment:

Note that this is the version of aspell as provided by pkgsrc-2010Q3

aspell ldd output:

[ vc75-03:22 PM ]-~ $ ldd /usr/pkg/bin/aspell
/usr/pkg/bin/aspell:
        -lc.12 => /usr/lib/libc.so.12
        -lintl.0 => /usr/lib/libintl.so.0
        -lstdc++.6 => /usr/lib/libstdc++.so.6
        -lm.0 => /usr/lib/libm.so.0
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -laspell.15 => /usr/pkg/lib/libaspell.so.15
        -lcurses.6 => /usr/lib/libcurses.so.6

System: NetBSD vc75.vc.panix.com 5.0.2 NetBSD 5.0.2 (PANIX-VC) #2: Tue Oct 19 
16:30:57 EDT 2010 
root%juggler.panix.com@localhost:/misc3/obj/misc2/devel/netbsd/5.0.2/src/sys/arch/amd64/compile/PANIX-VC
 amd64
Architecture: x86_64
Machine: amd64
>Description:

        aspell will segfault when invoked with "-c <file>" option.

        Example:

        $ aspell -c <some_file>

        I took a look at /usr/pkgsrc/textproc/aspell and noticed that
        ../../devel/ncurses/buildlink3.mk is included but that the ldd
        output still shows the binary using /usr/lib/libcurses.so.6
        (see above).

        Output of config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU Aspell configure 0.60.6, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --enable-doc-dir=/usr/pkg/share/doc/aspell 
--enable-curses=ncurses --enable-pkgdatadir=/usr/pkg/share/aspell 
--enable-dict-dir=/usr/pkg/lib/aspell --enable-compile-in-filters 
--without-libintl-prefix --without-libiconv-prefix --prefix=/usr/pkg 
--build=x86_64--netbsd --host=x86_64--netbsd --infodir=/usr/pkg/info 
--mandir=/usr/pkg/man

## --------- ##
## Platform. ##
## --------- ##

hostname = scuzzbuilder.local
uname -m = amd64
uname -r = 5.0.2
uname -s = NetBSD
uname -v = NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 13:44:19 UTC 2010  
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/amd64/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/amd64/compile/GENERIC

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/pkgsrc/textproc/aspell/work/.wrapper/bin
PATH: /usr/pkgsrc/textproc/aspell/work/.buildlink/bin
PATH: /usr/pkgsrc/textproc/aspell/work/.gcc/bin
PATH: /usr/pkgsrc/textproc/aspell/work/.tools/bin
PATH: /usr/pkg/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/pkg/bin
PATH: /usr/local/bin
PATH: /usr/X11R7/bin
PATH: /usr/games
PATH: /usr/X11R6/bin
PATH: /usr/sbin
PATH: /sbin
PATH: .
PATH: /usr/pkg/sbin
PATH: /usr/pkg/bin
PATH: /usr/X11R7/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2025: checking build system type
configure:2043: result: x86_64--netbsd
configure:2065: checking host system type
configure:2080: result: x86_64--netbsd
configure:2102: checking target system type
configure:2117: result: x86_64--netbsd
configure:2160: checking for a BSD-compatible install
configure:2216: result: /usr/bin/install -c -o root -g wheel
configure:2227: checking whether build environment is sane
configure:2270: result: yes
configure:2298: checking for a thread-safe mkdir -p
configure:2337: result: /usr/pkg/bin/gmkdir -p
configure:2350: checking for gawk
configure:2377: result: /usr/bin/awk
configure:2388: checking whether make sets $(MAKE)
configure:2409: result: yes
configure:2600: checking whether to enable maintainer-specific portions of 
Makefiles
configure:2609: result: no
configure:2847: checking for C++ compiler version
configure:2854: c++ --version >&5
g++ (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2857: $? = 0
configure:2864: c++ -v >&5
Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=x86_64-unknown-netbsd4.99.72 --host=x86_64--netbsd 
--target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
configure:2867: $? = 0
configure:2874: c++ -V >&5
g++: couldn't run 
'/usr/pkgsrc/textproc/aspell/work/.gcc/bin/x86_64--netbsd-gcc--I/usr/pkgsrc/textproc/aspell/work/.buildlink/include':
 No such file or directory
configure:2877: $? = 1
configure:2900: checking for C++ compiler default output file name
configure:2927: c++ -O2 -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib 
-Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:2930: $? = 0
configure:2968: result: a.out
configure:2985: checking whether the C++ compiler works
configure:2995: ./a.out
configure:2998: $? = 0
configure:3015: result: yes
configure:3022: checking whether we are cross compiling
configure:3024: result: no
configure:3027: checking for suffix of executables
configure:3034: c++ -o conftest -O2 -I/usr/include -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:3037: $? = 0
configure:3061: result: 
configure:3067: checking for suffix of object files
configure:3093: c++ -c -O2 -I/usr/include -I/usr/include conftest.cpp >&5
configure:3096: $? = 0
configure:3119: result: o
configure:3123: checking whether we are using the GNU C++ compiler
configure:3152: c++ -c -O2 -I/usr/include -I/usr/include conftest.cpp >&5
configure:3158: $? = 0
configure:3175: result: yes
configure:3180: checking whether c++ accepts -g
configure:3210: c++ -c -g -I/usr/include conftest.cpp >&5
configure:3216: $? = 0
configure:3315: result: yes
configure:3349: checking for style of include used by make
configure:3377: result: GNU
configure:3402: checking dependency style of c++
configure:3493: result: gcc3
configure:3528: checking for x86_64--netbsd-gcc
configure:3555: result: cc
configure:3833: checking for C compiler version
configure:3840: cc --version >&5
gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3843: $? = 0
configure:3850: cc -v >&5
Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=x86_64-unknown-netbsd4.99.72 --host=x86_64--netbsd 
--target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
configure:3853: $? = 0
configure:3860: cc -V >&5
gcc: couldn't run 
'/usr/pkgsrc/textproc/aspell/work/.gcc/bin/x86_64--netbsd-gcc--I/usr/pkgsrc/textproc/aspell/work/.buildlink/include':
 No such file or directory
configure:3863: $? = 1
configure:3866: checking whether we are using the GNU C compiler
configure:3895: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:3901: $? = 0
configure:3918: result: yes
configure:3923: checking whether cc accepts -g
configure:3953: cc -c -g -I/usr/include conftest.c >&5
configure:3959: $? = 0
configure:4058: result: yes
configure:4075: checking for cc option to accept ISO C89
configure:4149: cc  -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:4155: $? = 0
configure:4178: result: none needed
configure:4198: checking dependency style of cc
configure:4289: result: gcc3
configure:4308: checking whether cc understands -c and -o together
configure:4340: cc -c conftest.cpp -o conftest2.o >&5
configure:4343: $? = 0
configure:4349: cc -c conftest.cpp -o conftest2.o >&5
configure:4352: $? = 0
configure:4404: result: yes
configure:4491: checking for a sed that does not truncate output
configure:4570: result: /usr/bin/sed
configure:4588: checking for grep that handles long lines and -e
configure:4662: result: /usr/bin/grep
configure:4667: checking for egrep
configure:4745: result: /usr/bin/egrep
configure:4750: checking for fgrep
configure:4828: result: /usr/bin/grep -F
configure:4863: checking for ld used by cc
configure:4930: result: /usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld
configure:4939: checking if the linker 
(/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld) is GNU ld
configure:4954: result: yes
configure:4966: checking for BSD- or MS-compatible name lister (nm)
configure:5015: result: /usr/bin/nm -B
configure:5137: checking the name lister (/usr/bin/nm -B) interface
configure:5144: c++ -c -O2 -I/usr/include -fno-exceptions -I/usr/include 
conftest.cpp >&5
configure:5147: /usr/bin/nm -B "conftest.o"
configure:5150: output
0000000000000000 B some_variable
configure:5157: result: BSD nm
configure:5160: checking whether ln -s works
configure:5164: result: yes
configure:5172: checking the maximum length of command line arguments
configure:5292: result: 262144
configure:5309: checking whether the shell understands some XSI constructs
configure:5317: result: yes
configure:5321: checking whether the shell understands "+="
configure:5327: result: no
configure:5362: checking for /usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld 
option to reload object files
configure:5369: result: -r
configure:5396: checking how to recognize dependent libraries
configure:5586: result: match_pattern /lib[^/]+(\.so|_pic\.a)$
configure:5606: checking for x86_64--netbsd-ar
configure:5636: result: no
configure:5646: checking for ar
configure:5662: found /usr/bin/ar
configure:5673: result: ar
configure:5715: checking for x86_64--netbsd-strip
configure:5745: result: no
configure:5755: checking for strip
configure:5771: found /usr/pkgsrc/textproc/aspell/work/.tools/bin/strip
configure:5782: result: strip
configure:5818: checking for x86_64--netbsd-ranlib
configure:5848: result: no
configure:5858: checking for ranlib
configure:5874: found /usr/bin/ranlib
configure:5885: result: ranlib
configure:5979: checking command to parse /usr/bin/nm -B output from cc object
configure:6097: c++ -c -O2 -I/usr/include -fno-exceptions -I/usr/include 
conftest.cpp >&5
configure:6100: $? = 0
configure:6104: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[   
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:6107: $? = 0
configure:6161: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp 
conftstm.o >&5
configure:6164: $? = 0
configure:6202: result: ok
configure:6778: checking how to run the C preprocessor
configure:6818: cc -E -I/usr/include conftest.c
configure:6824: $? = 0
configure:6855: cc -E -I/usr/include conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:6861: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6894: result: cc -E
configure:6923: cc -E -I/usr/include conftest.c
configure:6929: $? = 0
configure:6960: cc -E -I/usr/include conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:6966: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7004: checking for ANSI C header files
configure:7034: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7040: $? = 0
configure:7139: cc -o conftest -O2 -I/usr/include -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.c  >&5
configure:7142: $? = 0
configure:7148: ./conftest
configure:7151: $? = 0
configure:7168: result: yes
configure:7192: checking for sys/types.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for sys/stat.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for stdlib.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for string.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for memory.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for strings.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for inttypes.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for stdint.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7192: checking for unistd.h
configure:7213: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7219: $? = 0
configure:7235: result: yes
configure:7251: checking for dlfcn.h
configure:7272: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:7278: $? = 0
configure:7294: result: yes
configure:7423: checking for C++ compiler version
configure:7430: c++ --version >&5
g++ (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:7433: $? = 0
configure:7440: c++ -v >&5
Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=x86_64-unknown-netbsd4.99.72 --host=x86_64--netbsd 
--target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
configure:7443: $? = 0
configure:7450: c++ -V >&5
g++: couldn't run 
'/usr/pkgsrc/textproc/aspell/work/.gcc/bin/x86_64--netbsd-gcc--I/usr/pkgsrc/textproc/aspell/work/.buildlink/include':
 No such file or directory
configure:7453: $? = 1
configure:7456: checking whether we are using the GNU C++ compiler
configure:7508: result: yes
configure:7513: checking whether c++ accepts -g
configure:7648: result: yes
configure:7673: checking dependency style of c++
configure:7764: result: gcc3
configure:7787: checking how to run the C++ preprocessor
configure:7823: c++ -E -I/usr/include conftest.cpp
configure:7829: $? = 0
configure:7860: c++ -E -I/usr/include conftest.cpp
conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
configure:7866: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7899: result: c++ -E
configure:7928: c++ -E -I/usr/include conftest.cpp
configure:7934: $? = 0
configure:7965: c++ -E -I/usr/include conftest.cpp
conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
configure:7971: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:8151: checking for objdir
configure:8166: result: .libs
configure:8462: checking if cc supports -fno-rtti -fno-exceptions
configure:8480: cc -c -O2 -I/usr/include -I/usr/include -fno-rtti 
-fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not 
for C
configure:8484: $? = 0
configure:8497: result: no
configure:8517: checking for cc option to produce PIC
configure:8774: result: -fPIC -DPIC
configure:8786: checking if cc PIC flag -fPIC -DPIC works
configure:8804: cc -c -O2 -I/usr/include -I/usr/include -fPIC -DPIC -DPIC 
conftest.c >&5
configure:8808: $? = 0
configure:8821: result: yes
configure:8845: checking if cc static flag -static works
configure:8873: result: yes
configure:8888: checking if cc supports -c -o file.o
configure:8909: cc -c -O2 -I/usr/include -I/usr/include -o out/conftest2.o 
conftest.c >&5
configure:8913: $? = 0
configure:8935: result: yes
configure:8943: checking if cc supports -c -o file.o
configure:8990: result: yes
configure:9023: checking whether the cc linker 
(/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld) supports shared libraries
configure:10077: result: yes
configure:10114: checking whether -lc should be explicitly linked in
configure:10119: cc -c -O2 -I/usr/include -I/usr/include conftest.c >&5
configure:10122: $? = 0
configure:10137: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 
2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
configure:10140: $? = 0
configure:10152: result: no
configure:10316: checking dynamic linker characteristics
configure:10995: result: NetBSD ld.elf_so
configure:11097: checking how to hardcode library paths into programs
configure:11122: result: immediate
configure:11241: checking for shl_load
configure:11297: cc -o conftest -O2 -I/usr/include -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.c  >&5
/var/tmp//cc6DjHu0.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `shl_load'
configure:11303: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| /* Define shl_load to an innocuous variant, in case <limits.h> declares 
shl_load.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define shl_load innocuous_shl_load
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char shl_load (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef shl_load
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_shl_load || defined __stub___shl_load
| choke me
| #endif
| 
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:11320: result: no
configure:11325: checking for shl_load in -ldld
configure:11360: cc -o conftest -O2 -I/usr/include -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.c -ldld   >&5
ld: cannot find -ldld
configure:11366: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:11384: result: no
configure:11389: checking for dlopen
configure:11445: cc -o conftest -O2 -I/usr/include -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.c  >&5
configure:11451: $? = 0
configure:11468: result: yes
configure:11701: checking whether a program can dlopen itself
configure:11775: cc -o conftest -O2 -I/usr/include -I/usr/include 
-DHAVE_DLFCN_H -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib 
-Wl,--export-dynamic conftest.c   >&5
configure: In function 'main':
configure:11771: warning: incompatible implicit declaration of built-in 
function 'exit'
configure:11778: $? = 0
configure:11796: result: yes
configure:11801: checking whether a statically linked program can dlopen itself
configure:11875: cc -o conftest -O2 -I/usr/include -I/usr/include 
-DHAVE_DLFCN_H -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib 
-Wl,--export-dynamic -static conftest.c   >&5
configure: In function 'main':
configure:11871: warning: incompatible implicit declaration of built-in 
function 'exit'
configure:11878: $? = 0
Service unavailable
configure:11896: result: no
configure:11935: checking whether stripping libraries is possible
configure:11940: result: yes
configure:11975: checking if libtool supports shared libraries
configure:11977: result: yes
configure:11980: checking whether to build shared libraries
configure:12001: result: yes
configure:12004: checking whether to build static libraries
configure:12008: result: no
configure:12158: checking for ld used by c++
configure:12225: result: /usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld
configure:12234: checking if the linker 
(/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld) is GNU ld
configure:12249: result: yes
configure:12304: checking whether the c++ linker 
(/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld) supports shared libraries
configure:13266: result: yes
configure:13294: c++ -c -O2 -I/usr/include -fno-exceptions -I/usr/include 
conftest.cpp >&5
configure:13297: $? = 0
configure:13479: checking for c++ option to produce PIC
configure:13788: result: -fPIC -DPIC
configure:13797: checking if c++ PIC flag -fPIC -DPIC works
configure:13815: c++ -c -O2 -I/usr/include -fno-exceptions -I/usr/include -fPIC 
-DPIC -DPIC conftest.cpp >&5
configure:13819: $? = 0
configure:13832: result: yes
configure:13853: checking if c++ static flag -static works
configure:13881: result: yes
configure:13893: checking if c++ supports -c -o file.o
configure:13914: c++ -c -O2 -I/usr/include -fno-exceptions -I/usr/include -o 
out/conftest2.o conftest.cpp >&5
configure:13918: $? = 0
configure:13940: result: yes
configure:13945: checking if c++ supports -c -o file.o
configure:13992: result: yes
configure:14022: checking whether the c++ linker 
(/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld) supports shared libraries
configure:14048: result: yes
configure:14185: checking dynamic linker characteristics
configure:14812: result: NetBSD ld.elf_so
configure:14863: checking how to hardcode library paths into programs
configure:14888: result: immediate
configure:14954: checking for dlfcn.h
configure:14960: result: yes
configure:15091: checking for dlopen
configure:15170: result: yes
configure:15254: checking for sed
configure:15281: result: /usr/bin/sed
configure:15291: checking for perl
configure:15309: found /usr/pkgsrc/textproc/aspell/work/.tools/bin/perl
configure:15321: result: /usr/pkgsrc/textproc/aspell/work/.tools/bin/perl
configure:15388: checking whether NLS is requested
configure:15397: result: yes
configure:15435: checking for msgfmt
configure: trying /usr/bin/msgfmt...
0 translated messages.
configure:15467: result: /usr/bin/msgfmt
configure:15476: checking for gmsgfmt
configure:15507: result: /usr/bin/msgfmt
configure:15558: checking for xgettext
configure: trying /usr/bin/xgettext...
/usr/bin/xgettext: warning: file `/dev/null' extension `' is unknown; will try C
configure:15590: result: /usr/bin/xgettext
configure:15636: checking for msgmerge
configure: trying /usr/bin/msgmerge...
configure:15667: result: /usr/bin/msgmerge
configure:15721: checking for ld used by GCC
configure:15785: result: /usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld
configure:15794: checking if the linker 
(/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld) is GNU ld
configure:15807: result: yes
configure:15814: checking for shared library run path origin
configure:15827: result: done
configure:16284: checking for CFPreferencesCopyAppValue
configure:16312: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  
-Wl,-framework -Wl,CoreFoundation >&5
conftest.cpp:25:42: error: CoreFoundation/CFPreferences.h: No such file or 
directory
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: 'NULL' was not declared in this scope
conftest.cpp:29: error: 'CFPreferencesCopyAppValue' was not declared in this 
scope
configure:16318: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define COMPILE_IN_FILTER 1
| #define FILTER_VERSION_CONTROL 1
| /* end confdefs.h.  */
| #include <CoreFoundation/CFPreferences.h>
| int
| main ()
| {
| CFPreferencesCopyAppValue(NULL, NULL)
|   ;
|   return 0;
| }
configure:16336: result: no
configure:16345: checking for CFLocaleCopyCurrent
configure:16373: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  
-Wl,-framework -Wl,CoreFoundation >&5
conftest.cpp:25:37: error: CoreFoundation/CFLocale.h: No such file or directory
conftest.cpp: In function 'int main()':
conftest.cpp:29: error: 'CFLocaleCopyCurrent' was not declared in this scope
configure:16379: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define COMPILE_IN_FILTER 1
| #define FILTER_VERSION_CONTROL 1
| /* end confdefs.h.  */
| #include <CoreFoundation/CFLocale.h>
| int
| main ()
| {
| CFLocaleCopyCurrent();
|   ;
|   return 0;
| }
configure:16397: result: no
configure:16448: checking for GNU gettext in libc
configure:16478: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
/var/tmp//ccqEa8qy.o: In function `main':
conftest.cpp:(.text+0xd): undefined reference to `bindtextdomain'
conftest.cpp:(.text+0x17): undefined reference to `gettext'
conftest.cpp:(.text+0x1e): undefined reference to `_nl_domain_bindings'
conftest.cpp:(.text+0x29): undefined reference to `_nl_msg_cat_cntr'
configure:16484: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define COMPILE_IN_FILTER 1
| #define FILTER_VERSION_CONTROL 1
| /* end confdefs.h.  */
| #include <libintl.h>
| 
| extern int _nl_msg_cat_cntr;
| extern int *_nl_domain_bindings;
| int
| main ()
| {
| bindtextdomain ("", "");
| return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
|   ;
|   return 0;
| }
configure:16502: result: no
configure:16536: checking for iconv
configure:16568: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:16574: $? = 0
configure:16644: result: yes
configure:17060: checking for GNU gettext in libintl
configure:17181: result: yes
configure:17218: checking whether to use NLS
configure:17220: result: yes
configure:17223: checking where the gettext function comes from
configure:17234: result: external libintl
configure:17242: checking how to link with libintl
configure:17244: result: /usr/lib/libintl.so
configure:17325: checking for dlfcn.h
configure:17331: result: yes
configure:17461: checking for dlopen in -ldl
configure:17496: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp -ldl   
>&5
ld: cannot find -ldl
configure:17502: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define COMPILE_IN_FILTER 1
| #define FILTER_VERSION_CONTROL 1
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:17520: result: no
configure:17538: checking if file locking and truncating is supported
configure:17565: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:17571: $? = 0
configure:17577: result: yes
configure:17596: checking if mmap and friends is supported
configure:17622: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:17628: $? = 0
configure:17634: result: yes
configure:17652: checking if file ino is supported
configure:17693: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:35: error: 'exit' was not declared in this scope
conftest.cpp:36: error: 'exit' was not declared in this scope
conftest.cpp:37: error: 'exit' was not declared in this scope
configure:17696: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define COMPILE_IN_FILTER 1
| #define FILTER_VERSION_CONTROL 1
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_DLFCN_H 1
| #define USE_FILE_LOCKS 1
| #define HAVE_MMAP 1
| /* end confdefs.h.  */
| #include <sys/stat.h>
|    int main() {
|      struct stat s1,s2;
|      if (stat("conftest-f1",&s1) != 0) exit(2);
|      if (stat("conftest-f2",&s2) != 0) exit(2);
|      exit (s1.st_ino != s2.st_ino ? 0 : 1);
|    }
| 
configure:17721: result: no
configure:17729: checking if posix locals are supported
configure:17753: c++ -c -O2 -I/usr/include -fno-exceptions -I/usr/include 
conftest.cpp >&5
configure:17759: $? = 0
configure:17764: result: yes
configure:17783: checking if posix regex are supported
configure:17809: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:17815: $? = 0
configure:17821: result: yes
configure:17841: checking for nl_langinfo and CODESET
configure:17867: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:17873: $? = 0
configure:17891: result: yes
configure:17910: checking if posix mutexes are supported
configure:17945: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp   >&5
configure:17951: $? = 0
configure:17977: result: yes
configure:18002: checking if mblen is supported
configure:18027: c++ -o conftest -O2 -I/usr/include -fno-exceptions 
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp  >&5
configure:18033: $? = 0
configure:18039: result: yes
configure:18369: checking for wide character support in curses libraray
configure:18397: c++ -o conftest -O2 -I/usr/include -fno-exceptions  
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp 
-lncurses  >&5
configure:18403: $? = 0
configure:18409: result: yes
configure:18496: checking if standard curses include sequence will work
configure:18526: c++ -o conftest -O2 -I/usr/include -fno-exceptions  
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp 
-lncurses  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:50: error: 'tigetstr' was not declared in this scope
configure:18532: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define COMPILE_IN_FILTER 1
| #define FILTER_VERSION_CONTROL 1
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_DLFCN_H 1
| #define USE_FILE_LOCKS 1
| #define HAVE_MMAP 1
| #define USE_LOCALE 1
| #define USE_POSIX_REGEX 1
| #define HAVE_LANGINFO_CODESET 1
| #define USE_POSIX_MUTEX 1
| #define HAVE_MBLEN 1
| #define CURSES_HEADER <curses.h>
| #define HAVE_WIDE_CURSES 1
| /* end confdefs.h.  */
| #ifdef DEFINE_XOPEN_SOURCE_EXTENDED
|         #  define _XOPEN_SOURCE_EXTENDED 1
|         #endif
|         #include <termios.h>
|       #include <unistd.h>
|         #include CURSES_HEADER
|       #include <term.h>
| 
| int
| main ()
| {
| tigetstr(const_cast<char *>("cup"));
|   ;
|   return 0;
| }
configure:18555: result: no
configure:18558: checking if curses workaround I will work
configure:18587: c++ -o conftest -O2 -I/usr/include -fno-exceptions  
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp 
-lncurses  >&5
/var/tmp//ccsUnDlv.o: In function `main':
conftest.cpp:(.text+0xa): undefined reference to `tigetstr'
configure:18593: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Aspell"
| #define PACKAGE_TARNAME "aspell"
| #define PACKAGE_VERSION "0.60.6"
| #define PACKAGE_STRING "GNU Aspell 0.60.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aspell"
| #define VERSION "0.60.6"
| #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_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define COMPILE_IN_FILTER 1
| #define FILTER_VERSION_CONTROL 1
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_DLFCN_H 1
| #define USE_FILE_LOCKS 1
| #define HAVE_MMAP 1
| #define USE_LOCALE 1
| #define USE_POSIX_REGEX 1
| #define HAVE_LANGINFO_CODESET 1
| #define USE_POSIX_MUTEX 1
| #define HAVE_MBLEN 1
| #define CURSES_HEADER <curses.h>
| #define HAVE_WIDE_CURSES 1
| /* end confdefs.h.  */
| #ifdef DEFINE_XOPEN_SOURCE_EXTENDED
|         #  define _XOPEN_SOURCE_EXTENDED 1
|         #endif
|         #include <termios.h>
|       #include <unistd.h>
|         #include CURSES_HEADER
|       extern "C" {char * tigetstr(char * capname);}
| int
| main ()
| {
| tigetstr(const_cast<char *>("cup"));
|   ;
|   return 0;
| }
configure:18615: result: no
configure:18618: checking if curses without Unix stuff will work
configure:18642: c++ -o conftest -O2 -I/usr/include -fno-exceptions  
-I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.cpp 
-lncurses  >&5
configure:18648: $? = 0
configure:18654: result: yes
configure:18830: checking for STL rel_ops pollution
configure:18863: c++ -c -O2 -I/usr/include -fno-exceptions -I/usr/include 
conftest.cpp >&5
configure:18869: $? = 0
configure:18874: result: no
configure:19057: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by GNU Aspell config.status 0.60.6, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on scuzzbuilder.local

config.status:20253: creating Makefile
config.status:20253: creating gen/Makefile
config.status:20253: creating common/Makefile
config.status:20253: creating lib/Makefile
config.status:20253: creating data/Makefile
config.status:20253: creating auto/Makefile
config.status:20253: creating modules/Makefile
config.status:20253: creating modules/tokenizer/Makefile
config.status:20253: creating modules/speller/Makefile
config.status:20253: creating modules/speller/default/Makefile
config.status:20253: creating interfaces/Makefile
config.status:20253: creating interfaces/cc/Makefile
config.status:20253: creating scripts/Makefile
config.status:20253: creating examples/Makefile
config.status:20253: creating prog/Makefile
config.status:20253: creating manual/Makefile
config.status:20253: creating po/Makefile.in
config.status:20253: creating m4/Makefile
config.status:20253: creating modules/filter/Makefile
config.status:20253: creating myspell/Makefile
config.status:20253: creating lib5/Makefile
config.status:20253: creating gen/settings.h
config.status:20581: executing depfiles commands
config.status:20581: executing libtool commands
config.status:20581: executing po-directories commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64--netbsd
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -I/usr/include'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/usr/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -I/usr/include'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64--netbsd
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64--netbsd
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_dlopen=yes
ac_cv_func_shl_load=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64--netbsd
ac_cv_lib_dl_dlopen=no
ac_cv_lib_dld_shl_load=no
ac_cv_objext=o
ac_cv_path_CAT=/bin/cat
ac_cv_path_ECHO=echo
ac_cv_path_EGREP=/usr/bin/egrep
ac_cv_path_ENV=/usr/bin/env
ac_cv_path_FALSE=false
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/bin/msgmerge
ac_cv_path_PERLPROG=/usr/pkgsrc/textproc/aspell/work/.tools/bin/perl
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_TEST=test
ac_cv_path_TRUE=true
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_mkdir=/usr/pkg/bin/gmkdir
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_CC=cc
ac_cv_prog_CPP='cc -E'
ac_cv_prog_CXXCPP='c++ -E'
ac_cv_prog_SED=/usr/bin/sed
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64--netbsd
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_path_LD=/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=so
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_func_iconv=yes
am_cv_langinfo_codeset=yes
am_cv_lib_iconv=no
gt_cv_func_CFLocaleCopyCurrent=no
gt_cv_func_CFPreferencesCopyAppValue=no
gt_cv_func_gnugettext1_libc=no
gt_cv_func_gnugettext1_libintl=yes
gt_cv_func_gnugettext2_libintl=yes
gt_cv_func_gnugettext_libintl=yes
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
lt_cv_dlopen=dlopen
lt_cv_dlopen_libs=
lt_cv_dlopen_self=yes
lt_cv_dlopen_self_static=no
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld
lt_cv_path_LDCXX=/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  
{\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  
{"\2", (void *) \&\2},/p'\'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ 
]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ 
]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ 
]*\)$/  {"lib\2", (void *) \&\2},/p'\'
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int 
\1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'
lt_cv_sys_max_cmd_len=262144

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/pkgsrc/textproc/aspell/work/aspell-0.60.6/missing --run 
aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/pkgsrc/textproc/aspell/work/aspell-0.60.6/missing --run 
tar'
AR='ar'
AUTOCONF='${SHELL} /usr/pkgsrc/textproc/aspell/work/aspell-0.60.6/missing --run 
autoconf'
AUTOHEADER='${SHELL} /usr/pkgsrc/textproc/aspell/work/aspell-0.60.6/missing 
--run autoheader'
AUTOMAKE='${SHELL} /usr/pkgsrc/textproc/aspell/work/aspell-0.60.6/missing --run 
automake-1.10'
AWK='/usr/bin/awk'
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -I/usr/include'
COMPILE_IN_FILTERS_FALSE='#'
COMPILE_IN_FILTERS_TRUE=''
CPP='cc -E'
CPPFLAGS='-I/usr/include'
CURSES_INCLUDE=''
CURSES_LIB='-lncurses'
CXX='c++'
CXXCPP='c++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-O2 -I/usr/include -fno-exceptions'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/egrep'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GMSGFMT='/usr/bin/msgfmt'
GMSGFMT_015=':'
GREP='/usr/bin/grep'
INCREMENTED_SONAME_FALSE=''
INCREMENTED_SONAME_TRUE='#'
INSTALL_DATA='/usr/bin/install -c -o root -g wheel -m 444'
INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g wheel -m 555'
INSTALL_SCRIPT='/usr/bin/install -c -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS='/usr/lib/libintl.so'
INTL_MACOSX_LIBS=''
LD='/usr/pkgsrc/textproc/aspell/work/.wrapper/bin/ld'
LDFLAGS='-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib'
LIBICONV=''
LIBINTL='/usr/lib/libintl.so'
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBICONV=''
LTLIBINTL='-L/usr/lib -lintl'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='/usr/pkgsrc/textproc/aspell/work/.tools/bin/makeinfo'
MSGFMT='/usr/bin/msgfmt'
MSGFMT_015=':'
MSGMERGE='/usr/bin/msgmerge'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJEXT='o'
PACKAGE='aspell'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU Aspell'
PACKAGE_STRING='GNU Aspell 0.60.6'
PACKAGE_TARNAME='aspell'
PACKAGE_VERSION='0.60.6'
PATH_SEPARATOR=':'
PERLPROG='/usr/pkgsrc/textproc/aspell/work/.tools/bin/perl'
POSUB='po'
PSPELL_COMPATIBILITY_FALSE='#'
PSPELL_COMPATIBILITY_TRUE=''
PTHREAD_LIB=''
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
USE_NLS='yes'
VERSION='0.60.6'
XGETTEXT='/usr/bin/xgettext'
XGETTEXT_015=':'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64--netbsd'
build_alias='x86_64--netbsd'
build_cpu='x86_64'
build_os='netbsd'
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64--netbsd'
host_alias='x86_64--netbsd'
host_cpu='x86_64'
host_os='netbsd'
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/pkg/info'
install_sh='$(SHELL) /usr/pkgsrc/textproc/aspell/work/aspell-0.60.6/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='/usr/pkg/man'
mkdir_p='/usr/pkg/bin/gmkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgdatadir='/usr/pkg/share/aspell'
pkgdocdir='${prefix}/share/doc/aspell'
pkglibdir='/usr/pkg/lib/aspell'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64--netbsd'
target_alias=''
target_cpu='x86_64'
target_os='netbsd'
target_vendor=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "GNU Aspell"
#define PACKAGE_TARNAME "aspell"
#define PACKAGE_VERSION "0.60.6"
#define PACKAGE_STRING "GNU Aspell 0.60.6"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "aspell"
#define VERSION "0.60.6"
#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_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_DLFCN_H 1
#define COMPILE_IN_FILTER 1
#define FILTER_VERSION_CONTROL 1
#define HAVE_ICONV 1
#define ENABLE_NLS 1
#define HAVE_GETTEXT 1
#define HAVE_DCGETTEXT 1
#define HAVE_DLFCN_H 1
#define USE_FILE_LOCKS 1
#define HAVE_MMAP 1
#define USE_LOCALE 1
#define USE_POSIX_REGEX 1
#define HAVE_LANGINFO_CODESET 1
#define USE_POSIX_MUTEX 1
#define HAVE_MBLEN 1
#define CURSES_HEADER <curses.h>
#define HAVE_WIDE_CURSES 1
#define HAVE_LIBCURSES 1
#define CURSES_ONLY 1

configure: exit 0

        
>How-To-Repeat:
        $ cd /usr/pkgsrc/textproc/aspell
        $ make && make install
        $ aspell -c <some_file>
>Fix:
        A temporary workaround is the following patch which disables
        curses completely:

Index: textproc/aspell/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/aspell/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- textproc/aspell/Makefile    19 Feb 2010 20:16:40 -0000      1.58
+++ textproc/aspell/Makefile    26 Oct 2010 22:45:58 -0000
@@ -26,7 +26,8 @@
 INFO_FILES=            yes
 
 CONFIGURE_ARGS+=       --enable-doc-dir=${PREFIX}/share/doc/aspell
-CONFIGURE_ARGS+=       --enable-curses=ncurses
+#CONFIGURE_ARGS+=      --enable-curses=ncurses
+CONFIGURE_ARGS+=        --disable-curses
 CONFIGURE_ARGS+=       --enable-pkgdatadir=${PREFIX}/share/aspell
 CONFIGURE_ARGS+=       --enable-dict-dir=${PREFIX}/lib/aspell
 CONFIGURE_ENV+=                gt_cv_func_gnugettext1_libintl=yes
@@ -48,5 +49,5 @@
 LIBS.SunOS+=           -lm
 
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
+#.include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index