On Wed, Sep 30, 2020 at 01:39:15PM +0200, Fabio Valentini wrote:
On Wed, Sep 30, 2020 at 12:55 PM José Abílio Matos
<jamatos(a)fc.up.pt> wrote:
>
> Hi,
>
> I am sorry if this has been discussed before but I do not remember it.
>
>
> The culprit to this message was the review of R-pak
>
>
https://bugzilla.redhat.com/show_bug.cgi?id=1883047
>
>
> While running fedora-review that uses mock I found that I had an issue installing
the corresponding rpm in rawhide. And surely enough running the same command it failed:
>
>
> # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever
34 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk
install /home/jamatos/tmp/1883047-R-pak/results/R-pak-0.1.2-1.fc34.noarch.rpm
--setopt=tsflags=nocontexts
>
> No matches found for the following disable plugin patterns: local, spacewalk
>
> fedora
4.4 MB/s | 74 MB 00:16
>
> Last metadata expiration check: 0:00:17 ago on Wed 30 Sep 2020 10:21:53 AM WEST.
>
> Error:
>
> Problem: conflicting requests
>
> - nothing provides R(rprojroot) >= 1.3.2 needed by R-pak-0.1.2-1.fc34.noarch
>
> (try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
>
>
> Consulting the page for R-rprojroot
>
>
https://src.fedoraproject.org/rpms/R-rprojroot
>
>
> we also do not see any build for Fedora 34. I already saw this also for other
packages where it only shows after a rebuild.
>
>
> On the other hand asking directly to rawhide we get:
>
>
> # dnf -q list R-rprojroot --disablerepo=\* --enablerepo=rawhide
>
> Available Packages
>
> R-rprojroot.noarch 1.3.2-9.fc33 rawhide
>
>
> And so in fact there is a match and so the packages is available at rawhide.
>
>
>
> My doubt and the reason to post this is to ask if this is the same issue or if it
corresponds to different issues, one for
src.fedoraproject.org (I always forget the
backend name) and another for mock.
>
If anything, this is a bug in the R-rprojroot package, because
version
1.3.2 provides: "R(rprojroot) = 1.3-2", which is smaller than 1.3.2,
and hence is not enough for >= 1.3.2.
The builds table on
src.fedoraproject.org is populated by querying
bodhi updates for a package. If a build has not been built for rawhide
*after* the branch point, builds are inherited into rawhide, but no
separate bodhi update for them exist, so they don't show up in the
table.
It actually queries bodhi and failing to find things in it, it fallsback to
mdapi normally.
Potential bug in the logic?
Pierre