Re: [Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-11-01 Thread Simon Chopin
It seems so, yes. See https://launchpad.net/~schopin/+archive/ubuntu/rebuilds/+packages I believe it's because GCC 10 is included in the builder chroots for impish, but not for jammy. You can see gcc-10 being upgraded in the logs for the impish build. So, the bug doesn't appear on impish on our b

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-29 Thread Matthias Klose
I'm uploading this workaround for jammy. It helps to fix ftbfs for packages which build both python and ruby bindings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1948950 Title: ruby2.7-dev: exten

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-28 Thread Lucas Kanashiro
I am not sure if I understood your point here Simon, at the moment Impish and Jammy have the same ruby2.7 version. Are you saying the ruby- mysql2 build worked fine in one and failed in the other? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-28 Thread Simon Chopin
I mistakenly added impish as a target series. I misread my build reports in my PPA, sorry about that! Marking it as invalid there. ** Also affects: ruby2.7 (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: ruby2.7 (Ubuntu Jammy) Importance: Undecided Status: T

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-28 Thread Simon Chopin
Trying out the Recommends change on the PPA does trigger the failure, so we need to use Depends. The new build succeeded for arm64 but failed for armhf, with a similar failure mode (timeouts). Retrying it now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-28 Thread Simon Chopin
I purposefully chose gcc-10 instead of g++-10 as, while the ruby implementation seems to use C++ internally, the exposed headers and ABI are C. If you insist I'll change it. I don't think Recomends is a good way to go as I believe sbuild doesn't take them into account, which sort of defeats th

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-27 Thread Lucas Kanashiro
Thanks for the patch Simon! I'd change a bit your proposed solution here, I'd add g++-10 [ppc64el] to Recommends instead of gcc-10 [ppc64el] to Depends. Let's use g++-10 to follow what doko did in the Build- Depends, I am not sure but maybe we can find an extension which requires a C++ compiler and

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-27 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1948950 Title: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10 To manage notifications about this bug go to: h

[Bug 1948950] Re: ruby2.7-dev: extensions fails to build on ppc64el by lack of gcc-10

2021-10-27 Thread Simon Chopin
Attached is the debdiff. A matching package has been uploaded to my PPA: https://launchpad.net/~schopin/+archive/ubuntu/test- ppa/+sourcepub/12853681/+listing-archive-extra In the same PPA you'll find the ruby-mysql2 package that was the initial reason I looked into this, and it now builds fine :)