It seems that ruby on ppc64el requires gcc-10 instead of system defaults gcc-11.
ref: https://bugs.launchpad.net/ubuntu/+source/ruby2.7/+bug/1943823 We should be add "g++-10 [ppc64el]," to Build-Depends in debian/control? --- In build system: root@nuc:/tmp/buildd/marisa-0.2.6/bindings/ruby# cat mkmf.log "powerpc64le-linux-gnu-gcc-10 -o conftest -I/usr/include/powerpc64le-linux-gnu/ruby-2.7.0 -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O3 -ffile-prefix-map=/build/ruby2.7-hkfe5T/ruby2.7-2.7.4=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/powerpc64le-linux-gnu -L../../lib/marisa/.libs -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lruby-2.7 -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return !!argv[argc]; 6: } /* end */ root@nuc:/tmp/buildd/marisa-0.2.6/bindings/ruby# which powerpc64le-linux-gnu-gcc-10 root@nuc:/tmp/buildd/marisa-0.2.6/bindings/ruby# echo $? 1 root@nuc:/tmp/buildd/marisa-0.2.6/bindings/ruby# irb irb(main):004:0> p RbConfig::CONFIG['CC'] "powerpc64le-linux-gnu-gcc-10" => "powerpc64le-linux-gnu-gcc-10" ** Changed in: marisa (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1947790 Title: marisa FTBFS on ppc64el To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/marisa/+bug/1947790/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs