Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 746554 - www-client/firefox-78.3.1: does not compile with musl (PTHREAD_MUTEX_ADAPTIVE_NP was not declared in this scope)
Summary: www-client/firefox-78.3.1: does not compile with musl (PTHREAD_MUTEX_ADAPTIVE...
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: NeedPatch
Depends on:
Blocks:
 
Reported: 2020-10-04 16:06 UTC by Felix Janda
Modified: 2020-10-05 15:40 UTC (History)
1 user (show)

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


Attachments
bulid.log.gz (build.log.gz,375.96 KB, application/gzip)
2020-10-04 16:08 UTC, Felix Janda
Details
emerge --info (emerge.info,6.11 KB, application/x-info)
2020-10-04 16:08 UTC, Felix Janda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Janda 2020-10-04 16:06:47 UTC
Compilation failed with the error message:

www-client/firefox-78.3.1/work/firefox-78.3.1/memory/build/Mutex.h:45:38: error: 'PTHREAD_MUTEX_ADAPTIVE_NP' was not declared in this scope; did you mean 'PTHREAD_MUTEX_STALLED'?

Reproducible: Always
Comment 1 Felix Janda 2020-10-04 16:08:06 UTC
Created attachment 663754 [details]
bulid.log.gz
Comment 2 Felix Janda 2020-10-04 16:08:25 UTC
Created attachment 663757 [details]
emerge --info
Comment 3 Dave Hughes 2020-10-05 03:01:47 UTC
New ebuilds for Firefox are missing the following:

https://github.com/gentoo/gentoo/blob/master/eclass/mozcoreconf-v6.eclass#L247

Thunderbird also requires this disabling of jemalloc.
Comment 4 Larry the Git Cow gentoo-dev 2020-10-05 15:40:35 UTC
The bug has been closed via the following commit(s):

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

commit e3a8e2f78e1f829ce0192d57da6aa9a9b44efeec
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-10-05 15:38:17 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-10-05 15:40:30 +0000

    www-client/firefox: disable jemalloc for !elibc_glibc
    
    Closes: https://bugs.gentoo.org/746554
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/firefox-78.3.1.ebuild | 4 ++++
 www-client/firefox/firefox-81.0.1.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c1fed5929fd9633e535c9da15d34c1f09d065a

commit 47c1fed5929fd9633e535c9da15d34c1f09d065a
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-10-05 15:40:09 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-10-05 15:40:30 +0000

    mail-client/thunderbird: disable jemalloc for !elibc_glibc
    
    Bug: https://bugs.gentoo.org/746554
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 mail-client/thunderbird/thunderbird-78.3.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)