Re: s390 ruby build failure
Richard W.M. Jones wrote on 2022/01/21 18:26: https://koji.fedoraproject.org/koji/taskinfo?taskID=81534987 /usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError) This appears to be a compiler problem that only affects ruby builds on s390x. However I have no way to diagnose it further (it works fine on x86-64). Do we have an s390x development machine with Rawhide installed? Rich. Does this really affects only on s390x? mass rebuild sets "fail_fast", which means that if one of the arches fails to build, builds on rest arches gets cancelled at that time. Looking at the parent task and builds on other arches, it looks like builds on other arches were all cancelled before ruby related tasks are executed: https://koji.fedoraproject.org/koji/taskinfo?taskID=81534564 Regards, Mamoru ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: s390 ruby build failure
Dne 21. 01. 22 v 10:47 Mamoru TASAKA napsal(a): Richard W.M. Jones wrote on 2022/01/21 18:26: https://koji.fedoraproject.org/koji/taskinfo?taskID=81534987 /usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError) This appears to be a compiler problem that only affects ruby builds on s390x. However I have no way to diagnose it further (it works fine on x86-64). Do we have an s390x development machine with Rawhide installed? Rich. Does this really affects only on s390x? It passes behind this step locally on x86_64, but fails after all with some different issue. Anyway, could you please obtain the: /builddir/build/BUILD/libguestfs-1.47.2/ruby/ext/guestfs/mkmf.log You can probably ignore the build failure and `cat` the content. Vít OpenPGP_signature Description: OpenPGP digital signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: s390 ruby build failure
On Fri, Jan 21, 2022 at 06:47:37PM +0900, Mamoru TASAKA wrote: > Richard W.M. Jones wrote on 2022/01/21 18:26: > >https://koji.fedoraproject.org/koji/taskinfo?taskID=81534987 > > > >/usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an > >executable file. (RuntimeError) > > > >This appears to be a compiler problem that only affects ruby builds on > >s390x. However I have no way to diagnose it further (it works fine on > >x86-64). Do we have an s390x development machine with Rawhide > >installed? > > > >Rich. > > Does this really affects only on s390x? > mass rebuild sets "fail_fast", which means that if one of the arches fails to > build, > builds on rest arches gets cancelled at that time. > > Looking at the parent task and builds on other arches, it looks like builds on > other arches were all cancelled before ruby related tasks are executed: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=81534564 I couldn't reproduce it locally (x86-64). I am now testing it on Rawhide/s390x thanks to Danny, so let's see if I can reproduce it there. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: s390 ruby build failure
On Fri, Jan 21, 2022 at 11:28:18AM +0100, Vít Ondruch wrote: > > Dne 21. 01. 22 v 10:47 Mamoru TASAKA napsal(a): > >Richard W.M. Jones wrote on 2022/01/21 18:26: > >>https://koji.fedoraproject.org/koji/taskinfo?taskID=81534987 > >> > >>/usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to > >>generate an executable file. (RuntimeError) > >> > >>This appears to be a compiler problem that only affects ruby builds on > >>s390x. However I have no way to diagnose it further (it works fine on > >>x86-64). Do we have an s390x development machine with Rawhide > >>installed? > >> > >>Rich. > > > >Does this really affects only on s390x? > > > It passes behind this step locally on x86_64, but fails after all > with some different issue. The different issue is probably this kernel bug: https://bugzilla.redhat.com/show_bug.cgi?id=2043382 > Anyway, could you please obtain the: > > /builddir/build/BUILD/libguestfs-1.47.2/ruby/ext/guestfs/mkmf.log > > You can probably ignore the build failure and `cat` the content. Unfortunately I couldn't reproduce it on an s390x machine :-( Unless someone can grab the file from the above failed Koji build I'm not sure what to do. I'll keep plugging away here on the s390x machine to see if I can reproduce it with a different mix of packages installed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: s390 ruby build failure
Dne 21. 01. 22 v 11:35 Richard W.M. Jones napsal(a): On Fri, Jan 21, 2022 at 11:28:18AM +0100, Vít Ondruch wrote: Dne 21. 01. 22 v 10:47 Mamoru TASAKA napsal(a): Richard W.M. Jones wrote on 2022/01/21 18:26: https://koji.fedoraproject.org/koji/taskinfo?taskID=81534987 /usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError) This appears to be a compiler problem that only affects ruby builds on s390x. However I have no way to diagnose it further (it works fine on x86-64). Do we have an s390x development machine with Rawhide installed? Rich. Does this really affects only on s390x? It passes behind this step locally on x86_64, but fails after all with some different issue. The different issue is probably this kernel bug: https://bugzilla.redhat.com/show_bug.cgi?id=2043382 Yep, looks familiar. Anyway, could you please obtain the: /builddir/build/BUILD/libguestfs-1.47.2/ruby/ext/guestfs/mkmf.log You can probably ignore the build failure and `cat` the content. Unfortunately I couldn't reproduce it on an s390x machine :-( Unless someone can grab the file from the above failed Koji build I'm not sure what to do. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IN42RUJUMWN63CAZAMJSTDG7YXQPRY2U/ Never tried that, maybe this could be the moment ;) Vít I'll keep plugging away here on the s390x machine to see if I can reproduce it with a different mix of packages installed. Rich. OpenPGP_signature Description: OpenPGP digital signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: s390 ruby build failure
Dne 21. 01. 22 v 12:19 Vít Ondruch napsal(a): Dne 21. 01. 22 v 11:35 Richard W.M. Jones napsal(a): On Fri, Jan 21, 2022 at 11:28:18AM +0100, Vít Ondruch wrote: Dne 21. 01. 22 v 10:47 Mamoru TASAKA napsal(a): Richard W.M. Jones wrote on 2022/01/21 18:26: https://koji.fedoraproject.org/koji/taskinfo?taskID=81534987 /usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError) This appears to be a compiler problem that only affects ruby builds on s390x. However I have no way to diagnose it further (it works fine on x86-64). Do we have an s390x development machine with Rawhide installed? Rich. Does this really affects only on s390x? It passes behind this step locally on x86_64, but fails after all with some different issue. The different issue is probably this kernel bug: https://bugzilla.redhat.com/show_bug.cgi?id=2043382 Yep, looks familiar. Anyway, could you please obtain the: /builddir/build/BUILD/libguestfs-1.47.2/ruby/ext/guestfs/mkmf.log You can probably ignore the build failure and `cat` the content. Unfortunately I couldn't reproduce it on an s390x machine :-( Unless someone can grab the file from the above failed Koji build I'm not sure what to do. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IN42RUJUMWN63CAZAMJSTDG7YXQPRY2U/ Never tried that, maybe this could be the moment ;) I can't do that: ~~~ $ koji save-failed-tree 81534987 2022-01-21 12:20:12,267 [ERROR] koji: ActionNotAllowed: Only owner of failed task or 'admin' can run this task. ~~~ Vít Vít I'll keep plugging away here on the s390x machine to see if I can reproduce it with a different mix of packages installed. Rich. OpenPGP_signature Description: OpenPGP digital signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: s390 ruby build failure
On Fri, Jan 21, 2022 at 12:20:48PM +0100, Vít Ondruch wrote: > > > I can't do that: > > > ~~~ > > $ koji save-failed-tree 81534987 > 2022-01-21 12:20:12,267 [ERROR] koji: ActionNotAllowed: Only owner of failed > task or 'admin' can run this task. And sadly due to the mass rebuild churn it's already not available: ~ koji save-failed-tree 81534987 Created task 81611235 for buildroot 32534387 Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=81611235 Watching tasks (this may be safely interrupted)... 81611235 saveFailedTree (noarch): assigned 81611235 saveFailedTree (noarch): assigned -> FAILED: GenericError: Buildroot directory is missing: /var/lib/mock/f36-build-32534387-4400356/root/builddir 0 free 0 open 0 done 1 failed 81611235 saveFailedTree (noarch) failed I'd suggest just doing a scratch build and in that spec dumping out the files you need for debugging. kevin signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: s390 ruby build failure
To follow up on this thread, I did a scratch build this morning with some extra instrumentation which was meant to capture the Ruby log file if the build failed. But the scratch build succeeded this time on s390x, although it still failed overall because of the kernel bug. So I decided to leave it until the kernel bug is fixed and worry about it afterwards if it happens again. Thanks all! Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure