Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830158 - dev-lua/lanes-3.16.0 - threading.h: error: PTHREAD_MUTEX_RECURSIVE_NP undeclared (first use in this function)
Summary: dev-lua/lanes-3.16.0 - threading.h: error: PTHREAD_MUTEX_RECURSIVE_NP undecla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-28 09:32 UTC by Toralf Förster
Modified: 2024-01-23 21:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2021-12-28 09:32 UTC, Toralf Förster
Details
dev-lua:lanes-3.15.1:20211228-064004.log (dev-lua:lanes-3.15.1:20211228-064004.log,5.41 KB, text/plain)
2021-12-28 09:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,427.07 KB, text/plain)
2021-12-28 09:32 UTC, Toralf Förster
Details
environment (environment,73.29 KB, text/plain)
2021-12-28 09:32 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.37 KB, application/x-bzip)
2021-12-28 09:32 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,133.89 KB, application/x-bzip)
2021-12-28 09:32 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-28 09:32:14 UTC
  491 |                                 YIELD();    // give threads time to act on their cancel
      |                                 ^~~~~
In file included from lanes.c:89:
lanes.c: In function 'LG_configure':
threading.h:114:29: error: 'PTHREAD_MUTEX_RECURSIVE_NP' undeclared (first use in this function); did you mean 'PTHREAD_MUTEX_RECURSIVE'?
  114 |   # define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211222-160113

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0
  [2]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit 68e0edc6635808a62e9ee91c1f6bdce323951dfd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 28 05:06:49 2021 +0000

    2021-12-28 05:06:47 UTC

emerge -qpvO dev-lua/lanes
[ebuild  N    ] dev-lua/lanes-3.15.1  USE="-test" LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2021-12-28 09:32:16 UTC
Created attachment 760642 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-28 09:32:16 UTC
Created attachment 760643 [details]
dev-lua:lanes-3.15.1:20211228-064004.log
Comment 3 Toralf Förster gentoo-dev 2021-12-28 09:32:18 UTC
Created attachment 760644 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-28 09:32:19 UTC
Created attachment 760645 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-28 09:32:20 UTC
Created attachment 760646 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-28 09:32:22 UTC
Created attachment 760647 [details]
temp.tar.bz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-08-12 07:02:15 UTC
tinderbox_musl has reproduced this issue with version 3.16.0 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2024-01-23 21:04:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711bfacdbc15f0fa865d6016a1a700662743f805

commit 711bfacdbc15f0fa865d6016a1a700662743f805
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-01-23 21:01:31 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-01-23 21:03:47 +0000

    dev-lua/lanes: fix compilation with musl
    
    Closes: https://bugs.gentoo.org/830158
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-lua/lanes/files/lanes-3.16.2-musl.patch | 27 +++++++++++++++++++++++++++
 dev-lua/lanes/lanes-3.16.2.ebuild           |  7 +++++--
 2 files changed, 32 insertions(+), 2 deletions(-)