Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/moby.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-237000-82348/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/moby.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/moby-29.3.1-4.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/moby.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-237000-82348/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/moby.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MuemPE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf moby-docker-v29.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/docker-v29.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd moby-docker-v29.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cli-29.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.19.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/env bash/d' cli-29.3.1/contrib/completion/bash/docker + cp /builddir/build/SOURCES/generate-docs.sh cli-29.3.1/scripts/docs/generate-man.sh + mv cli-29.3.1/LICENSE cli-LICENSE + mv cli-29.3.1/MAINTAINERS cli-MAINTAINERS + mv cli-29.3.1/NOTICE cli-NOTICE + mv cli-29.3.1/README.md cli-README.md + mv cli-29.3.1/CONTRIBUTING.md cli-CONTRIBUTING.md + mv cli-29.3.1/AUTHORS cli-AUTHORS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LOtzoy + umask 022 + cd /builddir/build/BUILD + cd moby-docker-v29.3.1 + mkdir -p /builddir/build/BUILD/moby-docker-v29.3.1 + export GOPATH=/builddir/build/BUILD/moby-docker-v29.3.1/.gopath + GOPATH=/builddir/build/BUILD/moby-docker-v29.3.1/.gopath + mkdir -p /builddir/build/BUILD/moby-docker-v29.3.1/.gopath/src/github.com/moby/moby + ln -sfn /builddir/build/BUILD/moby-docker-v29.3.1 /builddir/build/BUILD/moby-docker-v29.3.1/.gopath/src/github.com/moby/moby/v2 + export GO111MODULE=off + GO111MODULE=off + go build -o /builddir/build/BUILD/moby-docker-v29.3.1/docker-proxy github.com/moby/moby/v2/cmd/docker-proxy + pushd tini-0.19.0 ~/build/BUILD/moby-docker-v29.3.1/tini-0.19.0 ~/build/BUILD/moby-docker-v29.3.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B x86_64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done fatal: not a git repository: '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/.git' fatal: not a git repository: '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/.git' -- Performing Test HAS_BUILTIN_FORTIFY -- Performing Test HAS_BUILTIN_FORTIFY - Success -- Configuring done (0.3s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu + make tini-static -C x86_64-OpenCloudOS-linux-gnu make: Entering directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' /usr/bin/cmake -S/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0 -B/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 tini-static make[1]: Entering directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' /usr/bin/cmake -S/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0 -B/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu/CMakeFiles 2 make -f CMakeFiles/Makefile2 CMakeFiles/tini-static.dir/all make[2]: Entering directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' make -f CMakeFiles/tini-static.dir/build.make CMakeFiles/tini-static.dir/depend make[3]: Entering directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0 /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0 /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu/CMakeFiles/tini-static.dir/DependInfo.cmake --color= make[3]: Leaving directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' make -f CMakeFiles/tini-static.dir/build.make CMakeFiles/tini-static.dir/build make[3]: Entering directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' [ 50%] Building C object CMakeFiles/tini-static.dir/src/tini.c.o /usr/bin/gcc -I/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -Werror -Wextra -Wall -pedantic-errors -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -MD -MT CMakeFiles/tini-static.dir/src/tini.c.o -MF CMakeFiles/tini-static.dir/src/tini.c.o.d -o CMakeFiles/tini-static.dir/src/tini.c.o -c /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/src/tini.c [100%] Linking C executable tini-static /usr/bin/cmake -E cmake_link_script CMakeFiles/tini-static.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -Werror -Wextra -Wall -pedantic-errors -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-s -rdynamic -Wl,--no-export-dynamic -static "CMakeFiles/tini-static.dir/src/tini.c.o" -o tini-static make[3]: Leaving directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' [100%] Built target tini-static make[2]: Leaving directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu/CMakeFiles 0 make[1]: Leaving directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' make: Leaving directory '/builddir/build/BUILD/moby-docker-v29.3.1/tini-0.19.0/x86_64-OpenCloudOS-linux-gnu' + popd ~/build/BUILD/moby-docker-v29.3.1 + export GOPATH=/builddir/build/BUILD/moby-docker-v29.3.1/.gopath + GOPATH=/builddir/build/BUILD/moby-docker-v29.3.1/.gopath + mkdir -p /builddir/build/BUILD/moby-docker-v29.3.1/.gopath/src/github.com/moby/moby + ln -sfn /builddir/build/BUILD/moby-docker-v29.3.1 /builddir/build/BUILD/moby-docker-v29.3.1/.gopath/src/github.com/moby/moby/v2 + export LDFLAGS=-w + LDFLAGS=-w + export 'LDFLAGS+= -X github.com/moby/moby/v2/dockerversion.Version=29.3.1' + LDFLAGS+=' -X github.com/moby/moby/v2/dockerversion.Version=29.3.1' + export 'LDFLAGS+= -X github.com/moby/moby/v2/dockerversion.GitCommit=0e2cb5ad' + LDFLAGS+=' -X github.com/moby/moby/v2/dockerversion.GitCommit=0e2cb5ad' ++ date -u +%Y-%m-%dT%H:%M:%SZ + export 'LDFLAGS+= -X github.com/moby/moby/v2/dockerversion.BuildTime=2026-04-02T16:28:15Z' + LDFLAGS+=' -X github.com/moby/moby/v2/dockerversion.BuildTime=2026-04-02T16:28:15Z' + export 'LDFLAGS+= -X github.com/moby/moby/v2/dockerversion.IAmStatic=false' + LDFLAGS+=' -X github.com/moby/moby/v2/dockerversion.IAmStatic=false' + export 'DOCKER_BUILDTAGS=seccomp selinux journald' + DOCKER_BUILDTAGS='seccomp selinux journald' + export 'BUILDTAGS=seccomp selinux journald' + BUILDTAGS='seccomp selinux journald' + export 'GOBUILDTAGS=seccomp selinux journald' + GOBUILDTAGS='seccomp selinux journald' + export GO111MODULE=off + GO111MODULE=off + go build -buildmode=pie -tags 'seccomp selinux journald' -ldflags '-w -X github.com/moby/moby/v2/dockerversion.Version=29.3.1 -X github.com/moby/moby/v2/dockerversion.GitCommit=0e2cb5ad -X github.com/moby/moby/v2/dockerversion.BuildTime=2026-04-02T16:28:15Z -X github.com/moby/moby/v2/dockerversion.IAmStatic=false' -o /builddir/build/BUILD/moby-docker-v29.3.1/dockerd github.com/moby/moby/v2/cmd/dockerd # github.com/moby/moby/v2/daemon/internal/stream .gopath/src/github.com/moby/moby/v2/daemon/internal/stream/streams.go:129:8: c.wg.Go undefined (type "sync".WaitGroup has no field or method Go) # github.com/moby/moby/v2/vendor/github.com/moby/buildkit/util/cachedigest .gopath/src/github.com/moby/moby/v2/vendor/github.com/moby/buildkit/util/cachedigest/db.go:71:7: d.wg.Go undefined (type "sync".WaitGroup has no field or method Go) # github.com/moby/moby/v2/daemon/libnetwork/internal/nftables # [pkg-config --cflags -- libnftables] Package libnftables was not found in the pkg-config search path. Perhaps you should add the directory containing `libnftables.pc' to the PKG_CONFIG_PATH environment variable Package 'libnftables', required by 'virtual:world', not found # github.com/moby/moby/v2/vendor/github.com/moby/policy-helpers/roots .gopath/src/github.com/moby/moby/v2/vendor/github.com/moby/policy-helpers/roots/roots.go:270:20: cache.MkdirAll undefined (type *os.Root has no field or method MkdirAll) .gopath/src/github.com/moby/moby/v2/vendor/github.com/moby/policy-helpers/roots/roots.go:273:20: cache.WriteFile undefined (type *os.Root has no field or method WriteFile) .gopath/src/github.com/moby/moby/v2/vendor/github.com/moby/policy-helpers/roots/roots.go:286:23: cache.ReadFile undefined (type *os.Root has no field or method ReadFile) .gopath/src/github.com/moby/moby/v2/vendor/github.com/moby/policy-helpers/roots/roots.go:300:22: cache.ReadFile undefined (type *os.Root has no field or method ReadFile) .gopath/src/github.com/moby/moby/v2/vendor/github.com/moby/policy-helpers/roots/roots.go:322:16: dest.MkdirAll undefined (type *os.Root has no field or method MkdirAll) .gopath/src/github.com/moby/moby/v2/vendor/github.com/moby/policy-helpers/roots/roots.go:330:18: dest.MkdirAll undefined (type *os.Root has no field or method MkdirAll) # github.com/moby/moby/v2/daemon/internal/metrics .gopath/src/github.com/moby/moby/v2/daemon/internal/metrics/plugin_unix.go:84:6: wg.Go undefined (type "sync".WaitGroup has no field or method Go) error: Bad exit status from /var/tmp/rpm-tmp.LOtzoy (%build) Bad exit status from /var/tmp/rpm-tmp.LOtzoy (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/moby.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/moby.spec