Bug #2879
build-rpm error on Fedora 20
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-devbox | |||
Target version: | v6.6-rc1 | |||
Security class: | Resolution: | WONTFIX | ||
Affected version: | v6.5 | NEEDINFO: | No |
Description
At some point after mock RPM release 1.1.35, build-rpm
command fails to build packages.
File "/home/davidep/nethesis/nethserver/nethserver-devbox/root/usr/share/nethesis/nethserver-devbox/mock/nethserver-rpm-x86_64.cfg", line 5, in <module> sys.path.append(config_path) NameError: name 'config_path' is not defined ERROR: Error in configuration
This affects only Fedora 20 build environments: on CentOS mock
package is still at version 1.1.28.
Related issues
History
#1 Updated by Davide Principi almost 7 years ago
- File mock-1.1.41-3.fc20.noarch.patch added
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
The attached patch is a workaround for latest Fedora mock release. It bypasses MOCK_YUMCONF and MOCK_RELEASEVER settings in your config
file.
#2 Updated by Davide Principi almost 7 years ago
- Related to Bug #2770: Devbox: missing rpmspec command added
#3 Updated by Davide Principi over 6 years ago
- Related to Feature #3009: nethserver-devbox replacements added
#4 Updated by Davide Principi over 6 years ago
- Target version changed from v6.5 to v6.6-beta1
#5 Updated by Davide Principi over 6 years ago
- Target version changed from v6.6-beta1 to v6.6-rc1
#6 Updated by Davide Principi over 6 years ago
- Status changed from TRIAGED to CLOSED
- % Done changed from 20 to 100
- Resolution set to WONTFIX
The nethserver-mock
and nethserver-buildiso
packages are compatible with the new mock
versions and obsolete nethserver-devbox
.