Mailinglist Archive: opensuse-bugs (4671 mails)

< Previous Next >
[Bug 640700] New: /usr/include/dbm.h (from gdbm-devel pkg) 'broken'; patch provided
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 21 Sep 2010 06:33:28 +0000
  • Message-id: <bug-640700-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: /usr/include/dbm.h (from gdbm-devel pkg) 'broken';
patch provided
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: All
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/20100914 SUSE/3.6.10-30.1 Firefox/3.6.10

building in a mipsel cross-compile toolchain, a build of perl 5.12.2 fails @

ODBM_File.xs:124:2: error: too few arguments to function 'dbmclose'

" ... IIRC this is a bad try in wrapping ODBM around ndbm, and it simply
doesn't work on OpenSUSE ... "

" ...
error: too few arguments to function 'dbmclose'

Building ODBM_File on some (Open)SUSE distributions might run into this
error, as the header file is broken. There are two ways to deal with this

1. Disable the use of ODBM_FILE

Configure ... -Dnoextensions=ODBM_File

2. Fix the header file, somewhat like this:

--- a/usr/include/dbm.h 2010-03-24 08:54:59.000000000 +0100
+++ b/usr/include/dbm.h 2010-03-24 08:55:15.000000000 +0100
@@ -59,4 +59,4 @@ extern datum firstkey __P((void));

extern datum nextkey __P((datum key));

-extern int dbmclose __P((DBM *));
+extern int dbmclose __P((void));

since this is a dynamic build, source pulled at execute, option 2 is the

making the change, as above, in /usr/include/dbm.h, gets past the error.


rpm -q --whatprovides /usr/include/dbm.h

Reproducible: Always

Steps to Reproduce:

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >