incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118621] New: python: build breaks due to undefined symbol: dbm_nextkey in dbm.so module
Date Sat, 19 Nov 2011 22:23:13 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118621

             Bug #: 118621
        Issue Type: DEFECT
           Summary: python: build breaks due to undefined symbol:
                    dbm_nextkey in dbm.so module
    Classification: Code
           Product: external
           Version: OOo 3.4 Beta
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: www
        AssignedTo: st@openoffice.org
        ReportedBy: arielch@apache.org
                CC: ooo-issues@incubator.apache.org


Build breaks on Fedora 16:

building 'dbm' extension
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -DHAVE_GDBM_NDBM_H -I.
-I/mnt/build/openoffice/apache/trunk/main/python/unxlngx6/misc/build/Python-2.6.1/./Include
-I. -IInclude -I./Include -I/usr/local/include
-I/mnt/build/openoffice/apache/trunk/main/python/unxlngx6/misc/build/Python-2.6.1/Include
-I/mnt/build/openoffice/apache/trunk/main/python/unxlngx6/misc/build/Python-2.6.1
-c
/mnt/build/openoffice/apache/trunk/main/python/unxlngx6/misc/build/Python-2.6.1/Modules/dbmmodule.c
-o
build/temp.linux-x86_64-2.6/mnt/build/openoffice/apache/trunk/main/python/unxlngx6/misc/build/Python-2.6.1/Modules/dbmmodule.o
gcc -pthread -shared
build/temp.linux-x86_64-2.6/mnt/build/openoffice/apache/trunk/main/python/unxlngx6/misc/build/Python-2.6.1/Modules/dbmmodule.o
-L/mnt/build/openoffice/apache/trunk/main/python/unxlngx6/misc/build/python-inst/lib
-L/usr/local/lib -L. -lgdbm -lpython2.6 -o build/lib.linux-x86_64-2.6/dbm.so
*** WARNING: renaming "dbm" since importing it failed:
build/lib.linux-x86_64-2.6/dbm.so: undefined symbol: dbm_nextkey

[...]

Failed to build these modules:
dbm                                                   

[...]
ERROR: error 65280 occurred while making
/mnt/build/openoffice/apache/trunk/main/python


Modules/dbmmodule.c uses the old interface, but links only to gdbm, where the
function is named gdbm_nextkey. It should also link against the compatiblity
library (in systems where there is one).

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message