ej@a4:~/obs/devel/languages/javascript/wasmedge> osc build --do --nopre --alternative-project devel:libraries:c_c++ openSUSE_Factory x86_64 2>&1|tee bl
Building wasmedge.spec for openSUSE_Factory/x86_64
Running source_service 'format_spec_file' ...
Running source_service 'source_validator' ...
(W) Attention, "bl" is not mentioned in spec files as source or patch.
###ASK /home/ej/obs_nosave/zu/devel/languages/javascript/wasmedge/bl
Using local file: wasmedge.spec
Getting buildconfig from server and store to /home/ej/obs_nosave/zu/devel/languages/javascript/wasmedge/.osc/_buildconfig-openSUSE_Factory-x86_64
Getting buildinfo from server and store to /home/ej/obs_nosave/zu/devel/languages/javascript/wasmedge/.osc/_buildinfo-openSUSE_Factory-x86_64.xml
Updating cache of required packages
0.0% cache miss. 188/188 dependencies cached.
Skipping verification of package signatures due to secure VM build
Writing build configuration
Running build
mkfs is missing the -d option needed for copyin files
Build failed with exit code 4
The buildroot was: /var/tmp/build-root-ej/openSUSE_Factory-x86_64/.mount
Cleaning the build root may fix the problem or allow you to start debugging from a well-defined state:
- add '--clean' option to your 'osc build' command
- run 'osc wipe [--vm-type=...]' prior running your 'osc build' command again
Uh, mkfs does not even have -d (according to man mkfs). "copy(-)in" is also a term I would (only) associate with cpio rather than mkfs. But I have a hunch...
# zypper in cpio e2fsprogs xfsprogs
Loading repository data...
Reading installed packages...
'cpio' is already installed.
No update candidate for 'cpio-2.15-3.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
The following 4 NEW packages are going to be installed:
e2fsprogs libinih0 liburcu8 xfsprogs
4 new packages to install.
Package download size: 2.2 MiB
Package install size change:
| 8.1 MiB required by to be installed packages
8.1 MiB | - 0 B released by to be removed packages
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
Retrieving: e2fsprogs-1.47.0-4.2.x86_64 (base) (1/4), 1.0 MiB
Retrieving: e2fsprogs-1.47.0-4.2.x86_64.rpm .......................................................................................[done]
Retrieving: libinih0-58-1.3.x86_64 (base) (2/4), 21.3 KiB
Retrieving: libinih0-58-1.3.x86_64.rpm ............................................................................................[done]
Retrieving: liburcu8-0.14.0-1.5.x86_64 (base) (3/4), 111.1 KiB
Retrieving: liburcu8-0.14.0-1.5.x86_64.rpm ........................................................................................[done]
Retrieving: xfsprogs-6.8.0-1.1.x86_64 (base) (4/4), 1.1 MiB
Retrieving: xfsprogs-6.8.0-1.1.x86_64.rpm ............................................................................[done (21.2 MiB/s)]
Checking for file conflicts: ......................................................................................................[done]
(1/4) Installing: e2fsprogs-1.47.0-4.2.x86_64 .....................................................................................[done]
(2/4) Installing: libinih0-58-1.3.x86_64 ..........................................................................................[done]
(3/4) Installing: liburcu8-0.14.0-1.5.x86_64 ......................................................................................[done]
(4/4) Installing: xfsprogs-6.8.0-1.1.x86_64 .......................................................................................[done]
Running post-transaction scripts ..................................................................................................[done]
$ osc build --do --nopre --alternative-project devel:libraries:c_c++ openSUSE_Factory x86_64 2>&1|tee bl
Building wasmedge.spec for openSUSE_Factory/x86_64
Running source_service 'format_spec_file' ...
Running source_service 'source_validator' ...
(W) Attention, "bl" is not mentioned in spec files as source or patch.
###ASK /home/ej/obs_nosave/zu/devel/languages/javascript/wasmedge/bl
Using local file: wasmedge.spec
Getting buildconfig from server and store to /home/ej/obs_nosave/zu/devel/languages/javascript/wasmedge/.osc/_buildconfig-openSUSE_Factory-x86_64
Getting buildinfo from server and store to /home/ej/obs_nosave/zu/devel/languages/javascript/wasmedge/.osc/_buildinfo-openSUSE_Factory-x86_64.xml
Updating cache of required packages
0.0% cache miss. 188/188 dependencies cached.
Skipping verification of package signatures due to secure VM build
Writing build configuration
Running build
VM_ROOT: /var/tmp/build-root-ej/openSUSE_Factory-x86_64/img, VM_SWAP: /var/tmp/build-root-ej/openSUSE_Factory-x86_64/swap
Creating /var/tmp/build-root-ej/openSUSE_Factory-x86_64/swap (1024M)
Using mkfs copyin mode to populate the root filesystem
Creating /var/tmp/build-root-ej/openSUSE_Factory-x86_64/img (4096M)
logging output to /var/tmp/build-root-ej/openSUSE_Factory-x86_64/.build.log...
[ 0s] Using BUILD_ROOT=/var/tmp/build-root-ej/openSUSE_Factory-x86_64/.mount
[ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386
[ 0s] Doing kvm build in /var/tmp/build-root-ej/openSUSE_Factory-x86_64/img
…
So I think build.rpm needs a dependency on e2fsprogs / mkfs.ext4.
Uh, mkfs does not even have -d (according to
man mkfs
). "copy(-)in" is also a term I would (only) associate with cpio rather than mkfs. But I have a hunch...So I think build.rpm needs a dependency on e2fsprogs / mkfs.ext4.