Bug 1049209

Summary: [rel-eng] hawkey.Sack doesn't recognize some arches
Product: [Fedora] Fedora Reporter: Daniel Mach <dmach>
Component: libsolvAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: akozumpl, dmach, jzeleny, mls, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-plugins-core-0.0.8-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-31 23:59:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1080837    

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.