Re: fedora SRPM auto building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I am trying to install RPM on riscv target  (QEMU), but its throwing error. Even Though gzip/bzip2/xz are installed in target.

Error:

/home # uname -a
Linux C-DAC 5.4.1 #1 SMP Wed Dec 30 17:01:02 IST 2020 riscv64 GNU/Linux
/home # rpm -i calendar-1.28-4.20140613cvs.fc33.riscv64.rpm
rpm: no gzip/bzip2/xz magic
/home # which gzip
/bin/gzip
/home # which bzip2
/usr/bin/bzip2
/home # which xz
/usr/bin/xz

Can anyone please suggest what to do now to resolve the above issue.

Thank you
Billa








On Tue, Jan 19, 2021 at 2:54 PM Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
Adding Fedora devel list since this is a Fedora development question,
not specific to RISC-V.  I'll also note that you've asked this same or
very similar question several times before, over years:

https://lists.fedoraproject.org/archives/search?mlist=devel%40lists.fedoraproject.org&q=Billa+Surendra

I can't help you unless you help yourself.  Anyway ...

On Tue, Jan 19, 2021 at 12:06:38PM +0530, Billa Surendra wrote:
> Dear rwmjones,
>
> I am attempting to rebuild Fedora SRPM's for riscv64 to be used with QEMU
> emulator with help of stage-4-disc image by using temporary autobuilder for
> Fedora/RISC-V. It takes source
> RPMs (SRPMs) from Koji, and also SRPMs that can be supplied locally. I have
> given set of SRPM's as input and it's started taking SRPM's for building but
> result i.e RPM's are not generating. Its giving network unreachble error.
> Please tell me whether autobuilder for Fedora/RISC-V currently maintained or
> not ? If autobuilder not maintained right now, What is the solution for
> rebuilding SRPM's on top of stage-4 disc image.

Firstly don't use the stage 4 disk image.  That was the temporary
method we used over 4 years ago while bootstrapping.  Use the regular
disk image.  There are instructions here:

https://fedoraproject.org/wiki/Architectures/RISC-V/Installing

Once you have Fedora on RISC-V installed on qemu, just rebuild SRPMs
as you would on any other architecture.  You do not need to use the
autobuilder - it was a hack that I wrote before we had Koji ported to
RISC-V.  You also don't need to do anything special because it's
RISC-V.  There are instructions here for single SRPMs:

https://wiki.centos.org/HowTos/RebuildSRPM

To install Koji (a lot of work) you probably want to start here:

https://fedoraproject.org/wiki/Koji

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

_______________________________________________
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux