Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682287240.931570/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-yara-python-4.3.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682287240.931570/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-yara-python-4.3.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682287240.931570/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OGpsup + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yara-python-4.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/yara-python-4.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yara-python-4.3.1 + /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.YXkd1A + umask 022 + cd /builddir/build/BUILD + cd yara-python-4.3.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext building 'yara' extension creating build creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/yara creating build/temp.linux-x86_64-3.9/yara/libyara creating build/temp.linux-x86_64-3.9/yara/libyara/modules creating build/temp.linux-x86_64-3.9/yara/libyara/modules/console creating build/temp.linux-x86_64-3.9/yara/libyara/modules/demo creating build/temp.linux-x86_64-3.9/yara/libyara/modules/dotnet creating build/temp.linux-x86_64-3.9/yara/libyara/modules/elf creating build/temp.linux-x86_64-3.9/yara/libyara/modules/math creating build/temp.linux-x86_64-3.9/yara/libyara/modules/pe creating build/temp.linux-x86_64-3.9/yara/libyara/modules/pe/authenticode-parser creating build/temp.linux-x86_64-3.9/yara/libyara/modules/string creating build/temp.linux-x86_64-3.9/yara/libyara/modules/tests creating build/temp.linux-x86_64-3.9/yara/libyara/modules/time creating build/temp.linux-x86_64-3.9/yara/libyara/proc creating build/temp.linux-x86_64-3.9/yara/libyara/tlshc gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara-python.c -o build/temp.linux-x86_64-3.9/yara-python.o -std=c99 yara-python.c: In function ‘convert_object_to_python’: yara-python.c:704:27: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 704 | if (object->value.i != YR_UNDEFINED) | ^~ yara-python.c: In function ‘process_compile_externals’: yara-python.c:1527:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1527 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1556:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1556 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘process_match_externals’: yara-python.c:1597:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1597 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1626:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1626 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘StringMatchInstance_plaintext’: yara-python.c:1942:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Py_ssize_t’ {aka ‘long int’} [-Wsign-compare] 1942 | for (size_t i = 0; i < length; i++) { | ^ yara-python.c: In function ‘Rules_next’: yara-python.c:2046:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2046 | else | ^~~~ yara-python.c:2049:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2049 | PyDict_SetItemString(meta_list, meta->identifier, object); | ^~~~~~~~~~~~~~~~~~~~ yara-python.c: In function ‘Rules_match’: yara-python.c:2187:48: warning: comparison between pointer and integer 2187 | if (callback_data.allow_duplicate_metadata == NULL) | ^~ yara-python.c: In function ‘yara_compile’: yara-python.c:2823:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2823 | source = PY_STRING_TO_C(value); | ^ yara-python.c:2824:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2824 | ns = PY_STRING_TO_C(key); | ^ yara-python.c:2858:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2858 | filepath = PY_STRING_TO_C(value); | ^ yara-python.c:2859:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2859 | ns = PY_STRING_TO_C(key); | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/ahocorasick.c -o build/temp.linux-x86_64-3.9/yara/libyara/ahocorasick.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/arena.c -o build/temp.linux-x86_64-3.9/yara/libyara/arena.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/atoms.c -o build/temp.linux-x86_64-3.9/yara/libyara/atoms.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/base64.c -o build/temp.linux-x86_64-3.9/yara/libyara/base64.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/bitmask.c -o build/temp.linux-x86_64-3.9/yara/libyara/bitmask.o -std=c99 yara/libyara/bitmask.c: In function ‘yr_bitmask_find_non_colliding_offset’: yara/libyara/bitmask.c:75:50: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 75 | i <= len_a / YR_BITMASK_SLOT_BITS && a[i] == -1L; | ^~ yara/libyara/bitmask.c:84:14: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 84 | if (a[i] == -1L) | ^~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/compiler.c -o build/temp.linux-x86_64-3.9/yara/libyara/compiler.o -std=c99 yara/libyara/compiler.c: In function ‘yr_compiler_load_atom_quality_table’: yara/libyara/compiler.c:438:70: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 438 | if (fread(table, sizeof(YR_ATOM_QUALITY_TABLE_ENTRY), entries, fh) != entries) | ^~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/endian.c -o build/temp.linux-x86_64-3.9/yara/libyara/endian.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/exec.c -o build/temp.linux-x86_64-3.9/yara/libyara/exec.o -std=c99 yara/libyara/exec.c: In function ‘yr_execute_code’: yara/libyara/exec.c:1564:36: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 1564 | while (match != NULL && r3.i == YR_UNDEFINED) | ^~ yara/libyara/exec.c:1592:36: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 1592 | while (match != NULL && r3.i == YR_UNDEFINED) | ^~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/exefiles.c -o build/temp.linux-x86_64-3.9/yara/libyara/exefiles.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/filemap.c -o build/temp.linux-x86_64-3.9/yara/libyara/filemap.o -std=c99 yara/libyara/filemap.c: In function ‘yr_filemap_map_fd’: yara/libyara/filemap.c:207:14: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘__off_t’ {aka ‘long int’} [-Wsign-compare] 207 | if (offset > st.st_size) | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/grammar.c -o build/temp.linux-x86_64-3.9/yara/libyara/grammar.o -std=c99 libyara/grammar.y: In function ‘yara_yyparse’: libyara/grammar.y:2185:50: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] libyara/grammar.y:2185:106: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] libyara/grammar.y:2674:83: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] libyara/grammar.y:2675:30: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] In file included from libyara/grammar.y:49: yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2710:48: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2745:48: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2779:48: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2800:48: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2824:46: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2840:44: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2850:44: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2860:44: note: in expansion of macro ‘OPERATION’ libyara/grammar.y:2869:81: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] libyara/grammar.y:2870:28: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] In file included from libyara/grammar.y:49: yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2886:46: note: in expansion of macro ‘OPERATION’ yara/libyara/include/yara/exec.h:197:63: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 197 | (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2) | ^~~~~~~~~~~~~~~~~~ libyara/grammar.y:2906:46: note: in expansion of macro ‘OPERATION’ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/hash.c -o build/temp.linux-x86_64-3.9/yara/libyara/hash.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/hex_grammar.c -o build/temp.linux-x86_64-3.9/yara/libyara/hex_grammar.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/hex_lexer.c -o build/temp.linux-x86_64-3.9/yara/libyara/hex_lexer.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/lexer.c -o build/temp.linux-x86_64-3.9/yara/libyara/lexer.o -std=c99 lexer.l: In function ‘yr_lex_parse_rules_fd’: lexer.l:994:41: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/libyara.c -o build/temp.linux-x86_64-3.9/yara/libyara/libyara.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/mem.c -o build/temp.linux-x86_64-3.9/yara/libyara/mem.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/modules.c -o build/temp.linux-x86_64-3.9/yara/libyara/modules.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/modules/console/console.c -o build/temp.linux-x86_64-3.9/yara/libyara/modules/console/console.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/modules/demo/demo.c -o build/temp.linux-x86_64-3.9/yara/libyara/modules/demo/demo.o -std=c99 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/modules/dotnet/dotnet.c -o build/temp.linux-x86_64-3.9/yara/libyara/modules/dotnet/dotnet.o -std=c99 yara/libyara/modules/dotnet/dotnet.c: In function ‘parse_signature_type’: yara/libyara/modules/dotnet/dotnet.c:981:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 981 | for (int i = 0; i < gen_count; i++) | ^ yara/libyara/modules/dotnet/dotnet.c:1036:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 1036 | for (int i = 0; i < param_count; i++) | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/modules/elf/elf.c -o build/temp.linux-x86_64-3.9/yara/libyara/modules/elf/elf.o -std=c99 yara/libyara/modules/elf/elf.c: In function ‘telfhash’: yara/libyara/modules/elf/elf.c:115:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 115 | for (int i = 0; i < sizeof(exclude_strings) / sizeof(*exclude_strings); i++) | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/modules/math/math.c -o build/temp.linux-x86_64-3.9/yara/libyara/modules/math/math.o -std=c99 yara/libyara/modules/math/math.c: In function ‘get_distribution’: yara/libyara/modules/math/math.c:67:42: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 67 | if (offset < 0 || length < 0 || offset < block->base) | ^ yara/libyara/modules/math/math.c:75:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 75 | if (offset >= block->base && offset < block->base + block->size) | ^~ yara/libyara/modules/math/math.c:75:41: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 75 | if (offset >= block->base && offset < block->base + block->size) | ^ In file included from yara/libyara/include/yara/mem.h:34, from yara/libyara/modules/math/math.c:32: yara/libyara/include/yara/utils.h:107:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 107 | #define yr_min(x, y) (((x) < (y)) ? (x) : (y)) | ^ yara/libyara/modules/math/math.c:78:34: note: in expansion of macro ‘yr_min’ 78 | size_t data_len = (size_t) yr_min( | ^~~~~~ yara/libyara/include/yara/utils.h:107:37: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 107 | #define yr_min(x, y) (((x) < (y)) ? (x) : (y)) | ^~~ yara/libyara/modules/math/math.c:78:34: note: in expansion of macro ‘yr_min’ 78 | size_t data_len = (size_t) yr_min( | ^~~~~~ yara/libyara/modules/math/math.c:112:35: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 112 | if (block->base + block->size > offset + length) | ^ yara/libyara/modules/math/math.c: In function ‘get_distribution_global’: yara/libyara/modules/math/math.c:140:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 140 | if (expected_next_offset != block->base) | ^~ yara/libyara/modules/math/math.c: In function ‘data_serial_correlation’: yara/libyara/modules/math/math.c:334:42: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | if (offset < 0 || length < 0 || offset < block->base) | ^ yara/libyara/modules/math/math.c:339:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 339 | if (offset >= block->base && offset < block->base + block->size) | ^~ yara/libyara/modules/math/math.c:339:41: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 339 | if (offset >= block->base && offset < block->base + block->size) | ^ In file included from yara/libyara/include/yara/mem.h:34, from yara/libyara/modules/math/math.c:32: yara/libyara/include/yara/utils.h:107:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 107 | #define yr_min(x, y) (((x) < (y)) ? (x) : (y)) | ^ yara/libyara/modules/math/math.c:342:34: note: in expansion of macro ‘yr_min’ 342 | size_t data_len = (size_t) yr_min( | ^~~~~~ yara/libyara/include/yara/utils.h:107:37: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 107 | #define yr_min(x, y) (((x) < (y)) ? (x) : (y)) | ^~~ yara/libyara/modules/math/math.c:342:34: note: in expansion of macro ‘yr_min’ 342 | size_t data_len = (size_t) yr_min( | ^~~~~~ yara/libyara/modules/math/math.c:378:35: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 378 | if (block->base + block->size > offset + length) | ^ yara/libyara/modules/math/math.c: In function ‘data_monte_carlo_pi’: yara/libyara/modules/math/math.c:453:42: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 453 | if (offset < 0 || length < 0 || offset < block->base) | ^ yara/libyara/modules/math/math.c:458:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 458 | if (offset >= block->base && offset < block->base + block->size) | ^~ yara/libyara/modules/math/math.c:458:41: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 458 | if (offset >= block->base && offset < block->base + block->size) | ^ In file included from yara/libyara/include/yara/mem.h:34, from yara/libyara/modules/math/math.c:32: yara/libyara/include/yara/utils.h:107:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 107 | #define yr_min(x, y) (((x) < (y)) ? (x) : (y)) | ^ yara/libyara/modules/math/math.c:463:34: note: in expansion of macro ‘yr_min’ 463 | size_t data_len = (size_t) yr_min( | ^~~~~~ yara/libyara/include/yara/utils.h:107:37: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 107 | #define yr_min(x, y) (((x) < (y)) ? (x) : (y)) | ^~~ yara/libyara/modules/math/math.c:463:34: note: in expansion of macro ‘yr_min’ 463 | size_t data_len = (size_t) yr_min( | ^~~~~~ yara/libyara/modules/math/math.c:509:35: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 509 | if (block->base + block->size > offset + length) | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DDOTNET_MODULE=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara/libyara/modules/pe/authenticode-parser/authenticode.c -o build/temp.linux-x86_64-3.9/yara/libyara/modules/pe/authenticode-parser/authenticode.o -std=c99 yara/libyara/modules/pe/authenticode-parser/authenticode.c:22:10: fatal error: openssl/asn1.h: No such file or directory 22 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.YXkd1A (%build) Bad exit status from /var/tmp/rpm-tmp.YXkd1A (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 --target x86_64 --nodeps /builddir/build/SPECS/python-yara-python.spec