Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616990 - www-client/firefox-53.0 fails to build on musl-amd64 profile with error: 'gettid' was not declared in this scope
Summary: www-client/firefox-53.0 fails to build on musl-amd64 profile with error: 'get...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-29 11:49 UTC by tt_1
Modified: 2017-07-17 01:17 UTC (History)
3 users (show)

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


Attachments
compressed build.log (firefox-53.0.log.gz,124.49 KB, application/octet-stream)
2017-04-29 11:49 UTC, tt_1
Details
output of emerge --info (emerge-info.log,5.12 KB, text/plain)
2017-04-29 11:50 UTC, tt_1
Details
upstream patch (firefox-53.0-profiler.patch,305 bytes, patch)
2017-04-29 12:48 UTC, tt_1
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2017-04-29 11:49:13 UTC
Created attachment 471272 [details]
compressed build.log

the compilation of firefox fails: 

/var/tmp/portage/www-client/firefox-53.0/work/firefox-53.0/tools/profiler/core/platform-linux.cc: In static member function 'static Thread::tid_t Thread::GetCurrentId()':
/var/tmp/portage/www-client/firefox-53.0/work/firefox-53.0/tools/profiler/core/platform-linux.cc:120:17: error: 'gettid' was not declared in this scope
   return gettid();
                 ^
/var/tmp/portage/www-client/firefox-53.0/work/firefox-53.0/tools/profiler/core/platform-linux.cc: In function 'void* SignalSender(void*)':
/var/tmp/portage/www-client/firefox-53.0/work/firefox-53.0/tools/profiler/core/platform-linux.cc:307:34: error: 'gettid' was not declared in this scope
   DebugOnly<int> my_tid = gettid();

The full build log is attached. 

build options were as following

emerge -pqv =firefox-53.0::gentoo

[ebuild  N    ] www-client/firefox-53.0  USE="dbus jemalloc system-harfbuzz system-icu system-jpeg (system-libevent) system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -gmp-autoupdate (-hardened) -hwaccel -jack (-neon) -nsplugin (-pgo) -pulseaudio (-rust) (-selinux) -startup-notification (-system-cairo) {-test} -wifi" L10N="de -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"
Comment 1 tt_1 2017-04-29 11:50:21 UTC
Created attachment 471274 [details]
output of emerge --info
Comment 2 tt_1 2017-04-29 12:48:16 UTC
Created attachment 471278 [details, diff]
upstream patch

This is the proposed patch from #1358214 , converted to -p1 so that eapply_user can make use of it.
Comment 3 Jory A. Pratt gentoo-dev 2017-07-17 01:17:04 UTC
Already been fixed.