Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-gammu.spec'], chrootPath='/var/lib/mock/f33-build-632362-68106/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-gammu.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1629244800 Wrote: /builddir/build/SRPMS/python-gammu-3.2.3-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-gammu.spec'], chrootPath='/var/lib/mock/f33-build-632362-68106/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-gammu.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1629244800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fmCRON + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-gammu-3.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-gammu-3.2.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-gammu-3.2.3 + /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.XN2WaN + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.2.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-riscv64-3.9 creating build/lib.linux-riscv64-3.9/gammu copying gammu/smsd.py -> build/lib.linux-riscv64-3.9/gammu copying gammu/exception.py -> build/lib.linux-riscv64-3.9/gammu copying gammu/asyncworker.py -> build/lib.linux-riscv64-3.9/gammu copying gammu/worker.py -> build/lib.linux-riscv64-3.9/gammu copying gammu/__init__.py -> build/lib.linux-riscv64-3.9/gammu copying gammu/data.py -> build/lib.linux-riscv64-3.9/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-riscv64-3.9 creating build/temp.linux-riscv64-3.9/gammu creating build/temp.linux-riscv64-3.9/gammu/src creating build/temp.linux-riscv64-3.9/gammu/src/convertors gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/backup.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/backup.o -I/usr/include/gammu In file included from /usr/include/string.h:519, from /usr/include/python3.9/Python.h:30, from include/convertors.h:26, from gammu/src/convertors/backup.c:24: In function ‘strncat’, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:176:3, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:151:5: /usr/include/bits/string_fortified.h:122:10: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gammu/src/convertors/backup.c: In function ‘BackupFromPython’: gammu/src/convertors/backup.c:172:9: note: length computed here 172 | len = strlen(s); | ^~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/python3.9/Python.h:30, from include/convertors.h:26, from gammu/src/convertors/backup.c:24: In function ‘strncat’, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:189:3, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:151:5: /usr/include/bits/string_fortified.h:122:10: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gammu/src/convertors/backup.c: In function ‘BackupFromPython’: gammu/src/convertors/backup.c:185:9: note: length computed here 185 | len = strlen(s); | ^~~~~~~~~ gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/base.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/base.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/bitmap.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/bitmap.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/calendar.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/calendar.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/call.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/call.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/diverts.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/diverts.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/file.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/file.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/memory.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/memory.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/misc.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/misc.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/ringtone.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/ringtone.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/sms.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/sms.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/string.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/string.o -I/usr/include/gammu gammu/src/convertors/string.c: In function ‘StringPythonToGammu’: gammu/src/convertors/string.c:44:2: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 44 | ps = PyUnicode_AsUnicode(u); | ^~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from include/convertors.h:26, from gammu/src/convertors/string.c:24: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ gammu/src/convertors/string.c: In function ‘UnicodeStringToPythonL’: gammu/src/convertors/string.c:160:2: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 160 | res = PyUnicode_FromUnicode(val, out_len); | ^~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from include/convertors.h:26, from gammu/src/convertors/string.c:24: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/time.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/time.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/todo.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/todo.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/convertors/wap.c -o build/temp.linux-riscv64-3.9/gammu/src/convertors/wap.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/data.c -o build/temp.linux-riscv64-3.9/gammu/src/data.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/errors.c -o build/temp.linux-riscv64-3.9/gammu/src/errors.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/gammu.c -o build/temp.linux-riscv64-3.9/gammu/src/gammu.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/misc.c -o build/temp.linux-riscv64-3.9/gammu/src/misc.o -I/usr/include/gammu gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=3 -DPYTHON_GAMMU_MINOR_VERSION=2 -Iinclude/ -I/usr/include/python3.9 -c gammu/src/smsd.c -o build/temp.linux-riscv64-3.9/gammu/src/smsd.o -I/usr/include/gammu gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.9/gammu/src/convertors/backup.o build/temp.linux-riscv64-3.9/gammu/src/convertors/base.o build/temp.linux-riscv64-3.9/gammu/src/convertors/bitmap.o build/temp.linux-riscv64-3.9/gammu/src/convertors/calendar.o build/temp.linux-riscv64-3.9/gammu/src/convertors/call.o build/temp.linux-riscv64-3.9/gammu/src/convertors/diverts.o build/temp.linux-riscv64-3.9/gammu/src/convertors/file.o build/temp.linux-riscv64-3.9/gammu/src/convertors/memory.o build/temp.linux-riscv64-3.9/gammu/src/convertors/misc.o build/temp.linux-riscv64-3.9/gammu/src/convertors/ringtone.o build/temp.linux-riscv64-3.9/gammu/src/convertors/sms.o build/temp.linux-riscv64-3.9/gammu/src/convertors/string.o build/temp.linux-riscv64-3.9/gammu/src/convertors/time.o build/temp.linux-riscv64-3.9/gammu/src/convertors/todo.o build/temp.linux-riscv64-3.9/gammu/src/convertors/wap.o build/temp.linux-riscv64-3.9/gammu/src/data.o build/temp.linux-riscv64-3.9/gammu/src/errors.o build/temp.linux-riscv64-3.9/gammu/src/gammu.o build/temp.linux-riscv64-3.9/gammu/src/misc.o build/temp.linux-riscv64-3.9/gammu/src/smsd.o -L/usr/lib64 -lgsmsd -lGammu -lm -o build/lib.linux-riscv64-3.9/gammu/_gammu.cpython-39-riscv64-linux-gnu.so In function ‘strncat’, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:176:3, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:151:5: /usr/include/bits/string_fortified.h:122:10: warning: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ gammu/src/convertors/backup.c: In function ‘BackupFromPython’: gammu/src/convertors/backup.c:172:9: note: length computed here 172 | len = strlen(s); | ^ In function ‘strncat’, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:189:3, inlined from ‘BackupFromPython’ at gammu/src/convertors/backup.c:151:5: /usr/include/bits/string_fortified.h:122:10: warning: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ gammu/src/convertors/backup.c: In function ‘BackupFromPython’: gammu/src/convertors/backup.c:185:9: note: length computed here 185 | len = strlen(s); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EPbGlN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64 + cd python-gammu-3.2.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu copying build/lib.linux-riscv64-3.9/gammu/smsd.py -> /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu copying build/lib.linux-riscv64-3.9/gammu/exception.py -> /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu copying build/lib.linux-riscv64-3.9/gammu/asyncworker.py -> /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu copying build/lib.linux-riscv64-3.9/gammu/worker.py -> /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu copying build/lib.linux-riscv64-3.9/gammu/__init__.py -> /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu copying build/lib.linux-riscv64-3.9/gammu/_gammu.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu copying build/lib.linux-riscv64-3.9/gammu/data.py -> /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/smsd.py to smsd.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/exception.py to exception.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/asyncworker.py to asyncworker.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/worker.py to worker.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/data.py to data.cpython-39.pyc writing byte-compilation script '/tmp/tmpp3sj18t2.py' /usr/bin/python3 /tmp/tmpp3sj18t2.py removing /tmp/tmpp3sj18t2.py running install_egg_info running egg_info creating python_gammu.egg-info writing python_gammu.egg-info/PKG-INFO writing dependency_links to python_gammu.egg-info/dependency_links.txt writing top-level names to python_gammu.egg-info/top_level.txt writing manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' Copying python_gammu.egg-info to /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/python_gammu-3.2.3-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.2.3-1.fc33 --unique-debug-suffix -3.2.3-1.fc33.riscv64 --unique-debug-src-base python-gammu-3.2.3-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-gammu-3.2.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/_gammu.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/_gammu.cpython-39-riscv64-linux-gnu.so original debug info size: 1924kB, size after compression: 1820kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 770 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/lib64/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ARCTwK + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.2.3 + /usr/bin/python3 setup.py test running test running egg_info WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. writing python_gammu.egg-info/PKG-INFO writing dependency_links to python_gammu.egg-info/dependency_links.txt writing top-level names to python_gammu.egg-info/top_level.txt reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-riscv64-3.9/gammu/_gammu.cpython-39-riscv64-linux-gnu.so -> gammu test_counter (test.test_sms.PDUTest) ... ok test_counter_long (test.test_sms.PDUTest) ... ok test_decode (test.test_sms.PDUTest) ... /builddir/build/BUILD/python-gammu-3.2.3/test/test_sms.py:64: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats sms = gammu.DecodePDU(PDU_DATA) ok test_encode_gsm (test.test_sms.PDUTest) ... /builddir/build/BUILD/python-gammu-3.2.3/test/test_sms.py:70: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats sms = gammu.EncodeSMS(smsinfo) /builddir/build/BUILD/python-gammu-3.2.3/test/test_sms.py:82: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats pdusms = [gammu.DecodePDU(p) for p in pdu] ok test_encode_plain (test.test_sms.PDUTest) ... ok test_encode_unicode (test.test_sms.PDUTest) ... ok test_link (test.test_sms.PDUTest) ... /builddir/build/BUILD/python-gammu-3.2.3/test/test_sms.py:110: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats sms = gammu.EncodeSMS(smsinfo) /builddir/build/BUILD/python-gammu-3.2.3/test/test_sms.py:113: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats linked = gammu.LinkSMS([[sms[0]], [sms[1]]], True) ok test_mms_decode (test.test_sms.PDUTest) ... ok test_worker_async (test.test_asyncworker.AsyncWorkerDummyTest) ... ok test_init_error (test.test_smsd.SMSDDummyTest) ... ok test_inject (test.test_smsd.SMSDDummyTest) ... Mon 2022/02/07 14:16:00 python-gammu[178175]: Using SQL service Mon 2022/02/07 14:16:00 python-gammu[178175]: Configuring Gammu SMSD... Mon 2022/02/07 14:16:00 python-gammu[178175]: SHM token: 0x10406ff (17041151) Mon 2022/02/07 14:16:00 python-gammu[178175]: Warning: No PIN code in /tmp/tmpiejy5v9a/.gammurc file Mon 2022/02/07 14:16:00 python-gammu[178175]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Mon 2022/02/07 14:16:00 python-gammu[178175]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Mon 2022/02/07 14:16:00 python-gammu[178175]: mode: Send=1, Receive=1 Mon 2022/02/07 14:16:00 python-gammu[178175]: deliveryreport = no Mon 2022/02/07 14:16:00 python-gammu[178175]: phoneid = Mon 2022/02/07 14:16:00 python-gammu[178175]: Using DBI driver 'sqlite3' Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: SELECT * FROM gammu LIMIT 1 Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: SELECT * FROM inbox LIMIT 1 Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: SELECT * FROM outbox LIMIT 1 Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: SELECT * FROM phones LIMIT 1 Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: SELECT Version FROM gammu Mon 2022/02/07 14:16:00 python-gammu[178175]: Database structures version: 17, SMSD current version: 17 Mon 2022/02/07 14:16:00 python-gammu[178175]: Connected to Database sqlite3: smsd.db on localhost Mon 2022/02/07 14:16:00 python-gammu[178175]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.42.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Mon 2022/02/07 14:16:01 python-gammu[178175]: Written message with ID 1 Mon 2022/02/07 14:16:01 python-gammu[178175]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Mon 2022/02/07 14:16:03 python-gammu[178175]: Using SQL service Mon 2022/02/07 14:16:03 python-gammu[178175]: Configuring Gammu SMSD... Mon 2022/02/07 14:16:03 python-gammu[178175]: SHM token: 0x10406ff (17041151) Mon 2022/02/07 14:16:03 python-gammu[178175]: Warning: No PIN code in /tmp/tmp2vpwzitj/.gammurc file Mon 2022/02/07 14:16:03 python-gammu[178175]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Mon 2022/02/07 14:16:03 python-gammu[178175]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Mon 2022/02/07 14:16:03 python-gammu[178175]: mode: Send=1, Receive=1 Mon 2022/02/07 14:16:03 python-gammu[178175]: deliveryreport = no Mon 2022/02/07 14:16:03 python-gammu[178175]: phoneid = Mon 2022/02/07 14:16:03 python-gammu[178175]: Using DBI driver 'sqlite3' Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: SELECT * FROM gammu LIMIT 1 Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: SELECT * FROM inbox LIMIT 1 Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: SELECT * FROM outbox LIMIT 1 Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: SELECT * FROM phones LIMIT 1 Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: SELECT Version FROM gammu Mon 2022/02/07 14:16:03 python-gammu[178175]: Database structures version: 17, SMSD current version: 17 Mon 2022/02/07 14:16:03 python-gammu[178175]: Connected to Database sqlite3: smsd.db on localhost Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.42.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Mon 2022/02/07 14:16:03 python-gammu[178175]: Written message with ID 1 Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.42.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Mon 2022/02/07 14:16:03 python-gammu[178175]: Written message with ID 2 Mon 2022/02/07 14:16:03 python-gammu[178175]: Created POSIX RW shared memory at 0x3fb9f05000 Mon 2022/02/07 14:16:03 python-gammu[178175]: Starting phone communication... Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Gammu - 1.42.0] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Connection - "none"] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Connection index - 0] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Model type - "dummy"] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Device - "/tmp/tmp2vpwzitj/gammu-dummy"] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Running on - Linux, kernel 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 (#1 SMP Mon Jan 6 17:31:22 UTC 2020)] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Module - "dummy"] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Log file /tmp/tmp2vpwzitj/gammu-dummy/operations.log Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Number version is "1.420000" Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: [Connected] Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_GetSecurityStatus Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Leaving GSM_GetSecurityStatus Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_SetIncomingSMS Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Leaving GSM_SetIncomingSMS Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_SetIncomingUSSD Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Leaving GSM_SetIncomingUSSD Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_GetIMEI Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Leaving GSM_GetIMEI Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_GetSIMIMSI Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Leaving GSM_GetSIMIMSI Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Mon 2022/02/07 14:16:03 python-gammu[178175]: Inserting phone info Mon 2022/02/07 14:16:03 python-gammu[178175]: Execute SQL: INSERT INTO phones (IMEI, IMSI, ID, NetCode, NetName, Send, Receive, InsertIntoDB, TimeOut, Client, Battery, Signal) VALUES ('999999999999999', '994299429942994', '', '', '', 'yes', 'yes', datetime('now', 'localtime'), datetime('now', '+10 seconds', 'localtime'), 'Gammu 1.42.0, Linux, kernel 5.5.0-0.rc5.git0.1.1.riscv64.fc32.riscv64 (#1 SMP Mon Jan 6 17:31:22 UTC 2020), GCC 10.2', -1, -1) Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_SetFastSMSSending Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Leaving GSM_SetFastSMSSending Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_GetSecurityStatus Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Leaving GSM_GetSecurityStatus Mon 2022/02/07 14:16:03 python-gammu[178175]: gammu: Entering GSM_GetSMSStatus Mon 2022/02/07 14:16:15 python-gammu[178175]: gammu: Leaving GSM_GetSMSStatus Mon 2022/02/07 14:16:15 python-gammu[178175]: gammu: Entering GSM_GetNextSMS Mon 2022/02/07 14:16:15 python-gammu[178175]: gammu: Starting reading! Mon 2022/02/07 14:16:15 python-gammu[178175]: gammu: Number = 0, Location = 0, Folder = 0 Mon 2022/02/07 14:16:15 python-gammu[178175]: gammu: Leaving GSM_GetNextSMS Mon 2022/02/07 14:16:15 python-gammu[178175]: Received message from: 1234 Mon 2022/02/07 14:16:15 python-gammu[178175]: gammu: Entering GSM_GetNextSMS Mon 2022/02/07 14:16:15 python-gammu[178175]: gammu: Number = 1, Location = 10001, Folder = 0 Mon 2022/02/07 14:16:17 python-gammu[178175]: gammu: Leaving GSM_GetNextSMS Mon 2022/02/07 14:16:17 python-gammu[178175]: gammu: Entering GSM_GetNextSMS Mon 2022/02/07 14:16:17 python-gammu[178175]: gammu: Number = 1, Location = 20010, Folder = 0 Mon 2022/02/07 14:16:18 python-gammu[178175]: gammu: Leaving GSM_GetNextSMS Mon 2022/02/07 14:16:18 python-gammu[178175]: Received message from: 1234 Mon 2022/02/07 14:16:18 python-gammu[178175]: gammu: Entering GSM_GetNextSMS Mon 2022/02/07 14:16:18 python-gammu[178175]: gammu: Number = 1, Location = 30042, Folder = 0 Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Leaving GSM_GetNextSMS Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Entering GSM_GetNextSMS Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Number = 1, Location = 40015, Folder = 0 Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Leaving GSM_GetNextSMS Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Entering GSM_GetNextSMS Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Number = 1, Location = 40020, Folder = 0 Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Leaving GSM_GetNextSMS Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Entering GSM_GetNextSMS Mon 2022/02/07 14:16:20 python-gammu[178175]: gammu: Number = 1, Location = 40021, Folder = 0 Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Empty entry. Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Leaving GSM_GetNextSMS Mon 2022/02/07 14:16:23 python-gammu[178175]: Read 2 messages Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Entering GSM_DeleteSMS Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Location = 10001, Folder = 0 Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Leaving GSM_DeleteSMS Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Entering GSM_DeleteSMS Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Location = 30042, Folder = 0 Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Leaving GSM_DeleteSMS Mon 2022/02/07 14:16:23 python-gammu[178175]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Entering GSM_GetBatteryCharge Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Leaving GSM_GetBatteryCharge Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Entering GSM_GetSignalQuality Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Leaving GSM_GetSignalQuality Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Entering GSM_GetNetworkInfo Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Leaving GSM_GetNetworkInfo Mon 2022/02/07 14:16:23 python-gammu[178175]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Entering GSM_GetSecurityStatus Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Leaving GSM_GetSecurityStatus Mon 2022/02/07 14:16:23 python-gammu[178175]: gammu: Entering GSM_GetSMSStatus Mon 2022/02/07 14:16:32 python-gammu[178175]: gammu: Leaving GSM_GetSMSStatus Mon 2022/02/07 14:16:32 python-gammu[178175]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Mon 2022/02/07 14:16:32 python-gammu[178175]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Mon 2022/02/07 14:16:33 python-gammu[178175]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Mon 2022/02/07 14:16:34 python-gammu[178175]: gammu: Entering GSM_SetIncomingUSSD Mon 2022/02/07 14:16:34 python-gammu[178175]: gammu: Leaving GSM_SetIncomingUSSD Mon 2022/02/07 14:16:34 python-gammu[178175]: Disconnecting from SQL database. Mon 2022/02/07 14:16:34 python-gammu[178175]: gammu: Entering GSM_SetFastSMSSending Mon 2022/02/07 14:16:34 python-gammu[178175]: gammu: Leaving GSM_SetFastSMSSending Mon 2022/02/07 14:16:34 python-gammu[178175]: Stopping Gammu smsd: No error. (NONE[1]) Mon 2022/02/07 14:16:34 python-gammu[178175]: Terminating communication... Mon 2022/02/07 14:16:34 python-gammu[178175]: gammu: [Terminating] Mon 2022/02/07 14:16:34 python-gammu[178175]: gammu: [Closing] FAIL Mon 2022/02/07 14:16:34 python-gammu[178175]: Disconnecting from SQL database. test_addfile (test.test_dummy.BasicDummyTest) ... ok test_battery (test.test_dummy.BasicDummyTest) ... ok test_calendar (test.test_dummy.BasicDummyTest) ... ok test_deletefile (test.test_dummy.BasicDummyTest) ... ok test_deletefolder (test.test_dummy.BasicDummyTest) ... ok test_dial (test.test_dummy.BasicDummyTest) ... ok test_diverts (test.test_dummy.BasicDummyTest) ... /builddir/build/BUILD/python-gammu-3.2.3/test/test_dummy.py:116: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats state_machine.SetCallDivert("AllTypes", "All", "123456789") ok test_emoji_folder (test.test_dummy.BasicDummyTest) ... ok test_fileattributes (test.test_dummy.BasicDummyTest) ... ok test_filesystem (test.test_dummy.BasicDummyTest) ... ok test_getmemory (test.test_dummy.BasicDummyTest) ... ok test_getnextfile (test.test_dummy.BasicDummyTest) ... ok test_incoming_call (test.test_dummy.BasicDummyTest) ... ok test_memory (test.test_dummy.BasicDummyTest) ... ok test_model (test.test_dummy.BasicDummyTest) ... ok test_sendsms (test.test_dummy.BasicDummyTest) ... ok test_sendsms_long (test.test_dummy.BasicDummyTest) ... /builddir/build/BUILD/python-gammu-3.2.3/test/test_dummy.py:298: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats encoded = gammu.EncodeSMS(smsinfo) ok test_sms (test.test_dummy.BasicDummyTest) ... /builddir/build/BUILD/python-gammu-3.2.3/test/test_dummy.py:220: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats sms.append(state_machine.GetNextSMS(Start=True, Folder=0)) /builddir/build/BUILD/python-gammu-3.2.3/test/test_dummy.py:224: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats state_machine.GetNextSMS(Location=sms[-1][0]["Location"], Folder=0) /builddir/build/BUILD/python-gammu-3.2.3/test/test_dummy.py:228: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats data = gammu.LinkSMS(sms) ok test_sms_folders (test.test_dummy.BasicDummyTest) ... ok test_todo (test.test_dummy.BasicDummyTest) ... ok test_ussd (test.test_dummy.BasicDummyTest) ... ok test_calendar (test.test_backup.BackupTest) ... ok test_contact (test.test_backup.BackupTest) ... ok test_convert_calendar (test.test_backup.BackupTest) ... ok test_convert_contacts (test.test_backup.BackupTest) ... ok test_todo (test.test_backup.BackupTest) ... ok test_connections (test.test_data.DataTest) ... ok test_errors (test.test_data.DataTest) ... ok test_config_bool (test.test_config.ConfigTest) ... ok test_config_none (test.test_config.ConfigTest) ... ok test_config_string (test.test_config.ConfigTest) ... ok test_init_error (test.test_config.ConfigTest) ... ok test_file (test.test_config.DebugTest) ... /builddir/build/BUILD/python-gammu-3.2.3/test/test_config.py:100: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats gammu.DecodePDU(PDU_DATA) ok test_filename (test.test_config.DebugTest) ... ok test_none (test.test_config.DebugTest) ... ok test_nothing (test.test_config.DebugTest) ... ok test_incoming (test.test_worker.WorkerDummyTest) ... ok test_worker (test.test_worker.WorkerDummyTest) ... ok test_catching (test.test_errors.ErrorTest) ... ok ====================================================================== FAIL: test_smsd (test.test_smsd.SMSDDummyTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-gammu-3.2.3/test/test_smsd.py", line 120, in test_smsd self.assertEqual( AssertionError: 0 != 2 : Messages were not sent as expected (0)! ---------------------------------------------------------------------- Ran 51 tests in 104.243s FAILED (failures=1) Test failed: Gammu version (1, 42, 0), SMSD DB version 17 Gammu version (1, 42, 0), SMSD DB version 17 Gammu version (1, 42, 0), SMSD DB version 17 Log filename is "stderr" Log filename is "stderr" python-gammu: WARNING: Adding USSD to queue, position 0 error: Test failed: + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-gammu-3.2.3-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PIga3K + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.2.3 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/doc/python3-gammu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/doc/python3-gammu + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/doc/python3-gammu + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/doc/python3-gammu + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/doc/python3-gammu + cp -pr examples/__init__.py examples/addcontacts.py examples/addfile.py examples/async.py examples/backup_convertor.py examples/batteryinfo.py examples/data examples/debugging.py examples/dialvoice.py examples/doc-exceptions.py examples/dummy_phone.py examples/filesystem_test.py examples/getallcalendar.py examples/getallmemory.py examples/getallmemory_nonext.py examples/getallsms.py examples/getallsms_decode.py examples/getalltodo.py examples/getdiverts.py examples/incoming.py examples/listfilesystem.py examples/mass_sms.py examples/pdu_decoder.py examples/read_sms_backup.py examples/savesmspercontact.py examples/sendlongsms.py examples/sendsms.py examples/service_numbers.py examples/setdiverts.py examples/sms_replier.py examples/smsbackup.py examples/smsd_inject.py examples/smsd_state.py examples/vcs.py examples/worker.py /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/doc/python3-gammu + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.i5hSUN + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.2.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/licenses/python3-gammu + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/licenses/python3-gammu + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64/usr/share/licenses/python3-gammu + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-gammu = 3.2.3-1.fc33 python3-gammu = 3.2.3-1.fc33 python3-gammu(riscv-64) = 3.2.3-1.fc33 python3.9-gammu = 3.2.3-1.fc33 python3.9dist(python-gammu) = 3.2.3 python3dist(python-gammu) = 3.2.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGammu.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgsmsd.so.8()(64bit) python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-gammu < 3.2.3-1.fc33 Processing files: python-gammu-debugsource-3.2.3-1.fc33.riscv64 Provides: python-gammu-debugsource = 3.2.3-1.fc33 python-gammu-debugsource(riscv-64) = 3.2.3-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-gammu-debuginfo-3.2.3-1.fc33.riscv64 Provides: debuginfo(build-id) = fe6a346b06609461249af07607680cba0ec30682 python-gammu-debuginfo = 3.2.3-1.fc33 python3-gammu-debuginfo = 3.2.3-1.fc33 python3-gammu-debuginfo(riscv-64) = 3.2.3-1.fc33 python3.9-gammu-debuginfo = 3.2.3-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-gammu-debugsource(riscv-64) = 3.2.3-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-gammu-3.2.3-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python-gammu-debugsource-3.2.3-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-gammu-debuginfo-3.2.3-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zVGnAL + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.2.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gammu-3.2.3-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0