Re: Multi-arch support in Mock
On Fri, Jun 15, 2018 at 6:49 AM Alexander Ploumistos < alex.ploumis...@gmail.com> wrote: > By the way, our 32-bit configurations have always been i386 instead of > i686? > They are i686, the chroots are named that for historical reasons. Thanks, Richard ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/YQKP7EAMYUOD2D74B3KPU5TJD6U4NLF6/
Re: Multi-arch support in Mock
By the way, our 32-bit configurations have always been i386 instead of i686? ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HWK5CLNRLQCCSNVX3ZG6BODA3OZMTTCQ/
Re: Multi-arch support in Mock
Thank you both, mock -r fedora-29-i386 --arch=i386 kernel-4.18.0-0.rc0.git9.1.fc29.src.rpm ran just fine. On the other hand, retrying after a "--scrub=all" with mock -r fedora-29-i386 --forcearch=i386 init gave the same error. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/TYODP5EQAS4323GUVRYS26ZSOKXP3JL4/
Re: Multi-arch support in Mock
Dne 15.6.2018 v 08:40 Alexander Ploumistos napsal(a): > ERROR: Could not find useradd in chroot, maybe the install failed? I have seen this error when there was old root cache (created prior rename of unprivileged user in buildroot). Try `-r fedora-29-i386 --scrub=all`. If this is the case, it should resolve your issue. Miroslav ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HHZLUANTDMRACRPPINDXP3C67KWDM35G/
Re: Multi-arch support in Mock
Dne 15.6.2018 v 08:40 Alexander Ploumistos napsal(a): > ERROR: Could not find useradd in chroot, maybe the install failed? I have seen this error when there was old root cache (created prior rename of unprivileged user in buildroot). Try `-r fedora-29-i386 --scrub=all`. If this is the case, it should resolve your issue. Miroslav ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SAIE7EN2COFCGLIHH7PVIXYLU62BVOZ2/
Re: Multi-arch support in Mock
On 15/06/18 07:40, Alexander Ploumistos wrote: I'm having trouble with the i386 arch on x86_64. I've tested it on actual hardware and in a VM and in both cases I get ERROR: Could not find useradd in chroot, maybe the install failed? I've tried building the kernel with mock -r fedora-29-i386 --forcearch=i386 kernel-4.18.0-0.rc0.git9.1.fc29.src.rpm and just initializing the chroot with mock -r fedora-29-i386 --forcearch=i386 init Could this be a configuration issue or some other error on my part? Well you've always been able to do i386 on x86_64 - there's no need to use --forcearch for that. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/XB5CVML3GH5Q3AWTSUETCCPEES5BM4XG/
Re: Multi-arch support in Mock
Hi Miroslav, I'm having trouble with the i386 arch on x86_64. I've tested it on actual hardware and in a VM and in both cases I get ERROR: Could not find useradd in chroot, maybe the install failed? I've tried building the kernel with mock -r fedora-29-i386 --forcearch=i386 kernel-4.18.0-0.rc0.git9.1.fc29.src.rpm and just initializing the chroot with mock -r fedora-29-i386 --forcearch=i386 init Could this be a configuration issue or some other error on my part? ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/Q7JJRQ57JJ3DFAYFXV6FYSQFO6RA2RM5/
Re: Multi-arch support in Mock
On Wed, Jun 13, 2018 at 05:46:59AM -0400, Charalampos Stratakis wrote: > > > - Original Message - > > From: "Miroslav Suchý" > > To: "Development discussions related to Fedora" > > > > Sent: Wednesday, June 13, 2018 9:07:18 AM > > Subject: Multi-arch support in Mock > > > > Hi, > > I just pushed into updates-testing new release of Mock (1.4.11). It has nice > > new feature: > > > > $ sudo dnf install qemu-user-static # weak dependency > > $ mock -r fedora-28-ppc64le --forcearch ppc64le shell > > > > This will give you Fedora shell on different architecture. Emulated by QEMU. > > And of course you can build packages for > > the different architectures this way. > > You can do this for any architecture: aarch64, armhfp, ppc64, ppc64le, > > s390x. > > > > People are asking me how much slower it is. Here are some data: > > > > $ time mock -r fedora-28-x86_64 /tmp/tito/mock-1.4.11-1.fc28.src.rpm > > real0m56,341s > > user0m46,238s > > sys 0m6,027s > > > > $ time mock -r fedora-28-ppc64le --forcearch=ppc64le > > /tmp/tito/mock-1.4.11-1.fc28.src.rpm > > real11m9,576s > > user10m40,182s > > sys 0m29,916s > > > > > > > > $ time mock -r fedora-28-x86_64 --shell 'echo Ahoy' > > real0m1,199s > > user0m0,759s > > sys 0m0,253s > > > > $ time mock -r fedora-28-ppc64le --forcearch=ppc64le --shell 'echo Ahoy' > > real0m1,726s > > user0m1,228s > > sys 0m0,319s > > > > > > > > For full release notes see: > > https://github.com/rpm-software-management/mock/wiki/Release-Notes-1.4.11 > > > > > > Miroslav > > ___ > > devel mailing list -- devel@lists.fedoraproject.org > > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > List Archives: > > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CFJOJP7B5RPSSRSY7B5DITO4N2FBNB55/ > > > > This is really awesome! Finally an easy way to test issues on alternative > arch's. Thanks for that! +1 Now let's include it in local MBS builds :) P 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://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/JK4DTZFYUQNWOGUHME6Y4T27G7WSE4HL/
Re: Multi-arch support in Mock
- Original Message - > From: "Miroslav Suchý" > To: "Development discussions related to Fedora" > > Sent: Wednesday, June 13, 2018 9:07:18 AM > Subject: Multi-arch support in Mock > > Hi, > I just pushed into updates-testing new release of Mock (1.4.11). It has nice > new feature: > > $ sudo dnf install qemu-user-static # weak dependency > $ mock -r fedora-28-ppc64le --forcearch ppc64le shell > > This will give you Fedora shell on different architecture. Emulated by QEMU. > And of course you can build packages for > the different architectures this way. > You can do this for any architecture: aarch64, armhfp, ppc64, ppc64le, s390x. > > People are asking me how much slower it is. Here are some data: > > $ time mock -r fedora-28-x86_64 /tmp/tito/mock-1.4.11-1.fc28.src.rpm > real0m56,341s > user0m46,238s > sys 0m6,027s > > $ time mock -r fedora-28-ppc64le --forcearch=ppc64le > /tmp/tito/mock-1.4.11-1.fc28.src.rpm > real11m9,576s > user10m40,182s > sys 0m29,916s > > > > $ time mock -r fedora-28-x86_64 --shell 'echo Ahoy' > real0m1,199s > user0m0,759s > sys 0m0,253s > > $ time mock -r fedora-28-ppc64le --forcearch=ppc64le --shell 'echo Ahoy' > real0m1,726s > user0m1,228s > sys 0m0,319s > > > > For full release notes see: > https://github.com/rpm-software-management/mock/wiki/Release-Notes-1.4.11 > > > Miroslav > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CFJOJP7B5RPSSRSY7B5DITO4N2FBNB55/ > This is really awesome! Finally an easy way to test issues on alternative arch's. Thanks for that! -- Regards, Charalampos Stratakis Software Engineer Python Maintenance Team, Red Hat ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/4CADSKBIYDL63D6J3RRLXE34VR2FJ2W4/