OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Build/8554
Full headers

From: ryan@openldap.org
Subject: lmdb build failure on GNU/kFreeBSD
Compose comment
Download message
State:
0 replies:
0 followups:

Major security issue: yes  no

Notes:

Notification:


Date: Wed, 28 Dec 2016 18:22:45 +0000
From: ryan@openldap.org
To: openldap-its@OpenLDAP.org
Subject: lmdb build failure on GNU/kFreeBSD
Full_Name: Ryan Tandy
Version: 2.4.44
OS: Debian GNU/kFreeBSD
URL: 
Submission from: (NULL) (24.68.41.160)


Forwarded from https://bugs.debian.org/845394:

lmdb fails to build on Debian GNU/kFreeBSD.

https://buildd.debian.org/status/fetch.php?pkg=openldap&arch=kfreebsd-amd64&ver=2.4.44%2Bdfsg-1&stamp=1479854521

mdb.c: In function .mdb_env_setup_locks.:
mdb.c:4625:13: warning: implicit declaration of function
.pthread_mutexattr_setrobust. [-Wimplicit-function-declaration]
    || (rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST))
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mdb:4A4625:49: error: .PTHREAD_MUTEX_ROBUST. undeclared (first use in this
function)
    || (rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST))
                                                 ^~~~~~~~~~~~~~~~~~~~
mdb.c:4625:%3: note: each undeclared identifier is reported only once for each
function it appears in
mdb.c: In function .mdb_mutex_failed.:
mdb.c:351:37: warning: implicit declaration of function
.pthread_mutex_consistent. [-Wimplicit-function-declaration]
 #define mdb_mutex_consistent(mutex) pthread_mutex_consistent(mutex)
                                     ^
mdb.c:10002:10: note: in expansion of macro .mdb_mutex_consistent.
    rc2 = mdb_mutex_consistent(mutex);
          ^~~~~~~~~~~~~~~~~~~~

The patch applied by Ondřej Sur. to the Debian lmdb package fixes this,
please consider applying it.

http://sources.debian.net/data/main/l/lmdb/0.9.18-5/debian/patches/0003-Use-MDB_USE_POSIX_SEM-on-kFreeBSD.patch
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org