@Gunnar,

>  I see that only installing g++-10 would have been sufficient.

Yes, g++-10 on build-depends is only needed for the bug.

The source package of marisa will generate some components, libmarisa,
perl/python/ruby bindings. This gcc-10/gcc-11 problem only affects ruby
bindings. Other components can build with gcc-11.

To build ruby bindings, debian/rules will execute following steps.

1. extconf.rb geneates Makefile for test tool and bindings to link libmarisa
2. execute make command

mkmf module in extconf.rb sets CC and some build related environment
variables. But this variables will not refer host system directly,
instead of this, mkmf refer to ruby embedded information. That is, mkmf
will set CC as same as compile to build ruby.

Ruby for ppc64el on impish/jammy has builded by gcc-10, mkmf will
generate Makefile in which CC is "powerpc64le-linux-gnu-gcc-10".

irb(main):004:0> p RbConfig::CONFIG['CC']
"powerpc64le-linux-gnu-gcc-10"
=> "powerpc64le-linux-gnu-gcc-10"

Summarize, the gcc-10 is only needed to build ruby binding of marisa.

-- 
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

Reply via email to