Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.spec'], chrootPath='/var/lib/mock/f40-build-737076-106705/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1660089600 Wrote: /builddir/build/SRPMS/golang-github-prometheus-2.32.1-9.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.spec'], chrootPath='/var/lib/mock/f40-build-737076-106705/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1660089600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.68t4Kj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prometheus-2.32.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prometheus-2.32.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prometheus-2.32.1 + rm -rf /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/prometheus-2.32.1/vendor + [[ ! -e /builddir/build/BUILD/prometheus-2.32.1/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/prometheus-2.32.1/_build/bin install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build' install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/bin' + export GOPATH=/builddir/build/BUILD/prometheus-2.32.1/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/prometheus-2.32.1/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus ]] ++ dirname /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus + install -m 0755 -vd /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/src' install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com' install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus' + ln -fs /builddir/build/BUILD/prometheus-2.32.1 /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus + cd /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus + cd /builddir/build/BUILD + cd prometheus-2.32.1 + rm -rf /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/web-ui-2.32.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find . -iname '*.go' -type f + sed -i 's|klog "k8s.io/klog"|klog "github.com/simonpasquier/klog-gokit"|' ./documentation/examples/custom-sd/adapter/adapter.go ./documentation/examples/custom-sd/adapter/adapter_test.go ./documentation/examples/custom-sd/adapter-usage/main.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/main.go ./documentation/examples/remote_storage/example_write_adapter/server.go ./scripts/tools.go ./rules/alerting.go ./rules/alerting_test.go ./rules/manager.go ./rules/recording_test.go ./rules/manager_test.go ./rules/recording.go ./template/template_test.go ./template/template.go ./tsdb/mocks_test.go ./tsdb/head_append.go ./tsdb/head_read.go ./tsdb/querier.go ./tsdb/goversion/goversion_test.go ./tsdb/goversion/goversion.go ./tsdb/goversion/init.go ./tsdb/querier_bench_test.go ./tsdb/blockwriter_test.go ./tsdb/record/record.go ./tsdb/record/record_test.go ./tsdb/encoding/encoding.go ./tsdb/querier_test.go ./tsdb/repair.go ./tsdb/exemplar.go ./tsdb/head.go ./tsdb/chunkenc/xor.go ./tsdb/chunkenc/chunk_test.go ./tsdb/chunkenc/chunk.go ./tsdb/chunkenc/bstream_test.go ./tsdb/chunkenc/bstream.go ./tsdb/exemplar_test.go ./tsdb/tsdbblockutil.go ./tsdb/head_test.go ./tsdb/compact.go ./tsdb/example_test.go ./tsdb/db.go ./tsdb/index/postings_test.go ./tsdb/index/postingsstats.go ./tsdb/index/postingsstats_test.go ./tsdb/index/index_test.go ./tsdb/index/postings.go ./tsdb/index/index.go ./tsdb/fileutil/flock.go ./tsdb/fileutil/mmap_windows.go ./tsdb/fileutil/fileutil.go ./tsdb/fileutil/flock_unix.go ./tsdb/fileutil/mmap_amd64.go ./tsdb/fileutil/dir_windows.go ./tsdb/fileutil/mmap_unix.go ./tsdb/fileutil/mmap.go ./tsdb/fileutil/flock_solaris.go ./tsdb/fileutil/flock_test.go ./tsdb/fileutil/flock_windows.go ./tsdb/fileutil/preallocate.go ./tsdb/fileutil/mmap_arm64.go ./tsdb/fileutil/preallocate_linux.go ./tsdb/fileutil/dir.go ./tsdb/fileutil/sync.go ./tsdb/fileutil/sync_linux.go ./tsdb/fileutil/dir_unix.go ./tsdb/fileutil/preallocate_darwin.go ./tsdb/fileutil/preallocate_other.go ./tsdb/fileutil/mmap_386.go ./tsdb/fileutil/flock_plan9.go ./tsdb/fileutil/sync_darwin.go ./tsdb/block.go ./tsdb/head_bench_test.go ./tsdb/tombstones/tombstones_test.go ./tsdb/tombstones/tombstones.go ./tsdb/agent/series.go ./tsdb/agent/db.go ./tsdb/agent/db_test.go ./tsdb/test/conv_test.go ./tsdb/test/labels_test.go ./tsdb/test/hash_test.go ./tsdb/repair_test.go ./tsdb/blockwriter.go ./tsdb/chunks/head_chunks_test.go ./tsdb/chunks/head_chunks_windows.go ./tsdb/chunks/head_chunks_other.go ./tsdb/chunks/chunks_test.go ./tsdb/chunks/head_chunks.go ./tsdb/chunks/chunks.go ./tsdb/isolation.go ./tsdb/head_wal.go ./tsdb/wal.go ./tsdb/isolation_test.go ./tsdb/block_test.go ./tsdb/db_test.go ./tsdb/tsdbutil/dir_locker_testutil.go ./tsdb/tsdbutil/buffer.go ./tsdb/tsdbutil/dir_locker.go ./tsdb/tsdbutil/buffer_test.go ./tsdb/tsdbutil/dir_locker_test.go ./tsdb/tsdbutil/chunks.go ./tsdb/wal_test.go ./tsdb/errors/errors.go ./tsdb/wal/reader.go ./tsdb/wal/watcher.go ./tsdb/wal/checkpoint_test.go ./tsdb/wal/reader_test.go ./tsdb/wal/checkpoint.go ./tsdb/wal/watcher_test.go ./tsdb/wal/wal.go ./tsdb/wal/wal_test.go ./tsdb/wal/live_reader.go ./tsdb/compact_test.go ./discovery/legacymanager/manager.go ./discovery/legacymanager/manager_test.go ./discovery/legacymanager/registry.go ./discovery/dns/dns_test.go ./discovery/dns/dns.go ./discovery/gce/gce.go ./discovery/consul/consul.go ./discovery/consul/consul_test.go ./discovery/targetgroup/targetgroup_test.go ./discovery/targetgroup/targetgroup.go ./discovery/eureka/eureka_test.go ./discovery/eureka/client.go ./discovery/eureka/eureka.go ./discovery/eureka/client_test.go ./discovery/manager.go ./discovery/digitalocean/digitalocean.go ./discovery/digitalocean/mock_test.go ./discovery/digitalocean/digitalocean_test.go ./discovery/aws/ec2.go ./discovery/aws/lightsail.go ./discovery/linode/linode.go ./discovery/linode/mock_test.go ./discovery/linode/linode_test.go ./discovery/kubernetes/ingress_adaptor.go ./discovery/kubernetes/ingress_test.go ./discovery/kubernetes/pod.go ./discovery/kubernetes/endpoints.go ./discovery/kubernetes/node_test.go ./discovery/kubernetes/ingress.go ./discovery/kubernetes/endpointslice.go ./discovery/kubernetes/service_test.go ./discovery/kubernetes/node.go ./discovery/kubernetes/pod_test.go ./discovery/kubernetes/service.go ./discovery/kubernetes/kubernetes.go ./discovery/kubernetes/client_metrics.go ./discovery/kubernetes/kubernetes_test.go ./discovery/kubernetes/endpointslice_test.go ./discovery/kubernetes/endpoints_test.go ./discovery/xds/kuma_test.go ./discovery/xds/kuma.go ./discovery/xds/kuma_mads.pb.go ./discovery/xds/client.go ./discovery/xds/client_test.go ./discovery/xds/xds.go ./discovery/xds/xds_test.go ./discovery/file/file_test.go ./discovery/file/file.go ./discovery/install/install.go ./discovery/manager_test.go ./discovery/refresh/refresh.go ./discovery/refresh/refresh_test.go ./discovery/registry.go ./discovery/uyuni/uyuni_test.go ./discovery/uyuni/uyuni.go ./discovery/triton/triton.go ./discovery/triton/triton_test.go ./discovery/http/http.go ./discovery/http/http_test.go ./discovery/hetzner/hcloud_test.go ./discovery/hetzner/hetzner.go ./discovery/hetzner/robot.go ./discovery/hetzner/hcloud.go ./discovery/hetzner/mock_test.go ./discovery/hetzner/robot_test.go ./discovery/openstack/instance.go ./discovery/openstack/hypervisor.go ./discovery/openstack/hypervisor_test.go ./discovery/openstack/mock_test.go ./discovery/openstack/openstack.go ./discovery/openstack/instance_test.go ./discovery/azure/azure.go ./discovery/azure/azure_test.go ./discovery/zookeeper/zookeeper.go ./discovery/zookeeper/zookeeper_test.go ./discovery/discovery.go ./discovery/moby/nodes_test.go ./discovery/moby/docker.go ./discovery/moby/services.go ./discovery/moby/mock_test.go ./discovery/moby/docker_test.go ./discovery/moby/tasks_test.go ./discovery/moby/services_test.go ./discovery/moby/dockerswarm.go ./discovery/moby/tasks.go ./discovery/moby/network.go ./discovery/moby/nodes.go ./discovery/puppetdb/puppetdb_test.go ./discovery/puppetdb/resources.go ./discovery/puppetdb/puppetdb.go ./discovery/scaleway/baremetal.go ./discovery/scaleway/instance.go ./discovery/scaleway/scaleway.go ./discovery/scaleway/instance_test.go ./discovery/marathon/marathon_test.go ./discovery/marathon/marathon.go ./util/stats/query_stats.go ./util/stats/timer.go ./util/stats/stats_test.go ./util/runtime/uname_default.go ./util/runtime/statfs_uint32.go ./util/runtime/statfs_linux_386.go ./util/runtime/statfs_default.go ./util/runtime/limits_default.go ./util/runtime/vmlimits_default.go ./util/runtime/limits_windows.go ./util/runtime/uname_linux.go ./util/runtime/vmlimits_openbsd.go ./util/runtime/statfs.go ./util/treecache/treecache.go ./util/gate/gate.go ./util/osutil/hostname.go ./util/strutil/quote.go ./util/strutil/strconv_test.go ./util/strutil/strconv.go ./util/strutil/quote_test.go ./util/teststorage/storage.go ./util/logging/dedupe.go ./util/logging/ratelimit.go ./util/logging/file_test.go ./util/logging/file.go ./util/logging/dedupe_test.go ./util/modtimevfs/modtimevfs.go ./util/httputil/compression_test.go ./util/httputil/cors_test.go ./util/httputil/compression.go ./util/httputil/context.go ./util/httputil/cors.go ./util/pool/pool.go ./util/pool/pool_test.go ./util/testutil/roundtrip.go ./util/testutil/testing.go ./util/testutil/port.go ./util/testutil/directory.go ./util/testutil/logging.go ./util/testutil/context.go ./web/federate_test.go ./web/federate.go ./web/ui/assets_generate.go ./web/ui/ui.go ./web/ui/assets_vfsdata.go ./web/ui/doc.go ./web/api/v1/api.go ./web/api/v1/api_test.go ./web/web_test.go ./web/web.go ./prompb/remote.pb.go ./prompb/custom.go ./prompb/types.pb.go ./config/config.go ./config/config_windows_test.go ./config/config_test.go ./config/config_default_test.go ./scrape/scrape.go ./scrape/scrape_test.go ./scrape/target.go ./scrape/manager.go ./scrape/manager_test.go ./scrape/target_test.go ./scrape/helpers_test.go ./notifier/notifier.go ./notifier/notifier_test.go ./cmd/promtool/backfill.go ./cmd/promtool/archive.go ./cmd/promtool/tsdb.go ./cmd/promtool/main.go ./cmd/promtool/backfill_test.go ./cmd/promtool/unittest.go ./cmd/promtool/unittest_test.go ./cmd/promtool/sd_test.go ./cmd/promtool/rules.go ./cmd/promtool/debug.go ./cmd/promtool/sd.go ./cmd/promtool/rules_test.go ./cmd/promtool/main_test.go ./cmd/prometheus/main.go ./cmd/prometheus/main_unix_test.go ./cmd/prometheus/query_log_test.go ./cmd/prometheus/main_test.go ./model/rulefmt/rulefmt_test.go ./model/rulefmt/rulefmt.go ./model/value/value.go ./model/textparse/promlex.l.go ./model/textparse/interface.go ./model/textparse/promparse_test.go ./model/textparse/openmetricsparse_test.go ./model/textparse/openmetricsparse.go ./model/textparse/promparse.go ./model/textparse/openmetricslex.l.go ./model/labels/labels.go ./model/labels/matcher_test.go ./model/labels/test_utils.go ./model/labels/matcher.go ./model/labels/regexp_test.go ./model/labels/regexp.go ./model/labels/labels_test.go ./model/timestamp/timestamp.go ./model/exemplar/exemplar.go ./model/relabel/relabel.go ./model/relabel/relabel_test.go ./promql/promql_test.go ./promql/value.go ./promql/query_logger_test.go ./promql/engine_test.go ./promql/fuzz.go ./promql/bench_test.go ./promql/functions.go ./promql/query_logger.go ./promql/engine.go ./promql/quantile.go ./promql/test.go ./promql/test_test.go ./promql/functions_test.go ./promql/parser/ast.go ./promql/parser/value.go ./promql/parser/lex_test.go ./promql/parser/printer_test.go ./promql/parser/functions.go ./promql/parser/parse_test.go ./promql/parser/printer.go ./promql/parser/lex.go ./promql/parser/generated_parser.y.go ./promql/parser/parse.go ./storage/remote/queue_manager.go ./storage/remote/max_timestamp.go ./storage/remote/metadata_watcher_test.go ./storage/remote/chunked.go ./storage/remote/read_test.go ./storage/remote/read.go ./storage/remote/metadata_watcher.go ./storage/remote/write_handler.go ./storage/remote/intern_test.go ./storage/remote/codec.go ./storage/remote/client.go ./storage/remote/storage_test.go ./storage/remote/ewma.go ./storage/remote/read_handler.go ./storage/remote/write_test.go ./storage/remote/codec_test.go ./storage/remote/read_handler_test.go ./storage/remote/write.go ./storage/remote/intern.go ./storage/remote/client_test.go ./storage/remote/queue_manager_test.go ./storage/remote/storage.go ./storage/remote/write_handler_test.go ./storage/remote/chunked_test.go ./storage/lazy.go ./storage/series.go ./storage/memoized_iterator.go ./storage/secondary.go ./storage/interface.go ./storage/generic.go ./storage/fanout_test.go ./storage/buffer.go ./storage/noop.go ./storage/buffer_test.go ./storage/series_test.go ./storage/memoized_iterator_test.go ./storage/fanout.go ./storage/merge.go ./storage/merge_test.go ++ find . -iname '*.go' -type f + sed -i 's|klogv2 "k8s.io/klog/v2"|klogv2 "github.com/simonpasquier/klog-gokit/v2"|' ./documentation/examples/custom-sd/adapter/adapter.go ./documentation/examples/custom-sd/adapter/adapter_test.go ./documentation/examples/custom-sd/adapter-usage/main.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/main.go ./documentation/examples/remote_storage/example_write_adapter/server.go ./scripts/tools.go ./rules/alerting.go ./rules/alerting_test.go ./rules/manager.go ./rules/recording_test.go ./rules/manager_test.go ./rules/recording.go ./template/template_test.go ./template/template.go ./tsdb/mocks_test.go ./tsdb/head_append.go ./tsdb/head_read.go ./tsdb/querier.go ./tsdb/goversion/goversion_test.go ./tsdb/goversion/goversion.go ./tsdb/goversion/init.go ./tsdb/querier_bench_test.go ./tsdb/blockwriter_test.go ./tsdb/record/record.go ./tsdb/record/record_test.go ./tsdb/encoding/encoding.go ./tsdb/querier_test.go ./tsdb/repair.go ./tsdb/exemplar.go ./tsdb/head.go ./tsdb/chunkenc/xor.go ./tsdb/chunkenc/chunk_test.go ./tsdb/chunkenc/chunk.go ./tsdb/chunkenc/bstream_test.go ./tsdb/chunkenc/bstream.go ./tsdb/exemplar_test.go ./tsdb/tsdbblockutil.go ./tsdb/head_test.go ./tsdb/compact.go ./tsdb/example_test.go ./tsdb/db.go ./tsdb/index/postings_test.go ./tsdb/index/postingsstats.go ./tsdb/index/postingsstats_test.go ./tsdb/index/index_test.go ./tsdb/index/postings.go ./tsdb/index/index.go ./tsdb/fileutil/flock.go ./tsdb/fileutil/mmap_windows.go ./tsdb/fileutil/fileutil.go ./tsdb/fileutil/flock_unix.go ./tsdb/fileutil/mmap_amd64.go ./tsdb/fileutil/dir_windows.go ./tsdb/fileutil/mmap_unix.go ./tsdb/fileutil/mmap.go ./tsdb/fileutil/flock_solaris.go ./tsdb/fileutil/flock_test.go ./tsdb/fileutil/flock_windows.go ./tsdb/fileutil/preallocate.go ./tsdb/fileutil/mmap_arm64.go ./tsdb/fileutil/preallocate_linux.go ./tsdb/fileutil/dir.go ./tsdb/fileutil/sync.go ./tsdb/fileutil/sync_linux.go ./tsdb/fileutil/dir_unix.go ./tsdb/fileutil/preallocate_darwin.go ./tsdb/fileutil/preallocate_other.go ./tsdb/fileutil/mmap_386.go ./tsdb/fileutil/flock_plan9.go ./tsdb/fileutil/sync_darwin.go ./tsdb/block.go ./tsdb/head_bench_test.go ./tsdb/tombstones/tombstones_test.go ./tsdb/tombstones/tombstones.go ./tsdb/agent/series.go ./tsdb/agent/db.go ./tsdb/agent/db_test.go ./tsdb/test/conv_test.go ./tsdb/test/labels_test.go ./tsdb/test/hash_test.go ./tsdb/repair_test.go ./tsdb/blockwriter.go ./tsdb/chunks/head_chunks_test.go ./tsdb/chunks/head_chunks_windows.go ./tsdb/chunks/head_chunks_other.go ./tsdb/chunks/chunks_test.go ./tsdb/chunks/head_chunks.go ./tsdb/chunks/chunks.go ./tsdb/isolation.go ./tsdb/head_wal.go ./tsdb/wal.go ./tsdb/isolation_test.go ./tsdb/block_test.go ./tsdb/db_test.go ./tsdb/tsdbutil/dir_locker_testutil.go ./tsdb/tsdbutil/buffer.go ./tsdb/tsdbutil/dir_locker.go ./tsdb/tsdbutil/buffer_test.go ./tsdb/tsdbutil/dir_locker_test.go ./tsdb/tsdbutil/chunks.go ./tsdb/wal_test.go ./tsdb/errors/errors.go ./tsdb/wal/reader.go ./tsdb/wal/watcher.go ./tsdb/wal/checkpoint_test.go ./tsdb/wal/reader_test.go ./tsdb/wal/checkpoint.go ./tsdb/wal/watcher_test.go ./tsdb/wal/wal.go ./tsdb/wal/wal_test.go ./tsdb/wal/live_reader.go ./tsdb/compact_test.go ./discovery/legacymanager/manager.go ./discovery/legacymanager/manager_test.go ./discovery/legacymanager/registry.go ./discovery/dns/dns_test.go ./discovery/dns/dns.go ./discovery/gce/gce.go ./discovery/consul/consul.go ./discovery/consul/consul_test.go ./discovery/targetgroup/targetgroup_test.go ./discovery/targetgroup/targetgroup.go ./discovery/eureka/eureka_test.go ./discovery/eureka/client.go ./discovery/eureka/eureka.go ./discovery/eureka/client_test.go ./discovery/manager.go ./discovery/digitalocean/digitalocean.go ./discovery/digitalocean/mock_test.go ./discovery/digitalocean/digitalocean_test.go ./discovery/aws/ec2.go ./discovery/aws/lightsail.go ./discovery/linode/linode.go ./discovery/linode/mock_test.go ./discovery/linode/linode_test.go ./discovery/kubernetes/ingress_adaptor.go ./discovery/kubernetes/ingress_test.go ./discovery/kubernetes/pod.go ./discovery/kubernetes/endpoints.go ./discovery/kubernetes/node_test.go ./discovery/kubernetes/ingress.go ./discovery/kubernetes/endpointslice.go ./discovery/kubernetes/service_test.go ./discovery/kubernetes/node.go ./discovery/kubernetes/pod_test.go ./discovery/kubernetes/service.go ./discovery/kubernetes/kubernetes.go ./discovery/kubernetes/client_metrics.go ./discovery/kubernetes/kubernetes_test.go ./discovery/kubernetes/endpointslice_test.go ./discovery/kubernetes/endpoints_test.go ./discovery/xds/kuma_test.go ./discovery/xds/kuma.go ./discovery/xds/kuma_mads.pb.go ./discovery/xds/client.go ./discovery/xds/client_test.go ./discovery/xds/xds.go ./discovery/xds/xds_test.go ./discovery/file/file_test.go ./discovery/file/file.go ./discovery/install/install.go ./discovery/manager_test.go ./discovery/refresh/refresh.go ./discovery/refresh/refresh_test.go ./discovery/registry.go ./discovery/uyuni/uyuni_test.go ./discovery/uyuni/uyuni.go ./discovery/triton/triton.go ./discovery/triton/triton_test.go ./discovery/http/http.go ./discovery/http/http_test.go ./discovery/hetzner/hcloud_test.go ./discovery/hetzner/hetzner.go ./discovery/hetzner/robot.go ./discovery/hetzner/hcloud.go ./discovery/hetzner/mock_test.go ./discovery/hetzner/robot_test.go ./discovery/openstack/instance.go ./discovery/openstack/hypervisor.go ./discovery/openstack/hypervisor_test.go ./discovery/openstack/mock_test.go ./discovery/openstack/openstack.go ./discovery/openstack/instance_test.go ./discovery/azure/azure.go ./discovery/azure/azure_test.go ./discovery/zookeeper/zookeeper.go ./discovery/zookeeper/zookeeper_test.go ./discovery/discovery.go ./discovery/moby/nodes_test.go ./discovery/moby/docker.go ./discovery/moby/services.go ./discovery/moby/mock_test.go ./discovery/moby/docker_test.go ./discovery/moby/tasks_test.go ./discovery/moby/services_test.go ./discovery/moby/dockerswarm.go ./discovery/moby/tasks.go ./discovery/moby/network.go ./discovery/moby/nodes.go ./discovery/puppetdb/puppetdb_test.go ./discovery/puppetdb/resources.go ./discovery/puppetdb/puppetdb.go ./discovery/scaleway/baremetal.go ./discovery/scaleway/instance.go ./discovery/scaleway/scaleway.go ./discovery/scaleway/instance_test.go ./discovery/marathon/marathon_test.go ./discovery/marathon/marathon.go ./util/stats/query_stats.go ./util/stats/timer.go ./util/stats/stats_test.go ./util/runtime/uname_default.go ./util/runtime/statfs_uint32.go ./util/runtime/statfs_linux_386.go ./util/runtime/statfs_default.go ./util/runtime/limits_default.go ./util/runtime/vmlimits_default.go ./util/runtime/limits_windows.go ./util/runtime/uname_linux.go ./util/runtime/vmlimits_openbsd.go ./util/runtime/statfs.go ./util/treecache/treecache.go ./util/gate/gate.go ./util/osutil/hostname.go ./util/strutil/quote.go ./util/strutil/strconv_test.go ./util/strutil/strconv.go ./util/strutil/quote_test.go ./util/teststorage/storage.go ./util/logging/dedupe.go ./util/logging/ratelimit.go ./util/logging/file_test.go ./util/logging/file.go ./util/logging/dedupe_test.go ./util/modtimevfs/modtimevfs.go ./util/httputil/compression_test.go ./util/httputil/cors_test.go ./util/httputil/compression.go ./util/httputil/context.go ./util/httputil/cors.go ./util/pool/pool.go ./util/pool/pool_test.go ./util/testutil/roundtrip.go ./util/testutil/testing.go ./util/testutil/port.go ./util/testutil/directory.go ./util/testutil/logging.go ./util/testutil/context.go ./web/federate_test.go ./web/federate.go ./web/ui/assets_generate.go ./web/ui/ui.go ./web/ui/assets_vfsdata.go ./web/ui/doc.go ./web/api/v1/api.go ./web/api/v1/api_test.go ./web/web_test.go ./web/web.go ./prompb/remote.pb.go ./prompb/custom.go ./prompb/types.pb.go ./config/config.go ./config/config_windows_test.go ./config/config_test.go ./config/config_default_test.go ./scrape/scrape.go ./scrape/scrape_test.go ./scrape/target.go ./scrape/manager.go ./scrape/manager_test.go ./scrape/target_test.go ./scrape/helpers_test.go ./notifier/notifier.go ./notifier/notifier_test.go ./cmd/promtool/backfill.go ./cmd/promtool/archive.go ./cmd/promtool/tsdb.go ./cmd/promtool/main.go ./cmd/promtool/backfill_test.go ./cmd/promtool/unittest.go ./cmd/promtool/unittest_test.go ./cmd/promtool/sd_test.go ./cmd/promtool/rules.go ./cmd/promtool/debug.go ./cmd/promtool/sd.go ./cmd/promtool/rules_test.go ./cmd/promtool/main_test.go ./cmd/prometheus/main.go ./cmd/prometheus/main_unix_test.go ./cmd/prometheus/query_log_test.go ./cmd/prometheus/main_test.go ./model/rulefmt/rulefmt_test.go ./model/rulefmt/rulefmt.go ./model/value/value.go ./model/textparse/promlex.l.go ./model/textparse/interface.go ./model/textparse/promparse_test.go ./model/textparse/openmetricsparse_test.go ./model/textparse/openmetricsparse.go ./model/textparse/promparse.go ./model/textparse/openmetricslex.l.go ./model/labels/labels.go ./model/labels/matcher_test.go ./model/labels/test_utils.go ./model/labels/matcher.go ./model/labels/regexp_test.go ./model/labels/regexp.go ./model/labels/labels_test.go ./model/timestamp/timestamp.go ./model/exemplar/exemplar.go ./model/relabel/relabel.go ./model/relabel/relabel_test.go ./promql/promql_test.go ./promql/value.go ./promql/query_logger_test.go ./promql/engine_test.go ./promql/fuzz.go ./promql/bench_test.go ./promql/functions.go ./promql/query_logger.go ./promql/engine.go ./promql/quantile.go ./promql/test.go ./promql/test_test.go ./promql/functions_test.go ./promql/parser/ast.go ./promql/parser/value.go ./promql/parser/lex_test.go ./promql/parser/printer_test.go ./promql/parser/functions.go ./promql/parser/parse_test.go ./promql/parser/printer.go ./promql/parser/lex.go ./promql/parser/generated_parser.y.go ./promql/parser/parse.go ./storage/remote/queue_manager.go ./storage/remote/max_timestamp.go ./storage/remote/metadata_watcher_test.go ./storage/remote/chunked.go ./storage/remote/read_test.go ./storage/remote/read.go ./storage/remote/metadata_watcher.go ./storage/remote/write_handler.go ./storage/remote/intern_test.go ./storage/remote/codec.go ./storage/remote/client.go ./storage/remote/storage_test.go ./storage/remote/ewma.go ./storage/remote/read_handler.go ./storage/remote/write_test.go ./storage/remote/codec_test.go ./storage/remote/read_handler_test.go ./storage/remote/write.go ./storage/remote/intern.go ./storage/remote/client_test.go ./storage/remote/queue_manager_test.go ./storage/remote/storage.go ./storage/remote/write_handler_test.go ./storage/remote/chunked_test.go ./storage/lazy.go ./storage/series.go ./storage/memoized_iterator.go ./storage/secondary.go ./storage/interface.go ./storage/generic.go ./storage/fanout_test.go ./storage/buffer.go ./storage/noop.go ./storage/buffer_test.go ./storage/series_test.go ./storage/memoized_iterator_test.go ./storage/fanout.go ./storage/merge.go ./storage/merge_test.go Patch #0 (defaults-paths.patch): + echo 'Patch #0 (defaults-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cmd/prometheus/main.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ybgqq6 + umask 022 + cd /builddir/build/BUILD + cd prometheus-2.32.1 + export 'BUILDTAGS=netgo builtinassets' + BUILDTAGS='netgo builtinassets' ++ date -u -d@1660089600 +%Y%m%d + LDFLAGS='-X github.com/prometheus/common/version.Version=2.32.1 -X github.com/prometheus/common/version.Revision=9.fc40 -X github.com/prometheus/common/version.Branch=tarball -X github.com/prometheus/common/version.BuildDate=20220810' + for cmd in cmd/* ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' ++ basename cmd/prometheus + GOPATH=/builddir/build/BUILD/prometheus-2.32.1/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback netgo builtinassets' -ldflags '-X github.com/prometheus/common/version.Version=2.32.1 -X github.com/prometheus/common/version.Revision=9.fc40 -X github.com/prometheus/common/version.Branch=tarball -X github.com/prometheus/common/version.BuildDate=20220810 -X github.com/prometheus/prometheus/version=2.32.1 -B 0xf384bdd50f118e43a62c8d7ca3a113379fb42314 -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '\''' -a -v -x -o /builddir/build/BUILD/prometheus-2.32.1/_build/bin/prometheus github.com/prometheus/prometheus/cmd/prometheus WORK=/tmp/go-build1936013310 /usr/share/gocode/src/github.com/prometheus/exporter-toolkit/web/landing_page.go:70:13: pattern landing_page.css: no matching files found error: Bad exit status from /var/tmp/rpm-tmp.Ybgqq6 (%build) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.Ybgqq6 (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.spec