Bug #2879

build-rpm error on Fedora 20

Added by Davide Principi about 5 years ago. Updated almost 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue 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.

mock-1.1.41-3.fc20.noarch.patch Magnifier - workaround (5.36 KB) Davide Principi, 10/27/2014 01:00 PM


Related issues

Related to NethServer 6 - Bug #2770: Devbox: missing rpmspec command CLOSED
Related to NethServer 6 - Feature #3009: nethserver-devbox replacements CLOSED

Associated revisions

Revision 052cc22a
Added by Davide Principi about 5 years ago

Added bug warning. Refs #2879

Revision b1cb2b01
Added by Davide Principi almost 5 years ago

Initial commit. Refs #2879 #2770

RPM build automation scripts. Create and sign RPMs with mock and
basic tools.

History

#1 Updated by Davide Principi about 5 years ago

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 about 5 years ago

  • Related to Bug #2770: Devbox: missing rpmspec command added

#3 Updated by Davide Principi almost 5 years ago

#4 Updated by Davide Principi almost 5 years ago

  • Target version changed from v6.5 to v6.6-beta1

#5 Updated by Davide Principi almost 5 years ago

  • Target version changed from v6.6-beta1 to v6.6-rc1

#6 Updated by Davide Principi almost 5 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.

Also available in: Atom PDF