Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/smatch.spec'], chrootPath='/var/lib/mock/rhel+epel-8-s390x-1692087383.253050/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1rm5xs6_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1rm5xs6_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '05261e929d6645019481400933554b49', '-D', '/var/lib/mock/rhel+epel-8-s390x-1692087383.253050/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1rm5xs6_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/smatch.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x Wrote: /builddir/build/SRPMS/smatch-1.73-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/smatch.spec'], chrootPath='/var/lib/mock/rhel+epel-8-s390x-1692087383.253050/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1rm5xs6_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1rm5xs6_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fe4b7e0db4cc4aed913f58784debecb8', '-D', '/var/lib/mock/rhel+epel-8-s390x-1692087383.253050/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1rm5xs6_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/smatch.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bFMfS0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smatch-1.73 + /usr/bin/gzip -dc /builddir/build/SOURCES/smatch-1.73.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd smatch-1.73 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/do-not-build-sparse-binaries.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/fix-datadir-path.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/use-distribution-ldflags.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/preserve-install-timestamps.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/add-BSD-3-license.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2PNhVe + umask 022 + cd /builddir/build/BUILD + cd smatch-1.73 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + export 'CFLAGS=-std=gnu99 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-std=gnu99 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + /usr/bin/make -O -j2 PREFIX=/usr touch check_list_local.h CC smatch_about_fn_ptr_arg.o CC avl.o CC smatch_allocations.o CC smatch_address.o CC smatch_annotate.o CC smatch_array_values.o CC smatch_assigned_expr.o CC smatch_bits.o smatch_bits.c: In function 'match_assign': smatch_bits.c:359:15: warning: 'new.possible' may be used uninitialized in this function [-Wmaybe-uninitialized] new.possible &= mask; ^~ smatch_bits.c:358:10: warning: 'new.set' may be used uninitialized in this function [-Wmaybe-uninitialized] new.set &= mask; ^~ CC smatch_buf_comparison2.o CC smatch_buf_comparison.o CC smatch_capped.o CC smatch_buf_size.o CC smatch_common_functions.o CC smatch_conditions.o CC smatch_constraints.o CC smatch_constraints_required.o CC smatch_container_of.o CC smatch_data_source.o CC smatch_comparison.o CC smatch_equiv.o CC smatch_estate.o CC smatch_expressions.o CC smatch_expression_stacks.o CC smatch_db.o CC smatch_files.o CC smatch_extra.o smatch_extra.c:2300:13: warning: 'assume_indexes_are_valid' defined but not used [-Wunused-function] static void assume_indexes_are_valid(struct expression *expr) ^~~~~~~~~~~~~~~~~~~~~~~~ CC smatch_fn_arg_link.o CC smatch_fresh_alloc.o CC smatch_flow.o CC smatch_function_hooks.o CC smatch_function_info.o CC smatch_function_ptrs.o CC smatch_hooks.o CC smatch_ignore.o CC smatch_helper.o CC smatch_imaginary_absolute.o CC smatch_impossible.o CC smatch_integer_overflow.o CC smatch_implied.o CC smatch_kernel_user_data.o smatch_kernel_user_data.c: In function 'set_param_user_data': smatch_kernel_user_data.c:1268:56: warning: comparison between pointer and integer if (param_data_treat_untagged(value) || sym->ctype.as == 5) ^~ CC smatch_links.o CC smatch_kernel_host_data.o CC smatch_mem_tracker.o smatch_mem_tracker.c: In function 'get_mem_kb': smatch_mem_tracker.c:60:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, sizeof(buf), file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC smatch_modification_hooks.o CC smatch_mtag_data.o CC smatch_mtag_map.o CC smatch_math.o CC smatch_mtag.o CC smatch_param_bits_set.o CC smatch_nul_terminator.o CC smatch_param_bits_clear.o CC smatch_param_compare_limit.o CC smatch_param_cleared.o CC smatch_parameter_names.o CC smatch_param_filter.o CC smatch_param_limit.o CC smatch_param_set.o CC smatch_param_key.o CC smatch_param_to_mtag_data.o CC smatch_param_used.o CC smatch_parsed_conditions.o CC smatch_passes_array_size.o CC smatch_points_to_container.o CC smatch_points_to_user_data.o CC smatch_parse_call_math.o CC smatch_points_to_host_data.o CC smatch_power_of_two.o CC smatch_project.o CC smatch_real_absolute.o CC smatch_recurse.o CC smatch_returns.o CC smatch_return_to_param.o CC smatch_ssa.o CC smatch_scope.o CC smatch_slist.o CC smatch_start_states.o CC smatch_statement_count.o CC smatch_ranges.o CC smatch_state_assigned.o CC smatch_stored_conditions.o CC smatch_string_list.o CC smatch_strings.o CC smatch_strlen.o CC smatch_struct_assignment.o CC smatch_states.o CC smatch_tracker.o CC smatch_type_links.o CC smatch_type.o CC smatch_type_val.o CC smatch_sval.o CC smatch_unconstant_macros.o CC smatch_unknown_value.o CC smatch_untracked_var.o CC smatch_untracked_param.o smatch_untracked_param.c: In function 'register_untracked_param': smatch_untracked_param.c:277:45: warning: passing argument 2 of 'select_return_states_hook' from incompatible pointer type [-Wincompatible-pointer-types] select_return_states_hook(UNTRACKED_PARAM, &mark_untracked); ^~~~~~~~~~~~~~~ In file included from smatch_untracked_param.c:34: smatch.h:227:63: note: expected 'void (*)(struct expression *, int, char *, char *)' but argument is of type 'void (*)(struct expression *, int, const char *, const char *)' void select_return_states_hook(int type, return_implies_hook *callback); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ smatch_untracked_param.c:278:40: warning: passing argument 2 of 'select_return_states_hook' from incompatible pointer type [-Wincompatible-pointer-types] select_return_states_hook(LOST_PARAM, &mark_lost); ^~~~~~~~~~ In file included from smatch_untracked_param.c:34: smatch.h:227:63: note: expected 'void (*)(struct expression *, int, char *, char *)' but argument is of type 'void (*)(struct expression *, int, const char *, const char *)' void select_return_states_hook(int type, return_implies_hook *callback); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ CC smatch_var_sym.o CC check_64bit_shift.o CC check_access_ok_math.o CC check_all_func_returns.o CC check_allocating_enough_data.o CC check_allocation_funcs.o CC check_array_condition.o CC check_assign_vs_compare.o CC check_arm64_tagged.o CC check_atomic_inc_dec.o CC check_bit_shift.o CC check_bogus_irqrestore.o CC check_bogus_loop.o CC check_buffer_too_small_for_struct.o CC check_call_tree.o CC check_capable.o CC check_cast_assign.o CC check_check_deref.o CC check_cmn_err.o CC check_container_of.o CC check_checking_for_null_instead_of_err_ptr.o CC check_continue_vs_break.o CC check_deref.o CC check_deref_check.o CC check_dereferences_param.o CC check_dev_queue_xmit.o CC check_dma_mapping_error.o CC check_dma_on_stack.o CC check_do_while_loop_limit.o CC check_double_checking.o CC check_err_ptr.o CC check_debug.o CC check_expects_err_ptr.o CC check_err_ptr_deref.o CC check_free.o CC check_freeing_devm.o CC check_freeing_null.o CC check_free_strict.o CC check_frees_argument.o CC check_frees_param_strict.o CC check_frees_param.o CC check_gfp_dma.o CC check_get_user_overflow.o CC check_ida_alloc.o CC check_implicit_dependencies_tester.o CC check_impossible_mask.o CC check_implicit_dependencies.o CC check_indenting.o CC check_info_leak.o CC check_index_overflow.o CC check_input_free_device.o CC check_iterator_outside_loop.o CC check_kernel.o CC check_kmalloc_to_bugon.o CC check_kmalloc_wrong_size.o CC check_kunmap.o CC check_kvmalloc_NOFS.o CC check_kvmalloc_array_zero.o CC check_leaks.o CC check_list_add.o CC check_kernel_printf.o CC check_locking.o check_locking.c:878:12: warning: 'sm_both_locked_and_unlocked' defined but not used [-Wunused-function] static int sm_both_locked_and_unlocked(struct sm_state *sm) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC check_logical_instead_of_bitwise.o CC check_macro_side_effects.o CC check_macros.o CC check_memcpy_overflow.o CC check_memset.o CC check_missing_error_code.o CC check_min_t.o CC check_mod_timer.o CC check_netdev_priv.o CC check_no_effect.o CC check_no_return.o CC check_no_if_block.o CC check_nospec.o CC check_off_by_one_relative.o CC check_param_mapper.o CC check_or_vs_and.o CC check_platform_device_put.o CC check_passes_sizeof.o CC check_pm_runtime_get_sync.o CC check_pointer_math.o CC check_preempt.o CC check_precedence.o CC check_preempt_info.o CC check_proc_create.o CC check_puts_argument.o CC check_refcount_info.o CC check_refcount_inconsistent_returns.o CC check_release_resource.o CC check_resource_size.o CC check_return.o CC check_return_cast.o CC check_return_efault.o CC check_return_enomem.o CC check_returns_negative_error_code.o CC check_return_negative_var.o CC check_scheduling_in_atomic.o CC check_select.o CC check_rosenberg.o check_rosenberg.c: In function 'check_struct.isra.3': check_rosenberg.c:114:14: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] tmp->ident ? tmp->ident->name : "", ^~ CC check_select_type.o CC check_shift_to_zero.o CC check_signed_integer_overflow_check.o CC check_signed.o CC check_sleep_info.o CC check_snprintf.o CC check_sizeof.o CC check_snprintf_overflow.o CC check_spectre.o CC check_spectre_second_half.o CC check_sprintf_overflow.o CC check_sscanf_return.o CC check_stack.o CC check_strcpy_overflow.o CC check_string_len.o CC check_struct_type.o CC check_syscall_arg_type.o CC check_template.o CC check_test_bit.o CC check_trinity_generator.o CC check_testing_index_after_use.o CC check_type.o CC check_unreachable.o CC check_uninitialized.o CC check_unused_ret.o CC check_wait_for_common.o CC check_unwind.o CC check_wine.o CC check_wine_WtoA.o CC check_wine_filehandles.o CC check_wrong_size_arg.o CC check_zero_to_err_ptr.o CC allocate.o CC char.o CC compat-linux.o CC builtin.o CC cse.o CC dominate.o CC dissect.o CC expand.o CC expression.o CC flow.o CC evaluate.o CC flowgraph.o CC ir.o CC inline.o CC lib.o CC liveness.o CC memops.o CC opcode.o CC optimize.o CC options.o CC linearize.o CC predefine.o CC parse.o CC pre-process.o pre-process.c: In function 'find_include': pre-process.c:980:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(entry->d_name); ^~~~~~~~~~~~~~~~~~~~ pre-process.c:982:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^~~~~~~~~~~ pre-process.c: In function 'search_dir': pre-process.c:1025:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^~~~~~~~~~~ pre-process.c: In function 'init_include_path': pre-process.c:2430:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(os, sizeof(os) - 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pre-process.c: In function 'use_best_guess_header_file': pre-process.c:1067:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(dir_part); ^~~~~~~~~~~~~~~ pre-process.c:1069:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(cwd); ^~~~~~~~~~ pre-process.c: In function 'find_include': pre-process.c:968:35: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s/%s", cwd, entry->d_name); ^~ In file included from /usr/include/stdio.h:873, from pre-process.c:28: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 4352 bytes into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ CC ptrlist.o CC ptrmap.o CC scope.o CC show-parse.o CC sort.o CC ssa.o CC stats.o CC storage.o CC simplify.o CC symbol.o CC target.o CC target-alpha.o CC target-arm.o CC target-arm64.o CC target-bfin.o CC target-default.o CC target-h8300.o CC target-m68k.o CC target-microblaze.o CC target-mips.o CC target-nds32.o CC target-nios2.o CC target-openrisc.o CC target-ppc.o CC target-riscv.o CC target-s390.o CC target-sh.o CC target-sparc.o CC target-x86.o CC target-xtensa.o CC unssa.o CC utils.o CC macro_table.o CC token_store.o CC tokenize.o CC cwchash/hashtable.o GEN version.h CC version.o AR libsparse.a cc -std=gnu99 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D__CHECKNAME__='"smatch"' -c smatch.c -DSMATCHDATADIR='"/usr/share/smatch"' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LfLzD8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x ++ dirname /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x + cd smatch-1.73 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x 'INSTALL=/usr/bin/install -p' PREFIX=/usr INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/bin/smatch INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/mtag_info.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/local_values.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/type_size.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/fn_data_link.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/constraints_required.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/return_states.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/mtag_about.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/return_implies.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/function_type_value.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/db.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/function_ptr.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/function_type.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/param_map.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/function_type_size.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/sink_info.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/call_implies.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/type_info.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/mtag_map.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/mtag_data.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/fn_ptr_data_link.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/caller_info.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/constraints.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/common_caller_info.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/mtag_alias.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/function_type_info.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/parameter_name.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/type_value.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/data_info.schema INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/smatch.common_functions INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.allocation_funcs_gfp INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.allocation_funcs_gfp.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/smatch_generic.common_functions INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignore_casted_params INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.no_inline_functions INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.unreachable.ignore INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.unreachable.turn_off INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.sizeof_param INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignore_memcpy_struct_overflows INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.dma_funcs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.puts_argument INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/wine.ignored_macros INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.no_return_funcs.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignore_bogus_null_checks INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignore_no_effect INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/no_return_funcs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.must_check_funcs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignored_macros INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignore_side_effects INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.unwind_functions INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.frees_argument.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.rosenberg_funcs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.silenced_functions INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/no_return_funcs.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/wine.sizeof_param INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.allocation_funcs.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignored_warnings INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.expects_err_ptr INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignore_macro_indenting INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.allocation_funcs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.parameter_implications.add INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/wine.no_return_funcs.add INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/wine.bit_shifters INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.dev_queue_xmit INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ioctls INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.no_return_funcs.add INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.bit_shifters INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.sizeof_param.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.common_functions INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.skipped_macros INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.unconstant_macros INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.frees_argument INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.returns_err_ptr INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/wine.no_return_funcs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.clears_argument INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.ignore_uninitialized_param INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.bit_shifters.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.macro_takes_sizeof_argument INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.no_return_funcs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.check_string_condition.ignore INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.implicit_dependencies.no_structs INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.returns_err_ptr.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/wine.no_return_funcs.remove INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.gfp_flags INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/kernel.implicit_dependencies.v1 INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/kernel.constraints INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/kernel.constraints_required INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/kernel.delete.return_states INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/kernel.forced_return_splits INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/kernel.insert.return_states INSTALL /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/smatch/smatch_data/db/kernel.return_fixes + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.73-1.el8 --unique-debug-suffix -1.73-1.el8.s390x --unique-debug-src-base smatch-1.73-1.el8.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/smatch-1.73 extracting debug info from /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/bin/smatch /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 5406 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5D1Wof + umask 022 + cd /builddir/build/BUILD + cd smatch-1.73 + echo 'int main(void) { int a; return a; }' + ./smatch test.c + grep 'test.c:1 main() error: uninitialized symbol '\''a'\''.' out test.c:1 main() error: uninitialized symbol 'a'. + exit 0 Processing files: smatch-1.73-1.el8.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1JB65G + umask 022 + cd /builddir/build/BUILD + cd smatch-1.73 + DOCDIR=/builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/doc/smatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/doc/smatch + cp -pr README /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/doc/smatch + cp -pr Documentation/arm64-detecting-tagged-addresses.txt Documentation/smatch.txt /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/doc/smatch + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bMbKB6 + umask 022 + cd /builddir/build/BUILD + cd smatch-1.73 + LICENSEDIR=/builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/licenses/smatch + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/licenses/smatch + cp -pr GPL-2 /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/licenses/smatch + cp -pr LICENSE /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x/usr/share/licenses/smatch + exit 0 Provides: bundled(cwchash) bundled(sparse) smatch = 1.73-1.el8 smatch(s390-64) = 1.73-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libm.so.6()(64bit) libsqlite3.so.0()(64bit) libssl.so.1.1()(64bit) rtld(GNU_HASH) Processing files: smatch-data-1.73-1.el8.noarch Provides: smatch-data = 1.73-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: smatch-debugsource-1.73-1.el8.s390x Provides: smatch-debugsource = 1.73-1.el8 smatch-debugsource(s390-64) = 1.73-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: smatch-debuginfo-1.73-1.el8.s390x Provides: debuginfo(build-id) = 2a5ddc99674927fe5a22eeac63d794547db98f74 smatch-debuginfo = 1.73-1.el8 smatch-debuginfo(s390-64) = 1.73-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: smatch-debugsource(s390-64) = 1.73-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x Wrote: /builddir/build/RPMS/smatch-1.73-1.el8.s390x.rpm Wrote: /builddir/build/RPMS/smatch-data-1.73-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/smatch-debugsource-1.73-1.el8.s390x.rpm Wrote: /builddir/build/RPMS/smatch-debuginfo-1.73-1.el8.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZP4o4P + umask 022 + cd /builddir/build/BUILD + cd smatch-1.73 + /usr/bin/rm -rf /builddir/build/BUILDROOT/smatch-1.73-1.el8.s390x + exit 0 Child return code was: 0