* Running compile phase for ruby27 make -j4 V=1 -C ext/fcgi make: Entering directory '/var/tmp/portage/dev-ruby/fcgi-0.9.2.1-r2/work/ruby27/fcgi-0.9.2.1/ext/fcgi' clang -fdeclspec -I. -I/usr/include/ruby-3.0.0/x86_64-linux -I/usr/include/ruby-3.0.0/ruby/backward -I/usr/include/ruby-3.0.0 -I. -DHAVE_FCGIAPP_H -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o fcgi.o -c fcgi.c fcgi.c:265:3: error: call to undeclared function 'rb_secure'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20221005-010004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.2 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-jre-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 [2] php8.0 * [3] php8.1 GNU Make 4.3 HEAD of ::gentoo commit e266336155684413e28b2f403b57e2779f910d9c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Oct 5 13:33:17 2022 +0000 2022-10-05 13:33:17 UTC emerge -qpvO dev-ruby/fcgi [ebuild N ] dev-ruby/fcgi-0.9.2.1-r2 USE="-test" RUBY_TARGETS="ruby27 ruby30 -ruby31"
Created attachment 821191 [details] emerge-info.txt
Created attachment 821194 [details] clang.tar.bz2
Created attachment 821197 [details] dev-ruby:fcgi-0.9.2.1-r2:20221005-143748.log
Created attachment 821200 [details] emerge-history.txt
Created attachment 821203 [details] environment
Created attachment 821206 [details] etc.portage.tar.bz2
Created attachment 821209 [details] logs.tar.bz2
This should be fixed in fcgi 0.9.2.2 but I haven't been able to verify that yet with the new clang version.
For reference in case we need to fix other bugs like this: https://github.com/alphallc/ruby-fcgi-ng/commit/12decb527b011d739380f03f8f8c7c12a8cda516.
Tested & looks fixed, thanks!