Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833347 - app-accessibility/speech-dispatcher-0.11.1 fails to compile: module_main.h:137:8: error: unknown type name pthread_mutex_t
Summary: app-accessibility/speech-dispatcher-0.11.1 fails to compile: module_main.h:13...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-02-14 17:11 UTC by Agostino Sarubbo
Modified: 2022-07-17 20:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,78.89 KB, text/plain)
2022-02-14 17:11 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-02-14 17:11:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-accessibility/speech-dispatcher-0.11.1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-14 17:11:07 UTC
Created attachment 765101 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-02-14 17:11:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


chmod: cannot access 'run-speechd': No such file or directory
module_main.h:137:8: error: unknown type name 'pthread_mutex_t'
Comment 3 Larry the Git Cow gentoo-dev 2022-07-17 20:31:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89dc6b8ba24f258f5426b3b07d8cdba1f75d37e7

commit 89dc6b8ba24f258f5426b3b07d8cdba1f75d37e7
Author:     Alfred Persson Forsberg <cat@catcream.org>
AuthorDate: 2022-07-06 23:20:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-17 20:29:38 +0000

    app-accessibility/speech-dispatcher: Fix build for musl
    
    pthread_mutex_t and stat are undefined, including pthread.h and
    removing the unused stat variable fixes these errors.
    
    Closes: https://bugs.gentoo.org/833347
    Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
    Closes: https://github.com/gentoo/gentoo/pull/26250
    Signed-off-by: Sam James <sam@gentoo.org>

 ...peech-dispatcher-0.11.1-include-pthread_h.patch | 22 ++++++++++++++
 ...atcher-0.11.1-remove-unused-variable-musl.patch | 35 ++++++++++++++++++++++
 .../speech-dispatcher-0.11.1.ebuild                |  5 ++++
 3 files changed, 62 insertions(+)