#4905 python-bugzilla el6 build fails to find latest python-chardet
Closed: Fixed None Opened 8 years ago by crobinso.

From #fedora-admin:

<crobinso> I'm having trouble building python-bugzilla in koji for el6
<crobinso> https://kojipkgs.fedoraproject.org//work/tasks/6215/11256215/root.log
<crobinso> error is:
<crobinso> Error: Package: python-requests-2.6.0-3.el6.noarch (build)
<crobinso> Requires: python-chardet >= 2.2.1-1
<crobinso> Available: python-chardet-2.0.1-1.el6.noarch (build)
<crobinso> but a local mockbuild finds python-chardev-2.2.1 no problem
<sgallagh> crobinso: python-chardet != python-chardev ?
<crobinso> sgallagh: sorry misspelled on that last line... the package is 'chardet'
<sgallagh> Just making sure it wasn't a typo glitch :)
<sgallagh> crobinso: http://koji.fedoraproject.org/koji/packageinfo?packageID=6575 doesn't show any builds > 2.0.1 for el6
<sgallagh> You sure your local mockbuild was against EL6?
<crobinso> sgallagh: I think the package is in RHEL proper now, trying to check
<crobinso> sgallagh: yes I explicitly did --root epel-6-x86_64, and it's installing an .el6 package
<sgallagh> Looks like it was added in RHEL 6.7
<sgallagh> Maybe the EPEL buildroot is still looking at 6.6?
<sgallagh> Hmm, seems unlikely
<crobinso> sgallagh: the python-requests package is coming from RHEL6.7 as well afaict... the epel version is much older
<crobinso> so maybe whatever centos mirror koji is using is missing the updated python-chardet package?
<sgallagh> crobinso: I'm going to defer to nirik at this point. I'm at a loss


Sorry I should have looked at the preview:

{{{
<crobinso> I'm having trouble building python-bugzilla in koji for el6

<crobinso> https://kojipkgs.fedoraproject.org//work/tasks/6215/11256215/root.log
<crobinso> error is:
<crobinso> Error: Package: python-requests-2.6.0-3.el6.noarch (build)
<crobinso> Requires: python-chardet >= 2.2.1-1
<crobinso> Available: python-chardet-2.0.1-1.el6.noarch (build)
<crobinso> but a local mockbuild finds python-chardev-2.2.1 no problem
<sgallagh> crobinso: python-chardet != python-chardev ?
<crobinso> sgallagh: sorry misspelled on that last line... the package is 'chardet'
<sgallagh> Just making sure it wasn't a typo glitch :)
<sgallagh> crobinso: http://koji.fedoraproject.org/koji/packageinfo?packageID=6575 doesn't show any builds > 2.0.1 for el6
<sgallagh> You sure your local mockbuild was against EL6?
<crobinso> sgallagh: I think the package is in RHEL proper now, trying to check
<crobinso> sgallagh: yes I explicitly did --root epel-6-x86_64, and it's installing an .el6 package
<sgallagh> Looks like it was added in RHEL 6.7
<sgallagh> Maybe the EPEL buildroot is still looking at 6.6?
<sgallagh> Hmm, seems unlikely
<crobinso> sgallagh: the python-requests package is coming from RHEL6.7 as well afaict... the epel version is much older
<crobinso> so maybe whatever centos mirror koji is using is missing the updated python-chardet package?
<sgallagh> crobinso: I'm going to defer to nirik at this point. I'm at a loss
}}}

EPEL builds against RHEL, not CentOS.

We also update usually the day of release. ;)

The issue seems to be that the package is in EPEL with an older version.

https://bugzilla.redhat.com/show_bug.cgi?id=1249960

I'll see about blocking/retiring it.

Interesting... do packages in EPEL always have precedence over RHEL packages, even if the EPEL package is an older version?

builds in epel will always take precedenc over RHEL builds, that is how inheritance in koji works.

Something weird is happening here then. Because the latest python-requests in EPEL is python-requests-1.1.0-4.el6.noarch.rpm as seen here:

http://mirrors.sohu.com/fedora-epel/6/x86_64/python-requests-1.1.0-4.el6.noarch.rpm

However koji is grabbing python-requests-2.6.0-3.el6.noarch.rpm , like from centos here:

http://mirrors.mit.edu/centos/6.7/os/x86_64/Packages/python-requests-2.6.0-3.el6.noarch.rpm

Why isn't koji grabbing the old python-requests from EPEL? python-bugzilla doesn't have a version Requires: on python-requests

python-requests has been retired in epel6/7.

https://admin.fedoraproject.org/pkgdb/package/python-requests/

If you look on the master mirrors it's gone. That must be a out of sync mirror?

The problem is the python-chardet in epel is different/older than the one in rhel.

ok, I retired python-charedt in epel6...

it will get blocked / untagged later tonight, so you should be able to build tomorrow.

Login to comment on this ticket.

Metadata