Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715478

Summary: dev-libs/zthread-2.3.2-r5 : linux/FastRecursiveLock.h: error: PTHREAD_MUTEX_RECURSIVE_NP was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: maintainer-needed, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
dev-libs:zthread-2.3.2-r4:20200330-162315.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-30 16:57:57 UTC
                 from FastRecursiveMutex.cxx:24:
linux/FastRecursiveLock.h: In constructor ZThread::FastRecursiveLock::FastRecursiveLock():
linux/FastRecursiveLock.h:49:47: error: PTHREAD_MUTEX_RECURSIVE_NP was not declared in this scope; did you mean PTHREAD_MUTEX_RECURSIVE?
   49 |     static const pthread_mutexattr_t attr = { PTHREAD_MUTEX_RECURSIVE_NP };
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                               PTHREAD_MUTEX_RECURSIVE

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 15:42:42 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO dev-libs/zthread
[ebuild  N    ] dev-libs/zthread-2.3.2-r4  USE="-debug -doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 16:58:00 UTC
Created attachment 627494 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 16:58:03 UTC
Created attachment 627496 [details]
dev-libs:zthread-2.3.2-r4:20200330-162315.log
Comment 3 Toralf Förster gentoo-dev 2020-03-30 16:58:06 UTC
Created attachment 627498 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-30 16:58:09 UTC
Created attachment 627500 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-30 16:58:11 UTC
Created attachment 627502 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-30 16:58:14 UTC
Created attachment 627504 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-30 16:58:16 UTC
Created attachment 627506 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2023-05-16 10:19:27 UTC
tinderbox_musl has reproduced this issue with version 2.3.2-r5 - Updating summary.