On Wed, Mar 03, 2021 at 05:45:35PM +0530, Billa Surendra wrote: > Dear Richard, Please send messages to the Fedora devel list so there is a public record and so others can help. > I am trying to initialize the mock chroot before performing the first rebuild > SRPM on RISC-V fedora image. > > In order to initialize the chroot for fedora-33-riscv64 I have started running > the below command: > > $ mock -r fedora-33-riscv64.cfg --init > > But initialization did not proceed further. I am getting following error. > > Error: > > [root@fedora-riscv mock]# mock -r fedora-33-riscv64.cfg --init > INFO: mock.py version 2.8 starting (python version = 3.9.1, NVR = > mock-2.8-1.fc33)... > Start(bootstrap): init plugins > INFO: selinux disabled > Finish(bootstrap): init plugins > Start: init plugins > INFO: selinux disabled > Finish: init plugins > INFO: Signal handler active > Start: run > Start: clean chroot > Finish: clean chroot > Start(bootstrap): chroot init > INFO: calling preinit hooks > INFO: enabled root cache > INFO: enabled package manager cache > Start(bootstrap): cleaning package manager metadata > Finish(bootstrap): cleaning package manager metadata > INFO: enabled HW Info plugin > Mock Version: 2.8 > INFO: Mock Version: 2.8 > Start(bootstrap): dnf install > No matches found for the following disable plugin patterns: local, spacewalk > fedora 14 kB/s | 71 kB 00:04 > Errors during downloading metadata for repository 'fedora': > - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo= > fedora-33&arch=riscv64 (IP: 13.212.21.54) > Error: Failed to download metadata for repo 'fedora': Cannot prepare internal > mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink? > repo=fedora-33&arch=riscv64 (IP: 13.212.21.54) > ERROR: Command failed: > # /usr/bin/dnf --installroot /var/lib/mock/fedora-33-riscv64-bootstrap/root/ > --releasever 33 --setopt=deltarpm=False --allowerasing --disableplugin=local > --disableplugin=spacewalk install dnf dnf-plugins-core > No matches found for the following disable plugin patterns: local, spacewalk > fedora 14 kB/s | 71 kB 00:04 > Errors during downloading metadata for repository 'fedora': > - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo= > fedora-33&arch=riscv64 (IP: 13.212.21.54) This URL is wrong. You're going to need to work out how to point to the Fedora/RISC-V Koji instance (http://fedora.riscv.rocks/koji/). I don't know exactly how to do that but I'm sure someone on the Fedora development list can help. Rich. > Error: Failed to download metadata for repo 'fedora': Cannot prepare internal > mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink? > repo=fedora-33&arch=riscv64 (IP: 13.212.21.54) > > > Here I am planning to rebuild gcc SRPM on a mock by utilizing fedora-33-riscv64 > arch on RISC-V fedora image. Can you please suggest what I have to do now. > > Thanks > > Billa > > > > On Wed, Feb 24, 2021 at 4:03 PM Richard W.M. Jones <rjones@xxxxxxxxxx> wrote: > > On Wed, Feb 24, 2021 at 02:50:02PM +0530, Billa Surendra wrote: > > Dear David and Richard, > > > > As you suggested, I have downloaded the latest RISC-V fedora image from > this > > link <http://fedora.riscv.rocks/koji/tasks state=closed&view=flat&method= > > createAppliance&order=-id> and booted by using QEMU emulator. > > > > Now started rebuilding gcc srpm taken from this <https:// > dl.amnesia.boum.org/ > > fedora/releases/33/Everything/source/tree/Packages/g/> on booted > fedora. > > > > Here I have changed the gcc.spec file for not supporting compressed > > instructions. again re created srpm. > > > > Actually here QEMU takes a lot of time (2-3 days) for rebuilding, even it > hangs > > some time in fairly fast x86 hardware (25 GB RAM and 8 cores). > > It takes 3 days to rebuild GCC even on SiFive Unleashed. You just > have to be patient and don't make a mistake. > > > Is there any way to increase the number of cores from 8 to 24 in QEMU > -smp 8 > > option ?. or I have to use a sifive board for that. > > Last time I looked into this, 8 was an architectural limit on the > number of cores. I don't know if more are supported now - try it and > see. I doubt it will give you very much more performance for building > GCC even if it works. > > Rich. > > > > If you feel a sifive board is best for rebuilding fedora packages(without > > compressed support), which one I have to use ?. > > > > Please help out regarding the above problem. > > > > Thanks in advance > > > > Billa > > > > > > > > > > > > -- > 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 > > -- 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@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure