Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2009 17:21:06 GMT
From:      marek <mrkvrg@acm.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136227: Gramps Crashes When Opening a Family File
Message-ID:  <200907011721.n61HL6Sv045607@www.freebsd.org>
Resent-Message-ID: <200907011730.n61HU4Xg049228@freefall.freebsd.org>

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

>Number:         136227
>Category:       ports
>Synopsis:       Gramps Crashes When Opening a Family File
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 01 17:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     marek
>Release:        7.2 i386
>Organization:
>Environment:
FreeBSD gecko3.bs.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Jun 15 12:39:30 EDT 2009     root@gecko3.bs.net:/usr/obj/usr/src/sys/GECKO-7.2.1  i386
>Description:
The genealogy program science/gramps will crash when using an existing file or trying to create a new one.

All ports are up to date on the above cited machine, including gramps itself.

Did some research on the web and discovered that there was imcompatibility between the program and Berkley databases.  According to pkg_info this machine has the following up to date files:

GNOME gramps 3.0.4-1

db41-4.1.25_4       The Berkeley DB package, revision 4.1
db42-4.2.52_5       The Berkeley DB package, revision 4.2
db43-4.3.29_1       The Berkeley DB package, revision 4.3
py26-bsddb-2.6.2_2  Python bindings to the Berkeley DB library

>How-To-Repeat:
1. Start gramps ;

2. Click on "New Button" to create new family database file ; and

3. Program will crash.

>Fix:
1. Use "pkg_delete -f" to delete existing "py*-bsddb*" port.  For this particular
   machine it is py26-bsddb-2.6.2_2 ;

2. Edit "/usr/ports/databases/py-bsddb/Makefile" ;

3. Replace "USE_BDB=      yes" with "USE_BDB=        43+" ; and

4. Recompile "/usr/ports/databases/py-bsddb"

NB: This Makefile will be over written the next time the ports tree is updated.


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



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