In file included from /var/tmp/portage/www-client/seamonkey-2.49.5/work/seamonkey-2.49.5/mozilla/tools/profiler/core/platform-linux.cc:67: /var/tmp/portage/www-client/seamonkey-2.49.5/work/seamonkey-2.49.5/mozilla/tools/profiler/core/platform.h:68:21: error: 'pid_t gettid()' was declared 'extern' and later 'static' [-fpermissive] 68 | static inline pid_t gettid() | ^~~~~~ In file included from /usr/include/unistd.h:1170, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-libressl-20190921-191550 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.37.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Wed, 25 Sep 2019 17:26:12 +0000 emerge -qpvO www-client/seamonkey [ebuild N ] www-client/seamonkey-2.49.5 USE="calendar chatzilla crypt dbus force-gtk3 gmp-autoupdate ipc jemalloc roaming startup-notification -custom-cflags -custom-optimization -debug -jack -minimal (-neon) -pulseaudio (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite -test -wifi" L10N="cs -de -en-GB -es-AR -es-ES -fr -hu -it -ja -lt -nl -pl -pt-PT -ru -sk -sv -zh-CN -zh-TW"
Created attachment 591078 [details] emerge-info.txt
Created attachment 591080 [details] emerge-history.txt
Created attachment 591082 [details] environment
Created attachment 591084 [details] etc.portage.tbz2
Created attachment 591086 [details] logs.tbz2
Created attachment 591088 [details] temp.tbz2
Created attachment 591090 [details] www-client:seamonkey-2.49.5:20190925-180558.log.bz2
It's a glibc-2.30+ problem: https://www.mail-archive.com/blfs-dev@lists.linuxfromscratch.org/msg09169.html
Created attachment 598620 [details, diff] patch for gettid in glibc 2.30 I noticed this same problem when building against glibc 2.30. Based on a related Firefox bug that was reported upstream I came up with this patch.
(In reply to Stephen Cavilia from comment #9) > Created attachment 598620 [details, diff] [details, diff] > patch for gettid in glibc 2.30 > > I noticed this same problem when building against glibc 2.30. Based on a > related Firefox bug that was reported upstream I came up with this patch. https://hg.mozilla.org/mozilla-central/rev/7b85bf9c5210 this should apply with ease on top of seamonkey when applied via ${S}/mozilla, I am unsure why you are needing to patch GeckoSampler.cpp unless it is not including platform.h which I believe it does already. I have not confirmed any of this and I am unable to test with my musl system.
*** Bug 707336 has been marked as a duplicate of this bug. ***
Could we please either patch this or get a newer seamonkey stable? It's blocking glibc-2.30 stabilization.