Bug 1685183
| Summary: | Incorrect Obsoletes: confusingly ignored by dnf | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dominik 'Rathann' Mierzejewski <dominik> |
| Component: | openbabel | Assignee: | Petr Pisar <ppisar> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | dmach, dominik, itamar, jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, ppisar, rpm-software-management, susi.lehtola, vmukhame |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openbabel-2.4.1-23.fc31 openbabel-2.4.1-22.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-28 16:33:32 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: | |||
|
Description
Dominik 'Rathann' Mierzejewski
2019-03-04 14:40:33 UTC
We tried to investigate the issue and we found that the problem is in python3-openbabel. The package use incorrect obsolete: "python2-openbabel(x86-64) < 2.4.1-21". Only packages can be obsoleted but "python2-openbabel(x86-64)" is provide of "python2-openbabel" package. The correct statement should be like: Obsoletes: "python2-openbabel < 2.4.1-21". Please can you solve the issue in openbabel? Interesting. Indeed it's even documented: https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages although that page doesn't point out that only Obsoleting of the original package NAME will work. Thanks for the investigation, I'll fix it in the openbabel package. The bogus Obsoletes is actually a hard rpm-build error now and causes openbabel to fail to build:
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openbabel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
BUILDSTDERR: sh: perl: command not found
BUILDSTDERR: sh: /usr/bin/perl: No such file or directory
BUILDSTDERR: error: line 122: Illegal char ')' (0x29) in: Obsoletes: python2-openbabel(aarch-64) < 2.4.1-21
BUILDSTDERR: error: line 122: Only package names are allowed in Obsoletes: Obsoletes: python2-openbabel(aarch-64) < 2.4.1-21
FEDORA-2019-5a6c73c637 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5a6c73c637 openbabel-2.4.1-22.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5a6c73c637 openbabel-2.4.1-22.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |