Bug 1737172

Summary: package not installable on i686
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: ecryptfs-utilsAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: esandeen, mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-13 08:34:22 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: 1736441    

Description Fabio Valentini 2019-08-03 09:57:56 UTC
kernel was dropped on i686. since this package Requires: kernel-modules, it fails to install on i686 now.

One of my packages (gsignond) builds against ecryptfs-utils-devel, and now failed in the mass rebuild, since its dependencies aren't installable on i686.

An explicit, hard dependency on kernel-modules doesn't make sense in many environments where the kernel isn't directly provided (or the version might be different).

Probably the smallest possible change to fix this would be to change "Requires: kernel-modules" to "Recommends: kernel-modules", if you really need to keep that dependency at all.

Comment 1 Ben Cotton 2019-08-13 16:58:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 18:35:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Michal Hlavinka 2020-05-13 08:34:22 UTC
ecryptfs-utils would not work at all without kernel-modules, as it needs ecryptfs.ko that lives there. That's why it is strong dependency and not week dependency.

Comment 4 Fabio Valentini 2020-05-13 13:35:03 UTC
So should this package do "ExcludeArch: %{ix86}" then?
Because no kernel is built for i686 anymore?

Comment 5 Michal Hlavinka 2020-05-26 14:52:13 UTC
I'm not sure how exactly 32bit system without kernel looks like (design, intended use cases), but it does not have arch dependency on kernel, it will still work as 32bit package on system with 64bit kernel