Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/keentuned.spec'], chrootPath='/var/lib/mock/dist-an23-build-330196-69396/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/keentuned.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 error: %changelog not in descending chronological order Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1700524800 Wrote: /builddir/build/SRPMS/keentuned-2.1.0-4.an23.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/keentuned.spec'], chrootPath='/var/lib/mock/dist-an23-build-330196-69396/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/keentuned.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 error: %changelog not in descending chronological order Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1700524800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aWQebY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keentuned-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/keentuned-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd keentuned-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V3ZD2Q + umask 022 + cd /builddir/build/BUILD + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + cd keentuned-2.1.0 + /usr/bin/make -O -j80 V=1 VERBOSE=1 cd cli && go build -mod=vendor -v -ldflags '-s -w -extldflags "-static" -extldflags "-zrelro" -extldflags "-znow" -extldflags "-ftrapv" -linkmode=external' -o ../pkg/keentune crypto/internal/alias internal/itoa golang.org/x/sys/internal/unsafeheader container/list unicode runtime/internal/math runtime/internal/sys unicode/utf8 math/bits internal/cpu internal/abi runtime/internal/syscall crypto/internal/boring/sig crypto/subtle sync/atomic runtime/internal/atomic internal/bytealg math runtime internal/reflectlite sync internal/godebug runtime/cgo internal/intern math/rand internal/oserror internal/safefilepath sort io path vendor/golang.org/x/net/dns/dnsmessage strconv crypto/internal/nistec/fiat syscall hash bytes crypto/internal/randutil strings hash/crc32 vendor/golang.org/x/text/transform crypto crypto/rc4 net/netip reflect bufio regexp/syntax html internal/syscall/execenv internal/syscall/unix time regexp context io/fs internal/poll embed internal/fmtsort internal/saferio encoding/binary os encoding/base64 crypto/md5 vendor/golang.org/x/crypto/internal/poly1305 crypto/internal/edwards25519/field crypto/cipher crypto/internal/nistec golang.org/x/sys/unix encoding/pem crypto/internal/edwards25519 crypto/des vendor/golang.org/x/crypto/chacha20 crypto/internal/boring path/filepath fmt vendor/golang.org/x/sys/cpu net vendor/golang.org/x/crypto/hkdf crypto/sha256 crypto/sha512 crypto/aes crypto/sha1 vendor/golang.org/x/crypto/chacha20poly1305 os/exec crypto/ecdh encoding/csv flag github.com/pkg/errors log encoding/hex mime/quotedprintable compress/flate vendor/golang.org/x/net/http2/hpack net/url go/token text/template/parse encoding/json mime net/http/internal github.com/go-ini/ini encoding/gob vendor/golang.org/x/text/unicode/norm math/big github.com/lestrrat-go/strftime vendor/golang.org/x/text/unicode/bidi github.com/lestrrat-go/file-rotatelogs vendor/golang.org/x/text/secure/bidirule keentune/daemon/common/file text/template vendor/golang.org/x/net/idna github.com/sirupsen/logrus crypto/internal/boring/bbig crypto/dsa crypto/rand crypto/internal/bigmod crypto/elliptic encoding/asn1 crypto/ed25519 crypto/rsa html/template crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa vendor/golang.org/x/net/http/httpproxy keentune/daemon/common/utils net/textproto crypto/x509 github.com/spf13/pflag keentune/daemon/common/config vendor/golang.org/x/net/http/httpguts mime/multipart keentune/daemon/common/log crypto/tls github.com/spf13/cobra net/http/httptrace net/http keentune/daemon/common/utils/http net/rpc keentune/daemon/modules keentune/cli cd daemon && go build -mod=vendor -v -ldflags '-s -w -extldflags "-static" -extldflags "-zrelro" -extldflags "-znow" -extldflags "-ftrapv" -linkmode=external' -o ../pkg/keentuned internal/goarch internal/coverage/rtcov internal/unsafeheader unicode/utf8 math/bits vendor/golang.org/x/crypto/internal/alias internal/nettrace internal/goexperiment github.com/lestrrat-go/file-rotatelogs/internal/option internal/race unicode/utf16 internal/itoa encoding internal/goos vendor/golang.org/x/crypto/cryptobyte/asn1 crypto/internal/alias unicode golang.org/x/sys/internal/unsafeheader runtime/internal/syscall runtime/internal/atomic crypto/subtle container/list internal/cpu crypto/internal/boring/sig sync/atomic runtime/internal/math internal/abi runtime/internal/sys internal/bytealg math runtime internal/reflectlite sync internal/testlog internal/godebug internal/singleflight runtime/cgo internal/intern math/rand errors sort internal/oserror path internal/safefilepath io vendor/golang.org/x/net/dns/dnsmessage strconv crypto/internal/nistec/fiat syscall hash crypto/internal/randutil bytes strings hash/crc32 vendor/golang.org/x/text/transform crypto crypto/rc4 net/netip reflect net/http/internal/ascii bufio html regexp/syntax internal/syscall/execenv internal/syscall/unix time regexp context io/fs internal/poll embed os internal/fmtsort internal/saferio encoding/binary encoding/base64 crypto/md5 vendor/golang.org/x/crypto/internal/poly1305 crypto/cipher crypto/internal/edwards25519/field crypto/internal/nistec golang.org/x/sys/unix encoding/pem io/ioutil os/signal path/filepath fmt net crypto/des crypto/internal/boring vendor/golang.org/x/crypto/chacha20 crypto/internal/edwards25519 vendor/golang.org/x/sys/cpu crypto/hmac crypto/sha1 crypto/sha256 crypto/aes crypto/sha512 vendor/golang.org/x/crypto/hkdf os/exec vendor/golang.org/x/crypto/chacha20poly1305 crypto/ecdh encoding/hex log encoding/csv net/http/internal mime/quotedprintable net/url github.com/pkg/errors mime go/token vendor/golang.org/x/net/http2/hpack text/template/parse compress/flate github.com/go-ini/ini encoding/json encoding/gob vendor/golang.org/x/text/unicode/norm gopkg.in/yaml.v3 math/big github.com/lestrrat-go/strftime/internal/errors github.com/lestrrat-go/strftime vendor/golang.org/x/text/unicode/bidi github.com/lestrrat-go/file-rotatelogs compress/gzip vendor/golang.org/x/text/secure/bidirule text/template keentune/daemon/common/file vendor/golang.org/x/net/idna github.com/sirupsen/logrus crypto/internal/boring/bbig crypto/dsa crypto/internal/bigmod crypto/rand crypto/elliptic encoding/asn1 crypto/ed25519 crypto/rsa html/template crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa vendor/golang.org/x/net/http/httpproxy keentune/daemon/common/utils net/textproto crypto/x509 keentune/daemon/common/config vendor/golang.org/x/net/http/httpguts mime/multipart keentune/daemon/common/log crypto/tls net/http/httptrace net/http keentune/daemon/common/utils/http net/rpc keentune/daemon/modules keentune/daemon/api/common keentune/daemon/api/sensitize keentune/daemon/api/param keentune/daemon/api/profile keentune/daemon/api/system keentune/daemon + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XcC2Ms + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + cd keentuned-2.1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64 'INSTALL=/usr/bin/install -p' BEGIN INSTALL keentuned mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/keentuned/ mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/keentuned/conf/ mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/lib/systemd/system mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man5/ mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man7/ mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man8/ mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/bash-completion/completions/ install -m 0755 pkg/keentune /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/bin install -m 0755 pkg/keentuned /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/bin cp -rf daemon/examples/* /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/keentuned sed -i "0,/\(^LOGFILE_LEVEL\\s*\)=.*/s//\1= INFO/" keentuned.conf install -m 0644 keentuned.conf /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/keentuned/conf/ install -m 0644 keentuned.service /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/lib/systemd/system install -D -m 0644 man/keentune.8 /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man8/keentune.8 install -D -m 0644 man/keentuned.8 /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man8/keentuned.8 install -D -m 0644 man/keentuned.conf.5 /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man5/keentuned.conf.5 install -D -m 0644 man/keentune-benchmark.7 /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man7/keentune-benchmark.7 install -D -m 0644 man/keentune-profile.7 /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man7/keentune-profile.7 install -D -m 0644 man/keentune-detect.7 /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/man/man7/keentune-detect.7 install -D -m 0755 keentune.bash /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/bash-completion/completions/ END INSTALL keentuned + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs *** WARNING: ./usr/share/bash-completion/completions/keentune.bash is executable but has no shebang, removing executable bit + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: keentuned-2.1.0-4.an23.x86_64 error: File not found: /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/conf/keentuned.conf error: Directory not found: /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/conf Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oSjyH5 + umask 022 + cd /builddir/build/BUILD + cd keentuned-2.1.0 + DOCDIR=/builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/doc/keentuned + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/doc/keentuned + cp -pr README.md /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/doc/keentuned + cp -pr docs/QuickStart_cn.md docs/UserGuide.md docs/assist docs/design docs/how-to docs/install /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/doc/keentuned + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.D3cpGZ + umask 022 + cd /builddir/build/BUILD + cd keentuned-2.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/licenses/keentuned + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/licenses/keentuned + cp -pr LICENSE /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/usr/share/licenses/keentuned + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: %changelog not in descending chronological order File not found: /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/conf/keentuned.conf Directory not found: /builddir/build/BUILDROOT/keentuned-2.1.0-4.an23.x86_64/etc/keentune/conf 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/keentuned.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 598, 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/keentuned.spec