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-329632-58166/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=1598054400 Wrote: /builddir/build/SRPMS/python-gammu-3.1-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-329632-58166/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=1598054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oK6JCo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-gammu-3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-gammu-3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-gammu-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.45CdUq + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.1 + 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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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:137:10: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 137 | 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:137:10: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 137 | 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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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:97, 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:49:2: warning: ‘PyUnicode_GetSize’ is deprecated [-Wdeprecated-declarations] 49 | gs = strPythonToGammu(ps, PyUnicode_GetSize(u)); | ^~ In file included from /usr/include/python3.9/Python.h:97, from include/convertors.h:26, from gammu/src/convertors/string.c:24: /usr/include/python3.9/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ 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:97, 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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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 gammu/src/gammu.c: In function ‘CheckIncomingEvents’: gammu/src/gammu.c:390:9: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 390 | PyEval_CallObject(sm->IncomingCallback, arglist); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from gammu/src/gammu.c:22: /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gammu/src/gammu.c:430:9: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 430 | PyEval_CallObject(sm->IncomingCallback, arglist); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from gammu/src/gammu.c:22: /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gammu/src/gammu.c:461:9: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 461 | PyEval_CallObject(sm->IncomingCallback, arglist); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from gammu/src/gammu.c:22: /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gammu/src/gammu.c:492:9: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 492 | PyEval_CallObject(sm->IncomingCallback, arglist); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from gammu/src/gammu.c:22: /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -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 -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 -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 -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=1 -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 -flto=auto -ffat-lto-objects -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 -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 -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=1 -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:137:10: warning: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 137 | 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:137:10: warning: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 137 | 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.7rOg9m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64 + cd python-gammu-3.1 + 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.1-1.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-gammu-3.1-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.1-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.1-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.1-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.1-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.1-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.1-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.1-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-3.1-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.1-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.1-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.1-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.1-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.1-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/data.py to data.cpython-39.pyc writing byte-compilation script '/tmp/tmpnkne_xvd.py' /usr/bin/python3 /tmp/tmpnkne_xvd.py removing /tmp/tmpnkne_xvd.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.1-1.fc33.riscv64/usr/lib64/python3.9/site-packages/python_gammu-3.1-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1-1.fc33 --unique-debug-suffix -3.1-1.fc33.riscv64 --unique-debug-src-base python-gammu-3.1-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.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-gammu-3.1-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.1-1.fc33.riscv64/usr/lib64/python3.9/site-packages/gammu/_gammu.cpython-39-riscv64-linux-gnu.so original debug info size: 1936kB, size after compression: 1828kB /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.1-1.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7wMZAo + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.1 + /usr/bin/python3 setup.py test running test 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. running 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 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.1/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.1/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.1/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.1/test/test_sms.py:116: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats sms = gammu.EncodeSMS(smsinfo) /builddir/build/BUILD/python-gammu-3.1/test/test_sms.py:119: 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) ... Sun 2020/08/23 07:39:15 python-gammu[436438]: Using SQL service Sun 2020/08/23 07:39:15 python-gammu[436438]: Configuring Gammu SMSD... Sun 2020/08/23 07:39:15 python-gammu[436438]: SHM token: 0x1040aff (17042175) Sun 2020/08/23 07:39:15 python-gammu[436438]: Warning: No PIN code in /tmp/tmpsdjsjs11/.gammurc file Sun 2020/08/23 07:39:15 python-gammu[436438]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sun 2020/08/23 07:39:15 python-gammu[436438]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sun 2020/08/23 07:39:15 python-gammu[436438]: mode: Send=1, Receive=1 Sun 2020/08/23 07:39:15 python-gammu[436438]: deliveryreport = no Sun 2020/08/23 07:39:15 python-gammu[436438]: phoneid = Sun 2020/08/23 07:39:15 python-gammu[436438]: Using DBI driver 'sqlite3' Sun 2020/08/23 07:39:15 python-gammu[436438]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sun 2020/08/23 07:39:15 python-gammu[436438]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sun 2020/08/23 07:39:15 python-gammu[436438]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sun 2020/08/23 07:39:15 python-gammu[436438]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sun 2020/08/23 07:39:15 python-gammu[436438]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sun 2020/08/23 07:39:15 python-gammu[436438]: Execute SQL: SELECT * FROM phones LIMIT 1 Sun 2020/08/23 07:39:15 python-gammu[436438]: Execute SQL: SELECT Version FROM gammu Sun 2020/08/23 07:39:16 python-gammu[436438]: Database structures version: 17, SMSD current version: 17 Sun 2020/08/23 07:39:16 python-gammu[436438]: Connected to Database sqlite3: smsd.db on localhost Sun 2020/08/23 07:39:16 python-gammu[436438]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.41.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sun 2020/08/23 07:39:16 python-gammu[436438]: Written message with ID 1 Sun 2020/08/23 07:39:16 python-gammu[436438]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Sun 2020/08/23 07:39:19 python-gammu[436438]: Using SQL service Sun 2020/08/23 07:39:19 python-gammu[436438]: Configuring Gammu SMSD... Sun 2020/08/23 07:39:19 python-gammu[436438]: SHM token: 0x1040aff (17042175) Sun 2020/08/23 07:39:19 python-gammu[436438]: Warning: No PIN code in /tmp/tmpi5nqtj4h/.gammurc file Sun 2020/08/23 07:39:19 python-gammu[436438]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sun 2020/08/23 07:39:19 python-gammu[436438]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sun 2020/08/23 07:39:19 python-gammu[436438]: mode: Send=1, Receive=1 Sun 2020/08/23 07:39:19 python-gammu[436438]: deliveryreport = no Sun 2020/08/23 07:39:19 python-gammu[436438]: phoneid = Sun 2020/08/23 07:39:19 python-gammu[436438]: Using DBI driver 'sqlite3' Sun 2020/08/23 07:39:19 python-gammu[436438]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sun 2020/08/23 07:39:19 python-gammu[436438]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sun 2020/08/23 07:39:19 python-gammu[436438]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sun 2020/08/23 07:39:19 python-gammu[436438]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sun 2020/08/23 07:39:19 python-gammu[436438]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sun 2020/08/23 07:39:19 python-gammu[436438]: Execute SQL: SELECT * FROM phones LIMIT 1 Sun 2020/08/23 07:39:20 python-gammu[436438]: Execute SQL: SELECT Version FROM gammu Sun 2020/08/23 07:39:20 python-gammu[436438]: Database structures version: 17, SMSD current version: 17 Sun 2020/08/23 07:39:20 python-gammu[436438]: Connected to Database sqlite3: smsd.db on localhost Sun 2020/08/23 07:39:20 python-gammu[436438]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.41.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sun 2020/08/23 07:39:20 python-gammu[436438]: Written message with ID 1 Sun 2020/08/23 07:39:20 python-gammu[436438]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.41.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Sun 2020/08/23 07:39:20 python-gammu[436438]: Written message with ID 2 Sun 2020/08/23 07:39:20 python-gammu[436438]: Created POSIX RW shared memory at 0x3fbb73a000 Sun 2020/08/23 07:39:20 python-gammu[436438]: Starting phone communication... Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: [Gammu - 1.41.0] Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: [Connection - "none"] Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: [Connection index - 0] Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: [Model type - "dummy"] Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: [Device - "/tmp/tmpi5nqtj4h/gammu-dummy"] Sun 2020/08/23 07:39:20 python-gammu[436438]: 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)] Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: [Module - "dummy"] Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Log file /tmp/tmpi5nqtj4h/gammu-dummy/operations.log Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Number version is "1.410000" Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: [Connected] Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_GetSecurityStatus Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Leaving GSM_GetSecurityStatus Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_SetIncomingSMS Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Leaving GSM_SetIncomingSMS Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_SetIncomingUSSD Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Leaving GSM_SetIncomingUSSD Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_GetIMEI Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Leaving GSM_GetIMEI Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_GetSIMIMSI Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Leaving GSM_GetSIMIMSI Sun 2020/08/23 07:39:20 python-gammu[436438]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Sun 2020/08/23 07:39:20 python-gammu[436438]: Inserting phone info Sun 2020/08/23 07:39:20 python-gammu[436438]: 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.41.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) Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_SetFastSMSSending Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Leaving GSM_SetFastSMSSending Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_GetSecurityStatus Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Leaving GSM_GetSecurityStatus Sun 2020/08/23 07:39:20 python-gammu[436438]: gammu: Entering GSM_GetSMSStatus Sun 2020/08/23 07:39:33 python-gammu[436438]: gammu: Leaving GSM_GetSMSStatus Sun 2020/08/23 07:39:33 python-gammu[436438]: gammu: Entering GSM_GetNextSMS Sun 2020/08/23 07:39:33 python-gammu[436438]: gammu: Starting reading! Sun 2020/08/23 07:39:33 python-gammu[436438]: gammu: Number = 0, Location = 0, Folder = 0 Sun 2020/08/23 07:39:33 python-gammu[436438]: gammu: Leaving GSM_GetNextSMS Sun 2020/08/23 07:39:33 python-gammu[436438]: Received message from: 1234 Sun 2020/08/23 07:39:33 python-gammu[436438]: gammu: Entering GSM_GetNextSMS Sun 2020/08/23 07:39:33 python-gammu[436438]: gammu: Number = 1, Location = 10001, Folder = 0 Sun 2020/08/23 07:39:35 python-gammu[436438]: gammu: Leaving GSM_GetNextSMS Sun 2020/08/23 07:39:35 python-gammu[436438]: gammu: Entering GSM_GetNextSMS Sun 2020/08/23 07:39:35 python-gammu[436438]: gammu: Number = 1, Location = 20010, Folder = 0 Sun 2020/08/23 07:39:36 python-gammu[436438]: gammu: Leaving GSM_GetNextSMS Sun 2020/08/23 07:39:36 python-gammu[436438]: Received message from: 1234 Sun 2020/08/23 07:39:36 python-gammu[436438]: gammu: Entering GSM_GetNextSMS Sun 2020/08/23 07:39:36 python-gammu[436438]: gammu: Number = 1, Location = 30042, Folder = 0 Sun 2020/08/23 07:39:38 python-gammu[436438]: gammu: Leaving GSM_GetNextSMS Sun 2020/08/23 07:39:38 python-gammu[436438]: gammu: Entering GSM_GetNextSMS Sun 2020/08/23 07:39:38 python-gammu[436438]: gammu: Number = 1, Location = 40015, Folder = 0 Sun 2020/08/23 07:39:38 python-gammu[436438]: gammu: Leaving GSM_GetNextSMS Sun 2020/08/23 07:39:38 python-gammu[436438]: gammu: Entering GSM_GetNextSMS Sun 2020/08/23 07:39:38 python-gammu[436438]: gammu: Number = 1, Location = 40020, Folder = 0 Sun 2020/08/23 07:39:38 python-gammu[436438]: gammu: Leaving GSM_GetNextSMS Sun 2020/08/23 07:39:39 python-gammu[436438]: gammu: Entering GSM_GetNextSMS Sun 2020/08/23 07:39:39 python-gammu[436438]: gammu: Number = 1, Location = 40021, Folder = 0 Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Empty entry. Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Leaving GSM_GetNextSMS Sun 2020/08/23 07:39:42 python-gammu[436438]: Read 2 messages Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Entering GSM_DeleteSMS Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Location = 10001, Folder = 0 Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Leaving GSM_DeleteSMS Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Entering GSM_DeleteSMS Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Location = 30042, Folder = 0 Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Leaving GSM_DeleteSMS Sun 2020/08/23 07:39:42 python-gammu[436438]: 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 Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Entering GSM_GetBatteryCharge Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Leaving GSM_GetBatteryCharge Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Entering GSM_GetSignalQuality Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Leaving GSM_GetSignalQuality Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Entering GSM_GetNetworkInfo Sun 2020/08/23 07:39:42 python-gammu[436438]: gammu: Leaving GSM_GetNetworkInfo Sun 2020/08/23 07:39:42 python-gammu[436438]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Sun 2020/08/23 07:39:43 python-gammu[436438]: gammu: Entering GSM_GetSecurityStatus Sun 2020/08/23 07:39:43 python-gammu[436438]: gammu: Leaving GSM_GetSecurityStatus Sun 2020/08/23 07:39:43 python-gammu[436438]: gammu: Entering GSM_GetSMSStatus Sun 2020/08/23 07:39:52 python-gammu[436438]: gammu: Leaving GSM_GetSMSStatus Sun 2020/08/23 07:39:52 python-gammu[436438]: gammu: Entering GSM_SetIncomingUSSD Sun 2020/08/23 07:39:52 python-gammu[436438]: gammu: Leaving GSM_SetIncomingUSSD Sun 2020/08/23 07:39:52 python-gammu[436438]: Disconnecting from SQL database. Sun 2020/08/23 07:39:52 python-gammu[436438]: gammu: Entering GSM_SetFastSMSSending Sun 2020/08/23 07:39:52 python-gammu[436438]: gammu: Leaving GSM_SetFastSMSSending Sun 2020/08/23 07:39:52 python-gammu[436438]: Stopping Gammu smsd: No error. (NONE[1]) Sun 2020/08/23 07:39:52 python-gammu[436438]: Terminating communication... Sun 2020/08/23 07:39:52 python-gammu[436438]: gammu: [Terminating] Sun 2020/08/23 07:39:52 python-gammu[436438]: gammu: [Closing] FAIL Sun 2020/08/23 07:39:52 python-gammu[436438]: 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.1/test/test_dummy.py:123: 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.1/test/test_dummy.py:315: 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.1/test/test_dummy.py:231: 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.1/test/test_dummy.py:235: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats state_machine.GetNextSMS( /builddir/build/BUILD/python-gammu-3.1/test/test_dummy.py:241: 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.1/test/test_config.py:99: 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.1/test/test_smsd.py", line 119, in test_smsd self.assertEqual( AssertionError: 0 != 2 : Messages were not received as expected (0)! ---------------------------------------------------------------------- Ran 51 tests in 101.933s FAILED (failures=1) Test failed: Gammu version (1, 41, 0), SMSD DB version 17 Gammu version (1, 41, 0), SMSD DB version 17 Gammu version (1, 41, 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.1-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iR5yxp + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.1 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-3.1-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.1-1.fc33.riscv64/usr/share/doc/python3-gammu + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/share/doc/python3-gammu + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/share/doc/python3-gammu + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-3.1-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.1-1.fc33.riscv64/usr/share/doc/python3-gammu + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jOt3Pq + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-3.1-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.1-1.fc33.riscv64/usr/share/licenses/python3-gammu + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64/usr/share/licenses/python3-gammu + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-gammu = 3.1-1.fc33 python3-gammu = 3.1-1.fc33 python3-gammu(riscv-64) = 3.1-1.fc33 python3.9-gammu = 3.1-1.fc33 python3.9dist(python-gammu) = 3.1 python3dist(python-gammu) = 3.1 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.1-1.fc33 Processing files: python-gammu-debugsource-3.1-1.fc33.riscv64 Provides: python-gammu-debugsource = 3.1-1.fc33 python-gammu-debugsource(riscv-64) = 3.1-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.1-1.fc33.riscv64 Provides: debuginfo(build-id) = 30919b77da98407cffa8f66123663106a90e10a7 python-gammu-debuginfo = 3.1-1.fc33 python3-gammu-debuginfo = 3.1-1.fc33 python3-gammu-debuginfo(riscv-64) = 3.1-1.fc33 python3.9-gammu-debuginfo = 3.1-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.1-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-gammu-3.1-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python-gammu-debugsource-3.1-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-gammu-debuginfo-3.1-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EMs9So + umask 022 + cd /builddir/build/BUILD + cd python-gammu-3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gammu-3.1-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0