Subject: pkg/34745: databases/db3 can't build on Bluewall GNU/Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ishit@oak.dti.ne.jp>
List: pkgsrc-bugs
Date: 10/07/2006 17:40:01
>Number:         34745
>Category:       pkg
>Synopsis:       databases/db3 can't build on Bluewall GNU/Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 07 17:40:00 +0000 2006
>Originator:     ISIHARA Takanori
>Release:        Bluewall GNU/Linux 1.2.2
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
Linux bluewall 2.6.16.18bw #1 SMP Sun May 28 15:34:35 CEST 2006 i686 GNU/Linux

>Description:
I can't build databases/db3 on Bluewall GNU/Linux.
configure stop.

Bluewall is debian sid base Linux distribution.

>How-To-Repeat:
cd /usr/pkgsrc/databases/db3
bmake

=> Required installed package digest>=20010302: digest-20060826 found
=> Checksum SHA1 OK for db-3.3.11.tar.gz
=> Checksum SHA1 OK for patch.3.3.11.1
=> Checksum SHA1 OK for patch.3.3.11.2
=> Checksum RMD160 OK for db-3.3.11.tar.gz
=> Checksum RMD160 OK for patch.3.3.11.1
=> Checksum RMD160 OK for patch.3.3.11.2
work -> /tmp/databases/db3/work
===> Installing dependencies for db3-3.11.2nb3
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
===> Overriding tools for db3-3.11.2nb3
===> Extracting for db3-3.11.2nb3
===> Patching for db3-3.11.2nb3
=> Applying distribution patches for db3-3.11.2nb3
=> Applying pkgsrc patches for db3-3.11.2nb3
===> Creating toolchain wrappers for db3-3.11.2nb3
===> Configuring for db3-3.11.2nb3
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i386-debian-linux-gnu
checking if building in the top-level directory... no
checking if --enable-compat185 option specified... yes
checking if --enable-cxx option specified... yes
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-rpc option specified... no
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-embedix=DIR option specified... no
checking if --with-rpm=DIR option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for i386-debian-linux-ar... no
checking for ar... ar
checking for i386-debian-linux-chmod... no
checking for chmod... chmod
checking for i386-debian-linux-cp... no
checking for cp... cp
checking for i386-debian-linux-ln... no
checking for ln... ln
checking for i386-debian-linux-mkdir... no
checking for mkdir... mkdir
checking for i386-debian-linux-ranlib... no
checking for ranlib... ranlib
checking for ranlib... /usr/bin/ranlib
checking for i386-debian-linux-rm... no
checking for rm... rm
checking for i386-debian-linux-sh... no
checking for sh... sh
checking for sh... /tmp/databases/db3/work/.tools/bin/sh
checking for i386-debian-linux-strip... no
checking for strip... strip
checking for strip... /tmp/databases/db3/work/.tools/bin/strip
checking for a BSD compatible install... /usr/bin/install -c -o root -g root
checking for i386-debian-linux-cc... gcc
checking for i386-debian-linux-gcc... (cached) gcc
checking for i386-debian-linux-gcc... (cached) gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i386-debian-linux-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc 2.96 for-loop bug... no
checking for ld used by GCC... /tmp/databases/db3/work/.wrapper/bin/ld
checking if the linker (/tmp/databases/db3/work/.wrapper/bin/ld) is GNU ld... yes
checking for /tmp/databases/db3/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking how to run the C preprocessor... gcc -E
checking for dlfcn.h... yes
checking for i386-debian-linux-ranlib... no
checking for ranlib... ranlib
checking for i386-debian-linux-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... 
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/tmp/databases/db3/work/.wrapper/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
../dist/configure: line 13726: syntax error near unexpected token `('
../dist/configure: line 13726: `    case `(ac_space=' '; set | grep ac_space) 2>&1` in'
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/databases/db3
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/db3

>Fix: