Hi Will,
thanks for your interest. It is true I forgot to patch yum in F24 repos
since DNF works properly in F24 and I did not need yum anymore. Do you
have any particular reason to use yum and not DNF? The same results as
'yum-builddep' can be achieved with 'dnf builddep'.
Anyway, I have updated the repos with patched yum and if you update,
yum-builddep should work as well. I have also filed a bug against yum:
https://bugzilla.redhat.com/show_bug.cgi?id=1380522
Feel free to report any other issues.
Michal
On 29.09.2016 03:05 William Cohen wrote:
> Hi,
>
> Thanks for creating a Fedora 24 image for the ci20. I have it set up on my ci20 creator board and have been trying it out. One of the things that I noticed is that binary rpms from the repository install fine, but yum-builddep doesn't work. It would make things much easier for people to experiment with locally built rpms if yum-builddep worked properly. It looks like URL used by yum-builddep is wrong, http://mipsfedora.imgtec.com/development/24/mips/os/repodata/repomd.xml should be http://mipsfedora.imgtec.com/development/24/mipsel/os/repodata/repomd.xml. Below is an example of the working "yum install" and failing "yum-builddep" with the default setup.
>
> -Will
>
>
> [wcohen@localhost Downloads]$ sudo yum install shotwell
> Yum command has been deprecated, redirecting to '/usr/bin/dnf install shotwell'.
> See 'man dnf' and 'man yum2dnf' for more information.
> To transfer transaction metadata from yum to DNF, run:
> 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
>
> Last metadata expiration check: 0:13:35 ago on Wed Sep 28 20:44:10 2016.
> Dependencies resolved.
> ================================================================================
> Package Arch Version Repository Size
> ================================================================================
> Installing:
> LibRaw mipsel 0.17.2-1.fc24 fedora-mips-stage5 330 k
> exiv2-libs mipsel 0.25-3.fc24 fedora-mips-stage5 1.4 M
> libgexiv2 mipsel 0.10.3-6.fc24 fedora-mips-stage5 59 k
> shotwell mipsel 0.23.1-1.fc24 fedora-mips-stage5 2.8 M
>
> Transaction Summary
> ================================================================================
> Install 4 Packages
>
> Total download size: 4.5 M
> Installed size: 21 M
> Is this ok [y/N]: y
> Downloading Packages:
> (1/4): libgexiv2-0.10.3-6.fc24.mipsel.rpm 39 kB/s | 59 kB 00:01
> (2/4): LibRaw-0.17.2-1.fc24.mipsel.rpm 162 kB/s | 330 kB 00:02
> (3/4): exiv2-libs-0.25-3.fc24.mipsel.rpm 485 kB/s | 1.4 MB 00:02
> (4/4): shotwell-0.23.1-1.fc24.mipsel.rpm 599 kB/s | 2.8 MB 00:04
> --------------------------------------------------------------------------------
> Total 977 kB/s | 4.5 MB 00:04
> Running transaction check
> Transaction check succeeded.
> Running transaction test
> Transaction test succeeded.
> Running transaction
> Installing : exiv2-libs-0.25-3.fc24.mipsel 1/4
> Installing : libgexiv2-0.10.3-6.fc24.mipsel 2/4
> Installing : LibRaw-0.17.2-1.fc24.mipsel 3/4
> Installing : shotwell-0.23.1-1.fc24.mipsel 4/4
> Verifying : shotwell-0.23.1-1.fc24.mipsel 1/4
> Verifying : LibRaw-0.17.2-1.fc24.mipsel 2/4
> Verifying : libgexiv2-0.10.3-6.fc24.mipsel 3/4
> Verifying : exiv2-libs-0.25-3.fc24.mipsel 4/4
>
> Installed:
> LibRaw.mipsel 0.17.2-1.fc24 exiv2-libs.mipsel 0.25-3.fc24
> libgexiv2.mipsel 0.10.3-6.fc24 shotwell.mipsel 0.23.1-1.fc24
>
> Complete!
> [wcohen@localhost Downloads]$ sudo yum-builddep ./libpfm-4.7.0-2.fc25.src.rpm
>
> Yum-utils package has been deprecated, use dnf instead.
> See 'man yum2dnf' for more information.
>
>
> http://mipsfedora.imgtec.com/development/24/mips/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
> Trying other mirror.
> failure: repodata/repomd.xml from fedora-mips-stage5: [Errno 256] No more mirrors to try.
> http://mipsfedora.imgtec.com/development/24/mips/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
>