| Summary: | build task fails with: "cannot open Packages index using db5 - Permission denied" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Vobornik <pvoborni> |
| Component: | distribution | Assignee: | Václav Pavlín <vpavlin> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dennis, kevin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-01-04 19:25:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Petr Vobornik
2016-01-04 12:57:00 UTC
The problem here seems to me to be that the *ipatests subpackages cannot be noarch. They depend on
Requires: python3-ipalib%{?_isa} = %{version}-%{release}
which is archful, so they have to be too.
When koji does noarch subpackages it produces them on all arches and then checks to see that they are the same, but in this case they are not, so it fails the build.
Thanks Kevin, if it makes sense - the output package should not differ. I'll update the spec. Maybe it would be good to improve the error message. This part is very misleading: error: cannot open Packages index using db5 - Permission denied (13) error: cannot open Packages database in /var/lib/rpm error: cannot open Packages database in /var/lib/rpm Here it could say "noarch package should be the same on all arches" or something like that. BuildError: mismatch when analyzing python3-ipatests-4.3.0-1.fc24.noarch.rpm, rpmdiff output was: removed REQUIRES python3-ipalib(armv7hl-32) = 4.3.0-1.fc24 added REQUIRES python3-ipalib(x86-64) = 4.3.0-1.fc24 Feel free to file a RFE for koji on that. ;) Shall we close this out now? or want to keep it open until things are fully working? It can be closed. |