Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rabbitsign.spec'], chrootPath='/var/lib/mock/f38-build-718988-96769/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rabbitsign.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1679270400 Wrote: /builddir/build/SRPMS/rabbitsign-2.1-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rabbitsign.spec'], chrootPath='/var/lib/mock/f38-build-718988-96769/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rabbitsign.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1679270400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uWKOKB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rabbitsign-2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rabbitsign-2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rabbitsign-2.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.waZ8iz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rabbitsign-2.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for function prototypes... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for strcasecmp... yes checking for stricmp... no checking for strrchr... yes checking for rindex... yes checking for strchr... yes checking for index... yes checking for memcpy... yes checking for random... yes checking for rand... yes configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 V=1 VERBOSE=1 cd src && /usr/bin/make make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./apps.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./apps.c:31:5: warning: conflicting types for 'rs_repair_program' due to enum/integer mismatch; have 'int(RSProgram *, unsigned int)' {aka 'int(struct _RSProgram *, unsigned int)'} [-Wenum-int-mismatch] 31 | int rs_repair_program(RSProgram* prgm, /* app to repair */ | ^~~~~~~~~~~~~~~~~ In file included from ./apps.c:25: ./rabbitsign.h:213:10: note: previous declaration of 'rs_repair_program' with type 'RSStatus(RSProgram *, RSRepairFlags)' {aka 'enum _RSStatus(struct _RSProgram *, enum _RSRepairFlags)'} 213 | RSStatus rs_repair_program (RSProgram* prgm, RSRepairFlags flags); | ^~~~~~~~~~~~~~~~~ ./apps.c:56:5: warning: conflicting types for 'rs_sign_program' due to enum/integer mismatch; have 'int(RSProgram *, RSKey *, int)' {aka 'int(struct _RSProgram *, struct _RSKey *, int)'} [-Wenum-int-mismatch] 56 | int rs_sign_program(RSProgram* prgm, /* app to sign */ | ^~~~~~~~~~~~~~~ ./rabbitsign.h:216:10: note: previous declaration of 'rs_sign_program' with type 'RSStatus(RSProgram *, RSKey *, int)' {aka 'enum _RSStatus(struct _RSProgram *, struct _RSKey *, int)'} 216 | RSStatus rs_sign_program (RSProgram* prgm, RSKey* key, int rootnum); | ^~~~~~~~~~~~~~~ ./apps.c:73:5: warning: conflicting types for 'rs_validate_program' due to enum/integer mismatch; have 'int(const RSProgram *, const RSKey *)' {aka 'int(const struct _RSProgram *, const struct _RSKey *)'} [-Wenum-int-mismatch] 73 | int rs_validate_program(const RSProgram* prgm, /* app to validate */ | ^~~~~~~~~~~~~~~~~~~ ./rabbitsign.h:219:10: note: previous declaration of 'rs_validate_program' with type 'RSStatus(const RSProgram *, const RSKey *)' {aka 'enum _RSStatus(const struct _RSProgram *, const struct _RSKey *)'} 219 | RSStatus rs_validate_program (const RSProgram* prgm, const RSKey* key); | ^~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./app9x.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./app9x.c:178:5: warning: conflicting types for 'rs_repair_ti9x_app' due to enum/integer mismatch; have 'int(RSProgram *, unsigned int)' {aka 'int(struct _RSProgram *, unsigned int)'} [-Wenum-int-mismatch] 178 | int rs_repair_ti9x_app(RSProgram* app, /* app to repair */ | ^~~~~~~~~~~~~~~~~~ In file included from ./app9x.c:25: ./rabbitsign.h:249:10: note: previous declaration of 'rs_repair_ti9x_app' with type 'RSStatus(RSProgram *, RSRepairFlags)' {aka 'enum _RSStatus(struct _RSProgram *, enum _RSRepairFlags)'} 249 | RSStatus rs_repair_ti9x_app (RSProgram* app, RSRepairFlags flags); | ^~~~~~~~~~~~~~~~~~ ./app9x.c:187:5: warning: conflicting types for 'rs_repair_ti9x_os' due to enum/integer mismatch; have 'int(RSProgram *, unsigned int)' {aka 'int(struct _RSProgram *, unsigned int)'} [-Wenum-int-mismatch] 187 | int rs_repair_ti9x_os(RSProgram* app, /* app to repair */ | ^~~~~~~~~~~~~~~~~ ./rabbitsign.h:252:10: note: previous declaration of 'rs_repair_ti9x_os' with type 'RSStatus(RSProgram *, RSRepairFlags)' {aka 'enum _RSStatus(struct _RSProgram *, enum _RSRepairFlags)'} 252 | RSStatus rs_repair_ti9x_os (RSProgram* app, RSRepairFlags flags); | ^~~~~~~~~~~~~~~~~ ./app9x.c:199:5: warning: conflicting types for 'rs_sign_ti9x_app' due to enum/integer mismatch; have 'int(RSProgram *, RSKey *)' {aka 'int(struct _RSProgram *, struct _RSKey *)'} [-Wenum-int-mismatch] 199 | int rs_sign_ti9x_app(RSProgram* app, /* app to sign */ | ^~~~~~~~~~~~~~~~ ./rabbitsign.h:255:10: note: previous declaration of 'rs_sign_ti9x_app' with type 'RSStatus(RSProgram *, RSKey *)' {aka 'enum _RSStatus(struct _RSProgram *, struct _RSKey *)'} 255 | RSStatus rs_sign_ti9x_app (RSProgram* app, RSKey* key); | ^~~~~~~~~~~~~~~~ ./app9x.c:236:5: warning: conflicting types for 'rs_validate_ti9x_app' due to enum/integer mismatch; have 'int(const RSProgram *, const RSKey *)' {aka 'int(const struct _RSProgram *, const struct _RSKey *)'} [-Wenum-int-mismatch] 236 | int rs_validate_ti9x_app(const RSProgram* app, /* app to validate */ | ^~~~~~~~~~~~~~~~~~~~ ./rabbitsign.h:258:10: note: previous declaration of 'rs_validate_ti9x_app' with type 'RSStatus(const RSProgram *, const RSKey *)' {aka 'enum _RSStatus(const struct _RSProgram *, const struct _RSKey *)'} 258 | RSStatus rs_validate_ti9x_app (const RSProgram* app, const RSKey* key); | ^~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -DSHARE_DIR=\"/usr/share/rabbitsign/\" -c ./autokey.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./autokey.c:152:5: warning: conflicting types for 'rs_key_find_for_id' due to enum/integer mismatch; have 'int(RSKey *, long unsigned int, int)' {aka 'int(struct _RSKey *, long unsigned int, int)'} [-Wenum-int-mismatch] 152 | int rs_key_find_for_id(RSKey* key, /* key structure to store | ^~~~~~~~~~~~~~~~~~ In file included from ./autokey.c:37: ./rabbitsign.h:207:10: note: previous declaration of 'rs_key_find_for_id' with type 'RSStatus(RSKey *, long unsigned int, int)' {aka 'enum _RSStatus(struct _RSKey *, long unsigned int, int)'} 207 | RSStatus rs_key_find_for_id (RSKey* key, unsigned long keyid, int publiconly); | ^~~~~~~~~~~~~~~~~~ ./autokey.c: In function 'rs_key_find_for_id': ./autokey.c:169:24: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 169 | sprintf(buf, "%04lX", keyid); | ^ In file included from /usr/include/stdio.h:906, from ./autokey.c:23: In function 'sprintf', inlined from 'rs_key_find_for_id' at ./autokey.c:169:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./app8x.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./app8x.c:47:5: warning: conflicting types for 'rs_repair_ti8x_app' due to enum/integer mismatch; have 'int(RSProgram *, unsigned int)' {aka 'int(struct _RSProgram *, unsigned int)'} [-Wenum-int-mismatch] 47 | int rs_repair_ti8x_app(RSProgram* app, /* app to repair */ | ^~~~~~~~~~~~~~~~~~ In file included from ./app8x.c:25: ./rabbitsign.h:225:10: note: previous declaration of 'rs_repair_ti8x_app' with type 'RSStatus(RSProgram *, RSRepairFlags)' {aka 'enum _RSStatus(struct _RSProgram *, enum _RSRepairFlags)'} 225 | RSStatus rs_repair_ti8x_app (RSProgram* app, RSRepairFlags flags); | ^~~~~~~~~~~~~~~~~~ ./app8x.c:281:5: warning: conflicting types for 'rs_sign_ti8x_app' due to enum/integer mismatch; have 'int(RSProgram *, RSKey *, int)' {aka 'int(struct _RSProgram *, struct _RSKey *, int)'} [-Wenum-int-mismatch] 281 | int rs_sign_ti8x_app(RSProgram* app, /* app to sign */ | ^~~~~~~~~~~~~~~~ ./rabbitsign.h:228:10: note: previous declaration of 'rs_sign_ti8x_app' with type 'RSStatus(RSProgram *, RSKey *, int)' {aka 'enum _RSStatus(struct _RSProgram *, struct _RSKey *, int)'} 228 | RSStatus rs_sign_ti8x_app (RSProgram* app, RSKey* key, int rootnum); | ^~~~~~~~~~~~~~~~ ./app8x.c:354:5: warning: conflicting types for 'rs_validate_ti8x_app' due to enum/integer mismatch; have 'int(const RSProgram *, const RSKey *)' {aka 'int(const struct _RSProgram *, const struct _RSKey *)'} [-Wenum-int-mismatch] 354 | int rs_validate_ti8x_app(const RSProgram* app, /* app to validate */ | ^~~~~~~~~~~~~~~~~~~~ ./rabbitsign.h:231:10: note: previous declaration of 'rs_validate_ti8x_app' with type 'RSStatus(const RSProgram *, const RSKey *)' {aka 'enum _RSStatus(const struct _RSProgram *, const struct _RSKey *)'} 231 | RSStatus rs_validate_ti8x_app (const RSProgram* app, const RSKey* key); | ^~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./cmdline.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./rabbitsign.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./graphlink.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./graphlink.c:52:5: warning: conflicting types for 'rs_write_tifl_header' due to enum/integer mismatch; have 'int(FILE *, int, int, int, int, int, int, const char *, int, int, long unsigned int)' [-Wenum-int-mismatch] 52 | int rs_write_tifl_header(FILE* outfile, /* file to write to */ | ^~~~~~~~~~~~~~~~~~~~ In file included from ./graphlink.c:45: ./internal.h:58:10: note: previous declaration of 'rs_write_tifl_header' with type 'RSStatus(FILE *, int, int, int, int, int, int, const char *, int, int, long unsigned int)' {aka 'enum _RSStatus(FILE *, int, int, int, int, int, int, const char *, int, int, long unsigned int)'} 58 | RSStatus rs_write_tifl_header (FILE* f, int is_hex, int major, int minor, | ^~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./error.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./header.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./mem.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./keys.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./keys.c:117:5: warning: conflicting types for 'rs_read_key_file' due to enum/integer mismatch; have 'int(RSKey *, FILE *, const char *, int)' {aka 'int(struct _RSKey *, FILE *, const char *, int)'} [-Wenum-int-mismatch] 117 | int rs_read_key_file(RSKey* key, /* key structure */ | ^~~~~~~~~~~~~~~~ In file included from ./keys.c:33: ./rabbitsign.h:172:10: note: previous declaration of 'rs_read_key_file' with type 'RSStatus(RSKey *, FILE *, const char *, int)' {aka 'enum _RSStatus(struct _RSKey *, FILE *, const char *, int)'} 172 | RSStatus rs_read_key_file (RSKey* key, FILE* f, | ^~~~~~~~~~~~~~~~ ./keys.c:224:5: warning: conflicting types for 'rs_parse_key_value' due to enum/integer mismatch; have 'int(__mpz_struct *, const char *)' [-Wenum-int-mismatch] 224 | int rs_parse_key_value(mpz_t dest, /* mpz to store result */ | ^~~~~~~~~~~~~~~~~~ ./rabbitsign.h:176:10: note: previous declaration of 'rs_parse_key_value' with type 'RSStatus(__mpz_struct *, const char *)' {aka 'enum _RSStatus(__mpz_struct *, const char *)'} 176 | RSStatus rs_parse_key_value (mpz_t dest, const char* str); | ^~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./output.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./output.c:30:5: warning: conflicting types for 'rs_write_program_file' due to enum/integer mismatch; have 'int(const RSProgram *, FILE *, int, int, int, unsigned int)' {aka 'int(const struct _RSProgram *, FILE *, int, int, int, unsigned int)'} [-Wenum-int-mismatch] 30 | int rs_write_program_file(const RSProgram* prgm, FILE* f, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./output.c:25: ./rabbitsign.h:274:10: note: previous declaration of 'rs_write_program_file' with type 'RSStatus(const RSProgram *, FILE *, int, int, int, RSOutputFlags)' {aka 'enum _RSStatus(const struct _RSProgram *, FILE *, int, int, int, enum _RSOutputFlags)'} 274 | RSStatus rs_write_program_file(const RSProgram* prgm, FILE* f, | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./os8x.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./os8x.c:53:5: warning: conflicting types for 'rs_repair_ti8x_os' due to enum/integer mismatch; have 'int(RSProgram *, unsigned int)' {aka 'int(struct _RSProgram *, unsigned int)'} [-Wenum-int-mismatch] 53 | int rs_repair_ti8x_os(RSProgram* os, /* OS */ | ^~~~~~~~~~~~~~~~~ In file included from ./os8x.c:33: ./rabbitsign.h:237:10: note: previous declaration of 'rs_repair_ti8x_os' with type 'RSStatus(RSProgram *, RSRepairFlags)' {aka 'enum _RSStatus(struct _RSProgram *, enum _RSRepairFlags)'} 237 | RSStatus rs_repair_ti8x_os (RSProgram* os, RSRepairFlags flags); | ^~~~~~~~~~~~~~~~~ ./os8x.c:207:5: warning: conflicting types for 'rs_sign_ti8x_os' due to enum/integer mismatch; have 'int(RSProgram *, RSKey *)' {aka 'int(struct _RSProgram *, struct _RSKey *)'} [-Wenum-int-mismatch] 207 | int rs_sign_ti8x_os(RSProgram* os, /* OS */ | ^~~~~~~~~~~~~~~ ./rabbitsign.h:240:10: note: previous declaration of 'rs_sign_ti8x_os' with type 'RSStatus(RSProgram *, RSKey *)' {aka 'enum _RSStatus(struct _RSProgram *, struct _RSKey *)'} 240 | RSStatus rs_sign_ti8x_os (RSProgram* os, RSKey* key); | ^~~~~~~~~~~~~~~ ./os8x.c:257:5: warning: conflicting types for 'rs_validate_ti8x_os' due to enum/integer mismatch; have 'int(const RSProgram *, const RSKey *)' {aka 'int(const struct _RSProgram *, const struct _RSKey *)'} [-Wenum-int-mismatch] 257 | int rs_validate_ti8x_os(const RSProgram* os, | ^~~~~~~~~~~~~~~~~~~ ./rabbitsign.h:243:10: note: previous declaration of 'rs_validate_ti8x_os' with type 'RSStatus(const RSProgram *, const RSKey *)' {aka 'enum _RSStatus(const struct _RSProgram *, const struct _RSKey *)'} 243 | RSStatus rs_validate_ti8x_os (const RSProgram* os, const RSKey* key); | ^~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./output9x.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./output9x.c:44:5: warning: conflicting types for 'rs_write_ti9x_file' due to enum/integer mismatch; have 'int(const RSProgram *, FILE *, int, int, int, unsigned int)' {aka 'int(const struct _RSProgram *, FILE *, int, int, int, unsigned int)'} [-Wenum-int-mismatch] 44 | int rs_write_ti9x_file(const RSProgram* prgm, /* program */ | ^~~~~~~~~~~~~~~~~~ In file included from ./output9x.c:33: ./rabbitsign.h:290:10: note: previous declaration of 'rs_write_ti9x_file' with type 'RSStatus(const RSProgram *, FILE *, int, int, int, RSOutputFlags)' {aka 'enum _RSStatus(const struct _RSProgram *, FILE *, int, int, int, enum _RSOutputFlags)'} 290 | RSStatus rs_write_ti9x_file (const RSProgram* prgm, FILE* f, | ^~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./input.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./input.c:441:5: warning: conflicting types for 'rs_read_program_file' due to enum/integer mismatch; have 'int(RSProgram *, FILE *, const char *, unsigned int)' {aka 'int(struct _RSProgram *, FILE *, const char *, unsigned int)'} [-Wenum-int-mismatch] 441 | int rs_read_program_file(RSProgram* prgm, /* program */ | ^~~~~~~~~~~~~~~~~~~~ In file included from ./input.c:33: ./rabbitsign.h:267:10: note: previous declaration of 'rs_read_program_file' with type 'RSStatus(RSProgram *, FILE *, const char *, RSInputFlags)' {aka 'enum _RSStatus(struct _RSProgram *, FILE *, const char *, enum _RSInputFlags)'} 267 | RSStatus rs_read_program_file (RSProgram* prgm, FILE* f, | ^~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./output8x.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./output8x.c:115:5: warning: conflicting types for 'rs_write_ti8x_file' due to enum/integer mismatch; have 'int(const RSProgram *, FILE *, int, int, int, unsigned int)' {aka 'int(const struct _RSProgram *, FILE *, int, int, int, unsigned int)'} [-Wenum-int-mismatch] 115 | int rs_write_ti8x_file(const RSProgram* prgm, /* program */ | ^~~~~~~~~~~~~~~~~~ In file included from ./output8x.c:33: ./rabbitsign.h:282:10: note: previous declaration of 'rs_write_ti8x_file' with type 'RSStatus(const RSProgram *, FILE *, int, int, int, RSOutputFlags)' {aka 'enum _RSStatus(const struct _RSProgram *, FILE *, int, int, int, enum _RSOutputFlags)'} 282 | RSStatus rs_write_ti8x_file (const RSProgram* prgm, FILE* f, | ^~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./rsa.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./rsa.c:85:5: warning: conflicting types for 'rs_sign_rsa' due to enum/integer mismatch; have 'int(__mpz_struct *, const __mpz_struct *, RSKey *)' {aka 'int(__mpz_struct *, const __mpz_struct *, struct _RSKey *)'} [-Wenum-int-mismatch] 85 | int rs_sign_rsa(mpz_t res, /* mpz to store signature */ | ^~~~~~~~~~~ In file included from ./rsa.c:26: ./internal.h:48:10: note: previous declaration of 'rs_sign_rsa' with type 'RSStatus(__mpz_struct *, const __mpz_struct *, RSKey *)' {aka 'enum _RSStatus(__mpz_struct *, const __mpz_struct *, struct _RSKey *)'} 48 | RSStatus rs_sign_rsa (mpz_t res, const mpz_t hash, RSKey* key); | ^~~~~~~~~~~ ./rsa.c:115:5: warning: conflicting types for 'rs_validate_rsa' due to enum/integer mismatch; have 'int(const __mpz_struct *, const __mpz_struct *, const RSKey *)' {aka 'int(const __mpz_struct *, const __mpz_struct *, const struct _RSKey *)'} [-Wenum-int-mismatch] 115 | int rs_validate_rsa(const mpz_t sig, /* purported signature of app */ | ^~~~~~~~~~~~~~~ ./internal.h:51:10: note: previous declaration of 'rs_validate_rsa' with type 'RSStatus(const __mpz_struct *, const __mpz_struct *, const RSKey *)' {aka 'enum _RSStatus(const __mpz_struct *, const __mpz_struct *, const struct _RSKey *)'} 51 | RSStatus rs_validate_rsa (const mpz_t sig, const mpz_t hash, | ^~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./program.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./program.c:130:5: warning: conflicting types for 'rs_program_set_length' due to enum/integer mismatch; have 'int(RSProgram *, long unsigned int)' {aka 'int(struct _RSProgram *, long unsigned int)'} [-Wenum-int-mismatch] 130 | int rs_program_set_length(RSProgram* prgm, /* program */ | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./program.c:33: ./rabbitsign.h:194:10: note: previous declaration of 'rs_program_set_length' with type 'RSStatus(RSProgram *, long unsigned int)' {aka 'enum _RSStatus(struct _RSProgram *, long unsigned int)'} 194 | RSStatus rs_program_set_length (RSProgram* prgm, unsigned long length); | ^~~~~~~~~~~~~~~~~~~~~ ./program.c:166:5: warning: conflicting types for 'rs_program_append_data' due to enum/integer mismatch; have 'int(RSProgram *, const unsigned char *, long unsigned int)' {aka 'int(struct _RSProgram *, const unsigned char *, long unsigned int)'} [-Wenum-int-mismatch] 166 | int rs_program_append_data(RSProgram* prgm, /* program */ | ^~~~~~~~~~~~~~~~~~~~~~ ./rabbitsign.h:197:10: note: previous declaration of 'rs_program_append_data' with type 'RSStatus(RSProgram *, const unsigned char *, long unsigned int)' {aka 'enum _RSStatus(struct _RSProgram *, const unsigned char *, long unsigned int)'} 197 | RSStatus rs_program_append_data (RSProgram* prgm, const unsigned char* data, | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./rabin.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ./rabin.c:327:5: warning: conflicting types for 'rs_sign_rabin' due to enum/integer mismatch; have 'int(__mpz_struct *, int *, const __mpz_struct *, int, RSKey *)' {aka 'int(__mpz_struct *, int *, const __mpz_struct *, int, struct _RSKey *)'} [-Wenum-int-mismatch] 327 | int rs_sign_rabin(mpz_t res, /* mpz to store signature */ | ^~~~~~~~~~~~~ In file included from ./rabin.c:26: ./internal.h:37:10: note: previous declaration of 'rs_sign_rabin' with type 'RSStatus(__mpz_struct *, int *, const __mpz_struct *, int, RSKey *)' {aka 'enum _RSStatus(__mpz_struct *, int *, const __mpz_struct *, int, struct _RSKey *)'} 37 | RSStatus rs_sign_rabin (mpz_t res, int* f, const mpz_t hash, | ^~~~~~~~~~~~~ ./rabin.c:396:5: warning: conflicting types for 'rs_validate_rabin' due to enum/integer mismatch; have 'int(const __mpz_struct *, int, const __mpz_struct *, const RSKey *)' {aka 'int(const __mpz_struct *, int, const __mpz_struct *, const struct _RSKey *)'} [-Wenum-int-mismatch] 396 | int rs_validate_rabin (const mpz_t sig, /* purported signature of app */ | ^~~~~~~~~~~~~~~~~ ./internal.h:41:10: note: previous declaration of 'rs_validate_rabin' with type 'RSStatus(const __mpz_struct *, int, const __mpz_struct *, const RSKey *)' {aka 'enum _RSStatus(const __mpz_struct *, int, const __mpz_struct *, const struct _RSKey *)'} 41 | RSStatus rs_validate_rabin (const mpz_t sig, int f, const mpz_t hash, | ^~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./typestr.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./packxxk.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./rskeygen.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -I.. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -c ./md5.c make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rskeygen.o -lgmp -o rskeygen make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' ar cru librabbitsign.a app8x.o app9x.o apps.o autokey.o cmdline.o error.o graphlink.o header.o input.o keys.o mem.o os8x.o output.o output8x.o output9x.o program.o rabin.o rsa.o typestr.o md5.o ranlib librabbitsign.a make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes packxxk.o -L. -lrabbitsign -lgmp -o packxxk make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes rabbitsign.o -L. -lrabbitsign -lgmp -o rabbitsign make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1OrSp4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rabbitsign-2.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64 'INSTALL=/usr/bin/install -p' cd src && /usr/bin/make install make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin /usr/bin/install -p -m 755 rskeygen /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin /usr/bin/install -p -m 755 rabbitsign /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin /usr/bin/install -p -m 755 packxxk /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' cd man && /usr/bin/make install make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/man' /usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./rabbitsign.1 /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./packxxk.1 /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./rskeygen.1 /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/man' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.1-1.fc38 --unique-debug-suffix -2.1-1.fc38.riscv64 --unique-debug-src-base rabbitsign-2.1-1.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rabbitsign-2.1 extracting debug info from /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin/packxxk extracting debug info from /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin/rskeygen extracting debug info from /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/bin/rabbitsign original debug info size: 872kB, size after compression: 824kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 312 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XlgKtW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rabbitsign-2.1 + make check cd test && make check make[1]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/test' gcc -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -W -Wall -Wwrite-strings -DHAVE_CONFIG_H -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ./randapp.c -o randapp cd ../src && make rabbitsign rskeygen make[2]: Entering directory '/builddir/build/BUILD/rabbitsign-2.1/src' make[2]: 'rabbitsign' is up to date. make[2]: 'rskeygen' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/src' ../src/rskeygen --ti >1234.key ./test-rabbitsign.sh 1234 Generating a random application... ./randapp 1234 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig Testing the signature... ../src/rabbitsign -c test.sig ../src/rskeygen --ti >1234.key ./test-rabbitsign.sh 1234 Generating a random application... ./randapp 1234 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig Testing the signature... ../src/rabbitsign -c test.sig ../src/rskeygen >1201.key ./test-rabbitsign.sh 1201 Generating a random application... ./randapp 1201 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig test.hex: warning: re-signing discards 69 bytes Testing the signature... ../src/rabbitsign -c test.sig ../src/rskeygen >1202.key ./test-rabbitsign.sh 1202 Generating a random application... ./randapp 1202 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig Testing the signature... ../src/rabbitsign -c test.sig ../src/rskeygen >1203.key ./test-rabbitsign.sh 1203 Generating a random application... ./randapp 1203 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig test.hex: warning: re-signing discards 69 bytes Testing the signature... ../src/rabbitsign -c test.sig ../src/rskeygen >1204.key ./test-rabbitsign.sh 1204 Generating a random application... ./randapp 1204 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig Testing the signature... ../src/rabbitsign -c test.sig rm -f 1234.key 1201.key 1202.key 1203.key 1204.key ./test-rabbitsign.sh 0104 Generating a random application... ./randapp 0104 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig Testing the signature... ../src/rabbitsign -c test.sig ./test-rabbitsign.sh 0104 Generating a random application... ./randapp 0104 >test.hex Testing that the unsigned app fails validation... ../src/rabbitsign -c test.hex Signing the app with rabbitsign... ../src/rabbitsign -r test.hex -o test.sig Testing the signature... ../src/rabbitsign -c test.sig Testing the sample app... ../src/rabbitsign -a ./sample.hex -o sample.app ./sample.hex: warning: application length incorrect ./sample.hex: warning: (perhaps you meant to use -r?) ../src/rabbitsign -c sample.app diff sample.app ./sample-a.app make[1]: Leaving directory '/builddir/build/BUILD/rabbitsign-2.1/test' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rabbitsign-2.1-1.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tVJXjW + umask 022 + cd /builddir/build/BUILD + cd rabbitsign-2.1 + DOCDIR=/builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/doc/rabbitsign + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/doc/rabbitsign + cp -pr README /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/doc/rabbitsign + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xNm9kT + umask 022 + cd /builddir/build/BUILD + cd rabbitsign-2.1 + LICENSEDIR=/builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/licenses/rabbitsign + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/licenses/rabbitsign + cp -pr COPYING /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64/usr/share/licenses/rabbitsign + RPM_EC=0 ++ jobs -p + exit 0 Provides: rabbitsign = 2.1-1.fc38 rabbitsign(riscv-64) = 2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgmp.so.10()(64bit) rtld(GNU_HASH) Processing files: rabbitsign-debugsource-2.1-1.fc38.riscv64 Provides: rabbitsign-debugsource = 2.1-1.fc38 rabbitsign-debugsource(riscv-64) = 2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rabbitsign-debuginfo-2.1-1.fc38.riscv64 Provides: debuginfo(build-id) = 9b7ca5c1966ba2d4bd1fd1b18c0b032e4af83c3c debuginfo(build-id) = a41d2e9ca1fbfa07f81a3a22ff08bb2411cbbc12 debuginfo(build-id) = c2da3d66ce110ad0a818f4c0e7a7595201754747 rabbitsign-debuginfo = 2.1-1.fc38 rabbitsign-debuginfo(riscv-64) = 2.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rabbitsign-debugsource(riscv-64) = 2.1-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64 Wrote: /builddir/build/RPMS/rabbitsign-2.1-1.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/rabbitsign-debugsource-2.1-1.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/rabbitsign-debuginfo-2.1-1.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5xgzlr + umask 022 + cd /builddir/build/BUILD + cd rabbitsign-2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rabbitsign-2.1-1.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.zG2ZL6 + umask 022 + cd /builddir/build/BUILD + rm -rf rabbitsign-2.1 rabbitsign-2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0