#639 Missing dependency: mock-scm
Closed: Fixed 6 years ago Opened 6 years ago by ncoghlan.

Attempting to build the HAProxy module, I get a failed build with the following error in the mock stderr output:

ERROR: Mock SCM module not installed: No module named 'mockbuild.scm'. You should install package mock-scm.

Installing it seems to get the builds working, so I think this may just be a missing runtime dependency in the module-build-service RPM


I've proposed adding a note about this in the Modularity docs: https://pagure.io/modularity/pull-request/50

Once the dependency is declared properly, that workaround can be cleaned up.

@ncoghlan what version of module-build-service were you running?

@ralph The one in Fedora 26:

$ rpm -qa module-build-service
module-build-service-1.3.24-3.fc26.noarch
$ rpm -q --requires module-build-service | grep mock-scm
mock-scm
$ rpm -q module-build-service 
module-build-service-1.3.26-3.fc28.noarch

Metadata Update from @ignatenkobrain:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata