Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 14:34:31 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        matthias.andree@gmx.de
Subject:   ports/123879: databases/db41 fails during configure
Message-ID:  <200805212134.m4LLYVHs088918@troutmask.apl.washington.edu>
Resent-Message-ID: <200805212150.m4LLo1DN082386@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123879
>Category:       ports
>Synopsis:       databases/db41 fails during configure
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 21:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Steven G. Kargl
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
apl-uw
>Environment:

root[63] uname -a
FreeBSD backup.apl.washington.edu 8.0-CURRENT FreeBSD 8.0-CURRENT #0:
Wed May 21 12:59:44 PDT 2008
kargl@backup.apl.washington.edu:/usr/obj/usr/src/sys/BACKUP  i386


>Description:

===>  Script "../dist/configure" failed unexpectedly.
Please report the problem to matthias.andree@gmx.de [maintainer] and attach
the "/usr/ports/databases/db41/work/db-4.1.25/build_unix/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

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

It was created by Berkeley DB configure 4.1.25, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./../dist/configure --enable-compat185 --enable-dump185 --enable-cxx --enable-dynamic --includedir=/usr/local/include/db41 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0

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

hostname = backup.apl.washington.edu
uname -m = i386
uname -r = 8.0-CURRENT
uname -s = FreeBSD
uname -v = FreeBSD 8.0-CURRENT #0: Wed May 21 12:59:44 PDT 2008     kargl@backup.apl.washington.edu:/usr/obj/usr/src/sys/BACKUP 

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

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

PATH: /root/bin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/local/libexec


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

configure:1444: checking build system type
configure:1462: result: i386-portbld-freebsd8.0
configure:1470: checking host system type
configure:1484: result: i386-portbld-freebsd8.0
configure:1507: checking if building in the top-level directory
configure:1514: result: no
configure:1600: checking if --enable-compat185 option specified
configure:1609: result: yes
configure:1612: checking if --enable-cxx option specified
configure:1621: result: yes
configure:1624: checking if --enable-debug option specified
configure:1633: result: no
configure:1636: checking if --enable-debug_rop option specified
configure:1645: result: no
configure:1648: checking if --enable-debug_wop option specified
configure:1657: result: no
configure:1660: checking if --enable-diagnostic option specified
configure:1669: result: no
configure:1672: checking if --enable-dump185 option specified
configure:1681: result: yes
configure:1684: checking if --enable-java option specified
configure:1693: result: no
configure:1696: checking if --enable-posixmutexes option specified
configure:1705: result: no
configure:1708: checking if --enable-rpc option specified
configure:1717: result: no
configure:1720: checking if --enable-tcl option specified
configure:1729: result: no
configure:1732: checking if --enable-test option specified
configure:1741: result: no
configure:1744: checking if --enable-uimutexes option specified
configure:1753: result: no
configure:1756: checking if --enable-umrw option specified
configure:1765: result: no
configure:1768: checking if --with-embedix=DIR option specified
configure:1780: result: no
configure:1793: checking if --with-mutex=MUTEX option specified
configure:1811: result: no
configure:1814: checking if --with-rpm=DIR option specified
configure:1835: result: no
configure:1838: checking if --with-tcl=DIR option specified
configure:1848: result: no
configure:1854: checking if --with-uniquename=NAME option specified
configure:1866: result: no
configure:1982: checking for ar
configure:1998: found /usr/bin/ar
configure:2009: result: ar
configure:2068: checking for chmod
configure:2084: found /bin/chmod
configure:2095: result: chmod
configure:2154: checking for cp
configure:2170: found /bin/cp
configure:2181: result: cp
configure:2367: checking for ln
configure:2383: found /bin/ln
configure:2394: result: ln
configure:2453: checking for mkdir
configure:2469: found /bin/mkdir
configure:2480: result: mkdir
configure:2541: checking for ranlib
configure:2557: found /usr/bin/ranlib
configure:2568: result: ranlib
configure:2582: checking for ranlib
configure:2600: found /usr/bin/ranlib
configure:2613: result: /usr/bin/ranlib
configure:2662: checking for rm
configure:2678: found /bin/rm
configure:2689: result: rm
configure:2838: checking for sh
configure:2854: found /bin/sh
configure:2865: result: sh
configure:2879: checking for sh
configure:2897: found /bin/sh
configure:2910: result: /bin/sh
configure:2968: checking for strip
configure:: found /usr/bin/strip
configure:2995: result: strip
configure:3009: checking for strip
configure:3027: found /usr/bin/strip
configure:3040: result: /usr/bin/strip
configure:3150: checking for a BSD-compatible install
configure:3204: result: /usr/bin/install -c -o root -g wheel
configure:3406: checking for C compiler version
configure:3409: cc --version </dev/null >&5
cc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 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:3412: $? = 0
configure:3414: cc -v </dev/null >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:: $? = 0
configure:3419: cc -V </dev/null >&5
cc: '-V' option must have argument
configure:: $? = 1
configure:3448: checking for C compiler default output
configure:3451: cc -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread conftest.c  >&5
configure:3454: $? = 0
configure:3487: result: a.out
configure:3492: checking whether the C compiler works
configure:3498: ./a.out
configure:3501: $? = 0
configure:3516: result: yes
configure:3523: checking whether we are cross compiling
configure:3525: result: no
configure:3528: checking for suffix of executables
configure:3530: cc -o conftest -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread conftest.c  >&5
configure:3533: $? = 0
configure:3555: result: 
configure:3561: checking for suffix of object files
configure:3585: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:3588: $? = 0
configure:3607: result: o
configure:3611: checking whether we are using the GNU C compiler
configure:3638: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:3641: $? = 0
configure:3644: test -s conftest.o
configure:3647: $? = 0
configure:3659: result: yes
configure:3665: checking whether cc accepts -g
configure:3689: cc -c -g  -D_THREAD_SAFE conftest.c >&5
configure:3692: $? = 0
configure:3695: test -s conftest.o
configure:3698: $? = 0
configure:3708: result: yes
configure:3735: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3738: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:4360: checking for C++ compiler version
configure:4363: c++ --version </dev/null >&5
c++ (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 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:4366: $? = 0
configure:4368: c++ -v </dev/null >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:4371: $? = 0
configure:4373: c++ -V </dev/null >&5
c++: '-V' option must have argument
configure:4376: $? = 1
configure:4379: checking whether we are using the GNU C++ compiler
configure:4406: c++ -c -O2 -pipe -fno-strict-aliasing  -D_THREAD_SAFE conftest.cc >&5
configure:4409: $? = 0
configure:4412: test -s conftest.o
configure:4415: $? = 0
configure:4427: result: yes
configure:4433: checking whether c++ accepts -g
configure:4457: c++ -c -g  -D_THREAD_SAFE conftest.cc >&5
configure:4460: $? = 0
configure:4463: test -s conftest.o
configure:4466: $? = 0
configure:4476: result: yes
configure:4522: c++ -c -O2 -pipe -fno-strict-aliasing  -D_THREAD_SAFE conftest.cc >&5
configure:4525: $? = 0
configure:4528: test -s conftest.o
configure:4531: $? = 0
configure:4559: c++ -c -O2 -pipe -fno-strict-aliasing  -D_THREAD_SAFE conftest.cc >&5
configure: In function 'int main()':
configure:4552: error: 'exit' was not declared in this scope
configure:4562: $? = 1
configure: failed program was:
#line 4541 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:4522: c++ -c -O2 -pipe -fno-strict-aliasing  -D_THREAD_SAFE conftest.cc >&5
configure:4525: $? = 0
configure:4528: test -s conftest.o
configure:4531: $? = 0
configure:4559: c++ -c -O2 -pipe -fno-strict-aliasing  -D_THREAD_SAFE conftest.cc >&5
configure:4562: $? = 0
configure:4565: test -s conftest.o
configure:4568: $? = 0
configure:4593: checking whether C++ supports the ISO C++ standard includes
configure:4626: c++ -c -O2 -pipe -fno-strict-aliasing  -D_THREAD_SAFE conftest.cc >&5
configure:4629: $? = 0
configure:4632: test -s conftest.o
configure:4635: $? = 0
configure:4652: result: yes
configure:4663: checking whether we are using gcc version 2.96
configure:4678: result: no
configure:4689: checking whether g++ requires -fhandle-exceptions
configure:4704: result: no
configure:4817: checking for ld used by GCC
configure:4880: result: /usr/bin/ld
configure:4889: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.15 [FreeBSD] 2004-05-23
configure:4901: result: yes
configure:4906: checking for /usr/bin/ld option to reload object files
configure:4913: result: -r
configure:4918: checking for BSD-compatible nm
configure:4954: result: /usr/bin/nm -B
configure:4957: checking whether ln -s works
configure:4961: result: yes
configure:4968: checking how to recognise dependant libraries
configure:5150: result: pass_all
configure:5163: checking command to parse /usr/bin/nm -B output
configure:5244: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5247: $? = 0
configure:5251: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:5254: $? = 0
configure:5306: cc -o conftest -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread conftest.c conftstm.o >&5
configure:5309: $? = 0
configure:5353: result: ok
configure:5362: checking how to run the C preprocessor
configure:5388: cc -E  -D_THREAD_SAFE conftest.c
configure:5394: $? = 0
configure:5421: cc -E  -D_THREAD_SAFE conftest.c
configure:5418:28: error: ac_nonexistent.h: No such file or directory
configure:5427: $? = 1
configure: failed program was:
#line 5417 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:5464: result: cc -E
configure:5479: cc -E  -D_THREAD_SAFE conftest.c
configure:5485: $? = 0
configure:5512: cc -E  -D_THREAD_SAFE conftest.c
configure:5509:28: error: ac_nonexistent.h: No such file or directory
configure:5518: $? = 1
configure: failed program was:
#line 5508 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:5558: checking for ANSI C header files
configure:5572: cc -E  -D_THREAD_SAFE conftest.c
configure:5578: $? = 0
configure:5665: cc -o conftest -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread conftest.c  >&5
configure: In function 'main':
configure:5657: warning: incompatible implicit declaration of built-in function 'exit'
configure:5668: $? = 0
configure:5670: ./conftest
configure:5673: $? = 0
configure:5687: result: yes
configure:5711: checking for sys/types.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for sys/stat.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for stdlib.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for string.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for memory.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for strings.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for inttypes.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for stdint.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5711: checking for unistd.h
configure:5724: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5727: $? = 0
configure:5730: test -s conftest.o
configure:5733: $? = 0
configure:5743: result: yes
configure:5769: checking dlfcn.h usability
configure:5778: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:5781: $? = 0
configure:5784: test -s conftest.o
configure:5787: $? = 0
configure:5796: result: yes
configure:5800: checking dlfcn.h presence
configure:5807: cc -E  -D_THREAD_SAFE conftest.c
configure:5813: $? = 0
configure:5831: result: yes
configure:5849: checking for dlfcn.h
configure:5856: result: yes
configure:6053: checking for ranlib
configure:6069: found /usr/bin/ranlib
configure:6080: result: ranlib
configure:6133: checking for strip
configure:6149: found /usr/bin/strip
configure:6160: result: strip
configure:6373: checking for objdir
configure:6384: result: .libs
configure:6405: checking for cc option to produce PIC
configure:6555: result: -fPIC
configure:6559: checking if cc PIC flag -fPIC works
configure:6585: cc -c -O2 -pipe  -fno-strict-aliasing -fPIC -DPIC  -D_THREAD_SAFE conftest.c >&5
configure:6588: $? = 0
configure:6591: test -s conftest.o
configure:6594: $? = 0
configure:6631: result: yes
configure:6651: checking if cc static flag -static works
configure:6678: cc -o conftest -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread -static conftest.c  >&5
configure:6681: $? = 0
configure:6684: test -s conftest
configure:6687: $? = 0
configure:6702: result: yes
configure:6718: checking if cc supports -c -o file.o
configure:6738: cc -c -O2 -pipe  -fno-strict-aliasing -o out/conftest2.o  -D_THREAD_SAFE conftest.c >&5
configure:6762: result: yes
configure:6767: checking if cc supports -c -o file.lo
configure:6797: cc -c -O2 -pipe  -fno-strict-aliasing -c -o conftest.lo  -D_THREAD_SAFE conftest.c >&5
configure:6800: $? = 0
configure:6803: test -s conftest.lo
configure:6806: $? = 0
configure:6827: result: yes
configure:6866: checking if cc supports -fno-rtti -fno-exceptions
configure:6891: cc -c -O2 -pipe  -fno-strict-aliasing -fno-rtti -fno-exceptions -c conftest.c  -D_THREAD_SAFE conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:6894: $? = 0
configure:6897: test -s conftest.o
configure:: $? = 0
configure:6916: result: yes
configure:6931: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:7658: result: yes
configure:7667: checking how to hardcode library paths into programs
configure:7691: result: immediate
configure:7700: checking whether stripping libraries is possible
configure:7705: result: yes
configure:7720: checking dynamic linker characteristics
configure:8132: result: freebsd8.0 ld.so
configure:8141: checking if libtool supports shared libraries
configure:8143: result: yes
configure:8150: checking whether to build shared libraries
configure:8171: result: yes
configure:8178: checking whether to build static libraries
configure:8182: result: yes
configure:8848: checking whether -lc should be explicitly linked in
configure:8856: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:8859: $? = 0
configure:8873: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:8876: $? = 0
configure:8889: result: no
configure:9471: checking SOSUFFIX from libtool
configure:9493: result: so
configure:9498: checking MODSUFFIX from libtool
configure:9520: result: so
configure:9525: checking JMODSUFFIX from libtool
configure:9547: result: so
configure:10371: checking for cc option to accept ANSI C
configure:10434: cc  -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:10437: $? = 0
configure:10440: test -s conftest.o
configure:10443: $? = 0
configure:10460: result: none needed
configure:10468: checking for an ANSI C-conforming const
configure:10538: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:10541: $? = 0
configure:10544: test -s conftest.o
configure:10547: $? = 0
configure:10557: result: yes
configure:10569: checking whether stat file-mode macros are broken
configure:10614: result: no
configure:10624: checking whether time.h and sys/time.h may both be included
configure:10652: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:10655: $? = 0
configure:10658: test -s conftest.o
configure:10661: $? = 0
configure:10671: result: yes
configure:10689: checking for dirent.h that defines DIR
configure:10716: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:10719: $? = 0
configure:10722: test -s conftest.o
configure:10725: $? = 0
configure:10735: result: yes
configure:10748: checking for library containing opendir
configure:10781: cc -o conftest -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread conftest.c  >&5
configure:10784: $? = 0
configure:10787: test -s conftest
configure:10790: $? = 0
configure:10849: result: none required
configure:10982: checking sys/select.h usability
configure:10991: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:10994: $? = 0
configure:10997: test -s conftest.o
configure:11000: $? = 0
configure:11009: result: yes
configure:11013: checking sys/select.h presence
configure:11020: cc -E  -D_THREAD_SAFE conftest.c
configure:11026: $? = 0
configure:11044: result: yes
configure:11062: checking for sys/select.h
configure:11069: result: yes
configure:10982: checking sys/time.h usability
configure:10991: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:10994: $? = 0
configure:10997: test -s conftest.o
configure:11000: $? = 0
configure:11009: result: yes
configure:11013: checking sys/time.h presence
configure:11020: cc -E  -D_THREAD_SAFE conftest.c
configure:11026: $? = 0
configure:11044: result: yes
configure:11062: checking for sys/time.h
configure:11069: result: yes
configure:11082: checking for struct stat.st_blksize
configure:11108: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:11111: $? = 0
configure:11114: test -s conftest.o
configure:11117: $? = 0
configure:11127: result: yes
configure:11142: checking for char
configure:11172: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:11175: $? = 0
configure:11178: test -s conftest.o
configure:11181: $? = 0
configure:11191: result: yes
configure:11194: checking size of char
configure:11490: cc -o conftest -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread conftest.c  >&5
configure:11493: $? = 0
configure:11495: ./conftest
configure:11498: $? = 0
configure:11518: result: 1
configure:11525: checking for unsigned char
configure:11555: cc -c -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE conftest.c >&5
configure:11558: $? = 0
configure:11561: test -s conftest.o
configure:11564: $? = 0
configure:11574: result: yes
configure:11577: checking size of unsigned char
configure:11873: cc -o conftest -O2 -pipe  -fno-strict-aliasing  -D_THREAD_SAFE  -pthread conftest.c  >&5
conftest.c:1:8: error: ""configure"" after #line is not a positive integer
configure:11876: $? = 1
configure: program exited with status 1
configure: failed program was:
#line  "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <stdio.h>

long longval () { return (long) (sizeof (unsigned char)); }
unsigned long ulongval () { return (long) (sizeof (unsigned char)); }
#include <stdio.h>
#include <stdlib.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  FILE *f = fopen ("conftest.val", "w");
  if (! f)
    exit (1);
  if (((long) (sizeof (unsigned char))) < 0)
    {
      long i = longval ();
      if (i != ((long) (sizeof (unsigned char))))
	exit (1);
      fprintf (f, "%ld\n", i);
    }
  else
    {
      unsigned long i = ulongval ();
      if (i != ((long) (sizeof (unsigned char))))
	exit (1);
      fprintf (f, "%lu\n", i);
    }
  exit (ferror (f) || fclose (f) != 0);

  ;
  return 0;
}
configure:11889: error: cannot compute sizeof (unsigned char), 77

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

ac_ct_db_cv_path_ar=ar
ac_ct_db_cv_path_chmod=chmod
ac_ct_db_cv_path_cp=cp
ac_ct_db_cv_path_ln=ln
ac_ct_db_cv_path_mkdir=mkdir
ac_ct_db_cv_path_rm=rm
ac_cv_build=i386-portbld-freebsd8.0
ac_cv_build_alias=i386-portbld-freebsd8.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -pipe  -fno-strict-aliasing'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -pipe -fno-strict-aliasing'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd8.0
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_exeext=''
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stat_broken=no
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_select_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-portbld-freebsd8.0
ac_cv_host_alias=i386-portbld-freebsd8.0
ac_cv_member_struct_stat_st_blksize=yes
ac_cv_objext=o
ac_cv_path_db_cv_path_ranlib=/usr/bin/ranlib
ac_cv_path_db_cv_path_sh=/bin/sh
ac_cv_path_db_cv_path_strip=/usr/bin/strip
ac_cv_prog_CPP='cc -E'
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_ac_ct_db_cv_path_ar=ar
ac_cv_prog_ac_ct_db_cv_path_chmod=chmod
ac_cv_prog_ac_ct_db_cv_path_cp=cp
ac_cv_prog_ac_ct_db_cv_path_ln=ln
ac_cv_prog_ac_ct_db_cv_path_mkdir=mkdir
ac_cv_prog_ac_ct_db_cv_path_rm=rm
ac_cv_prog_ac_ct_path_ranlib=ranlib
ac_cv_prog_ac_ct_path_sh=sh
ac_cv_prog_ac_ct_path_strip=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=''
ac_cv_prog_cxx_g=yes
ac_cv_search_opendir='none required'
ac_cv_sizeof_char=1
ac_cv_type_char=yes
ac_cv_type_unsigned_char=yes
db_cv_compat185=yes
db_cv_cxx=yes
db_cv_cxx_have_stdheaders=yes
db_cv_debug=no
db_cv_debug_rop=no
db_cv_debug_wop=no
db_cv_diagnostic=no
db_cv_dump185=yes
db_cv_embedix=no
db_cv_gcc_2_96=no
db_cv_gxx_except=no
db_cv_java=no
db_cv_path_ar=ar
db_cv_path_chmod=chmod
db_cv_path_cp=cp
db_cv_path_ln=ln
db_cv_path_mkdir=mkdir
db_cv_path_ranlib=/usr/bin/ranlib
db_cv_path_rm=rm
db_cv_path_sh=/bin/sh
db_cv_path_strip=/usr/bin/strip
db_cv_posixmutexes=no
db_cv_rpc=no
db_cv_rpm=no
db_cv_tcl=no
db_cv_test=no
db_cv_uimutexes=no
db_cv_umrw=no
db_cv_uniquename=no
lt_cv_archive_cmds_need_lc=no
lt_cv_compiler_c_o=yes
lt_cv_compiler_o_lo=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=''
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_cc_can_build_shared=yes
lt_cv_prog_cc_no_builtin=''
lt_cv_prog_cc_pic=' -fPIC'
lt_cv_prog_cc_pic_works=yes
lt_cv_prog_cc_shlib=''
lt_cv_prog_cc_static=-static
lt_cv_prog_cc_static_works=yes
lt_cv_prog_cc_wl=-Wl,
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_max_cmd_len=262144
lt_cv_sys_path_separator=:

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

#define PACKAGE_NAME "Berkeley DB"
#define PACKAGE_TARNAME "db-4.1.25"
#define PACKAGE_VERSION "4.1.25"
#define PACKAGE_STRING "Berkeley DB 4.1.25"
#define PACKAGE_BUGREPORT "support@sleepycat.com"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#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 HAVE_CRYPTO 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_DIRENT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define SIZEOF_CHAR 1

configure: exit 1

>How-To-Repeat:

Install Freebsd-7.0 and no ports.
Immediately upgrade to -current using csup and standard 'make buildworld
procedure'
Use csup to retrieve current ports tree.
cd /usr/ports/databases/db41
make

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805212134.m4LLYVHs088918>