Subject: pkg/32486: databases/p5-BerkeleyDB 0.26 broken against databases/db4 4.4.x
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <matt@bodgit-n-scarper.com>
List: pkgsrc-bugs
Date: 01/09/2006 16:40:00
>Number:         32486
>Category:       pkg
>Synopsis:       databases/p5-BerkeleyDB 0.26 broken against databases/db4 4.4.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 09 16:40:00 +0000 2006
>Originator:     Matt Dainty
>Release:        NetBSD/i386 3.0
>Organization:
>Environment:
NetBSD simulant 3.0 NetBSD 3.0 (GENERIC) #0: Mon Jan  2 22:02:34 GMT 2006  root@simulant:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
p5-BerkeleyDB 0.26 won't build against db4 4.4.x:

/usr/pkg/bin/perl /usr/pkg/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes
-typemap /usr/pkg/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap
BerkeleyDB.xs > BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
cc -c  -I/usr/pkg/include/db4  -fno-strict-aliasing -pipe
-I/usr/pkg/include -O2 -I/usr/pkg/include/db4 -I/usr/pkg/include
-I/usr/pkg/include/db4 -I/usr/pkg/include    -DVERSION=3D\"0.26\"
-DXS_VERSION=3D\"0.26\" -DPIC -fPIC
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"
BerkeleyDB.c
BerkeleyDB.xs: In function `XS_BerkeleyDB__Btree_db_stat':
BerkeleyDB.xs:2609: error: structure has no member named `bt_maxkey'
*** Error code 1
>How-To-Repeat:
Try to build from pkgsrc tree.
>Fix:
Bump version up to 0.27, the changelog for the Perl module explicitly mentions adding support for the 4.4.x version of db4. It seems to pass the tests okay.