Bug 11319 - Build fails on Solaris 11 with "‘PTHREAD_MUTEX_ROBUST’ undeclared"
Build fails on Solaris 11 with "‘PTHREAD_MUTEX_ROBUST’ undeclared"
Status: NEEDINFO
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
unspecified
Sparc Solaris
: P5 major
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on: 11331
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-08 13:35 UTC by Dagobert Michelsen
Modified: 2015-07-31 21:12 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dagobert Michelsen 2015-06-08 13:35:01 UTC
The build of Samba in Git master is failing on Solaris 11 Sparc with the following
error:

[1141/3921] Compiling lib/tdb/common/mutex.c
../lib/tdb/common/mutex.c: In function ‘tdb_mutex_init’:
../lib/tdb/common/mutex.c:582:41: error: ‘PTHREAD_MUTEX_ROBUST’ undeclared (first use in this function)
  ret = pthread_mutexattr_setrobust(&ma, PTHREAD_MUTEX_ROBUST);
                                         ^
Details can be seen in the log at
  https://buildfarm.opencsw.org/buildbot/builders/samba-solaris11-sparc/builds/2/steps/shell_1/logs/stdio
or the overview at
  https://buildfarm.opencsw.org/buildbot/waterfall?category=samba

Best regards -- Dago
Comment 1 Lars Müller 2015-06-28 17:26:45 UTC
Please test with tdb 1.3.6 as available from https://download.samba.org/pub/tdb

See bug#11326c11326

Does updating tdb to version 1.3.6 fix this issue for you?
Comment 2 Lars Müller 2015-06-28 17:30:36 UTC
bug 11326, comment 11 I intended to reference with previous comment
Comment 3 Dagobert Michelsen 2015-07-01 09:00:57 UTC
This looks better now, it now also fails on Solaris 11 with #11368
Comment 4 Dagobert Michelsen 2015-07-01 09:01:41 UTC
Failed to link: bug#11368
Comment 5 Dagobert Michelsen 2015-07-01 09:02:56 UTC
Sorry, bug#11318