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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.

Reply via email to