I believe the issue here is very different. Vendor change is what happens whenever you use locally built dependencies, which is a scenario I have been actively using for years. When I tried, the output was very clear about continuing despite vendor change:
The following 3 packages are going to be upgraded:
ohm 1.3.0-1.3.3.jolla -> 1.3.0+master.20210617065216.04c3d50-1
ohm-configs-default 1.3.0-1.3.3.jolla -> 1.3.0+master.20210617065216.04c3d50-1
ohm-plugin-core 1.3.0-1.3.3.jolla -> 1.3.0+master.20210617065216.04c3d50-1
The following 3 packages are going to change vendor:
ohm 1.3.0-1.3.3.jolla -> 1.3.0+master.20210617065216.04c3d50-1 meego ->
ohm-configs-default 1.3.0-1.3.3.jolla -> 1.3.0+master.20210617065216.04c3d50-1 meego ->
ohm-plugin-core 1.3.0-1.3.3.jolla -> 1.3.0+master.20210617065216.04c3d50-1 meego ->
3 packages to upgrade, 3 to change vendor.
Overall download size: 0 B. Already cached: 70.9 KiB. After the operation, additional 60.0 B will be used.
Continue? [y/n/v/...? shows all options] (y): y
committing
[...]
Later it fails unpacking /etc/ohm/modules.ini
:
(1/3) Installing: ohm-configs-default-1.3.0+master.20210617065216.04c3d50-1.i486 .........................................[error]
Installation of ohm-configs-default-1.3.0+master.20210617065216.04c3d50-1.i486 failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /etc/ohm/modules.ini: cpio: utime failed - No such file or directory
error: ohm-configs-default-1.3.0+master.20210617065216.04c3d50-1.i486: install failed
error: ohm-configs-default-1.3.0-1.3.3.jolla.i486: erase skipped
Abort, retry, ignore? [a/r/i] (a): a
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
You likely missed the error because it then ends offering possible solutions, where the vendor change is mentioned, but this is not meant to be the cause for the failure:
Problem: ohm-devel-1.3.0+master.20210617065216.04c3d50-1.i486 requires ohm = 1.3.0+master.20210617065216.04c3d50-1, but this requirement cannot be provided
not installable providers: ohm-1.3.0+master.20210617065216.04c3d50-1.i486[~plus-repo-1]
Solution 1: Following actions will be done:
install ohm-1.3.0+master.20210617065216.04c3d50-1.i486 (with vendor change)
meego -->
install ohm-configs-default-1.3.0+master.20210617065216.04c3d50-1.i486 (with vendor change)
meego -->
install ohm-plugin-core-1.3.0+master.20210617065216.04c3d50-1.i486 (with vendor change)
meego -->
Solution 2: do not install ohm-devel-1.3.0+master.20210617065216.04c3d50-1.i486
Solution 3: break ohm-devel-1.3.0+master.20210617065216.04c3d50-1.i486 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
Also trying to build ohm
with vendor set to meego
didn’t change the result for me (except that it did not offer the possible solutions in that case).
So the actual issue here is “ohm installation fails under scratchbox2”, the symptoms being:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /etc/ohm/modules.ini: cpio: utime failed - No such file or directory
Please consider opening a separate topic for that.