pkgsrc-Bugs archive

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

pkg/42061: lang/ocaml 3.11.1 build failure with db4



>Number:         42061
>Category:       pkg
>Synopsis:       lang/ocaml build failure with db4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 14 04:05:00 +0000 2009
>Originator:     David A. Holland
>Release:        NetBSD 5.0_STABLE (20090530)
>Organization:
>Environment:
System: NetBSD bantha 5.0_STABLE NetBSD 5.0_STABLE (BANTHA) #3: Thu Jul  2 
17:19:16 EDT 2009  root@bantha:/usr/src/sys/arch/i386/compile/BANTHA i386
Architecture: i386
Machine: i386
>Description:

Given 
BDB_DEFAULT=db4
BDB185_DEFAULT=db4

the ocaml build bombs with:

gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 
-I/usr/pkg/include/db4 -I/usr/include -I../../byterun -fPIC  -c cldbm.c
cldbm.c:47: error: expected ')' before '*' token
cldbm.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 
token
   :

the immediate problem being that 'DBM' isn't defined. Dunno exactly
why.

ocaml 3.10.2 worked fine with the same db4 library.

>How-To-Repeat:

make

>Fix:

dunno



Home | Main Index | Thread Index | Old Index