Bug 1049209 - [rel-eng] hawkey.Sack doesn't recognize some arches
Summary: [rel-eng] hawkey.Sack doesn't recognize some arches
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libsolv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1080837
TreeView+ depends on / blocked
 
Reported: 2014-01-07 08:35 UTC by Daniel Mach
Modified: 2014-09-30 23:42 UTC (History)
5 users (show)

Fixed In Version: dnf-plugins-core-0.0.8-2.fc20
Clone Of:
Environment:
Last Closed: 2014-05-31 23:59:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Mach 2014-01-07 08:35:56 UTC
hawkey.Sack doesn't recognize following arches known to yum:
geode
ppc64iseries
amd64
alphaev7
alphaev6
alphaev5
alphaev4
alphaev67
alphaev68
alphapca56
athlon
ppc64pseries
ia32e
alphaev56
arm64
alpha
alphaev45


Reproducer:

import rpmUtils.arch
import hawkey

for arch in rpmUtils.arch.arches:
    try:
        s = hawkey.Sack(arch=arch)
    except hawkey.ArchException:
        print arch

Comment 1 Ales Kozumplik 2014-02-06 12:55:23 UTC
Dan, for clarification: do we ship packages for goede or the alpha* variants?

Comment 2 Daniel Mach 2014-02-06 13:51:44 UTC
No, we don't ship these arches.
But generally hawkey should be able to process them - they were added to rpmUtils for some reason...

Comment 3 Ales Kozumplik 2014-02-06 16:54:11 UTC
That reason may long have passed. If there is no use case we would like to prefer saving libsolv from the bloat---do you agree?

Comment 4 Ales Kozumplik 2014-03-27 13:12:55 UTC
needinfo on the question from comment 3.

Comment 5 Daniel Mach 2014-03-28 08:12:25 UTC
The reason is compatibility with yum.
Dropping this means breaking compatibility with no good reason.

These should be definitely added, because they're related to existing and supported architectures:
amd64
athlon
geode
ia32e
ppc64iseries
ppc64pseries

Not sure about:
arm64
(shouldn't it be aarch64 instead?)

We won't probably need:
alpha
alphaev4
alphaev5
alphaev6
alphaev7
alphaev45
alphaev56
alphaev67
alphaev68
alphapca56

Comment 6 Ales Kozumplik 2014-03-28 08:23:37 UTC
Of course, the architectures that we support on some level will be supported by DNF.

Comment 7 Ales Kozumplik 2014-04-30 07:51:06 UTC
libsolv pull req:

https://github.com/openSUSE/libsolv/pull/44

I still have doubts whether this is really needed.

Comment 8 Ales Kozumplik 2014-05-02 08:42:40 UTC
The pull request from comment 7 has been merged. This is now waiting for Fedora rebase of libsolv.

Comment 9 Fedora Update System 2014-05-28 12:11:05 UTC
dnf-plugins-core-0.0.8-2.fc20, libsolv-0.6.1-1.git6d968f1.fc20, hawkey-0.4.16-1.fc20, dnf-0.5.2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libsolv-0.6.1-1.git6d968f1.fc20,hawkey-0.4.16-1.fc20,dnf-0.5.2-1.fc20,dnf-plugins-core-0.0.8-2.fc20

Comment 10 Fedora Update System 2014-05-28 23:51:04 UTC
Package dnf-plugins-core-0.0.8-2.fc20, libsolv-0.6.1-1.git6d968f1.fc20, hawkey-0.4.16-1.fc20, dnf-0.5.2-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.0.8-2.fc20 libsolv-0.6.1-1.git6d968f1.fc20 hawkey-0.4.16-1.fc20 dnf-0.5.2-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6789/libsolv-0.6.1-1.git6d968f1.fc20,hawkey-0.4.16-1.fc20,dnf-0.5.2-1.fc20,dnf-plugins-core-0.0.8-2.fc20
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-05-31 23:59:43 UTC
dnf-plugins-core-0.0.8-2.fc20, libsolv-0.6.1-1.git6d968f1.fc20, hawkey-0.4.16-1.fc20, dnf-0.5.2-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.