D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/cjose-0.6.1-1.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.APjZny
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf cjose-0.6.1
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/cjose-0.6.1.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cjose-0.6.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/concatkdf.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Xp984S
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd cjose-0.6.1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking)
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
Fixing libtool inside configure to pass -Wl,xxx options before libraries
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection)
+ ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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 --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for aarch64-mageia-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for aarch64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for aarch64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for aarch64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for aarch64-mageia-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... 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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for aarch64-mageia-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
./configure: line 12746: ON: command not found
./configure: line 12747: ON: command not found
checking for aarch64-mageia-linux-gnu-doxygen... no
checking for doxygen... /usr/bin/doxygen
checking for aarch64-mageia-linux-gnu-perl... no
checking for perl... /usr/bin/perl
checking for aarch64-mageia-linux-gnu-latex... no
checking for latex... no
configure: WARNING: latex not found - will not generate doxygen PostScript documentation
checking for aarch64-mageia-linux-gnu-makeindex... no
checking for makeindex... no
checking for aarch64-mageia-linux-gnu-dvips... no
checking for dvips... no
checking for aarch64-mageia-linux-gnu-egrep... no
checking for egrep... /usr/bin/egrep
checking for aarch64-mageia-linux-gnu-pdflatex... no
checking for pdflatex... no
configure: WARNING: pdflatex not found - will not generate doxygen PDF documentation
checking for aarch64-mageia-linux-gnu-makeindex... no
checking for makeindex... no
checking for aarch64-mageia-linux-gnu-egrep... /usr/bin/egrep
checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for check >= 0.9.4... yes
checking for --with-openssl... no
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking openssl/fec.h usability... no
checking openssl/fec.h presence... no
checking for openssl/fec.h... no
checking for --with-jansson... no
checking for json_object in -ljansson... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/cjose/version.h
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating platform/Makefile
config.status: creating platform/centos/Makefile
config.status: creating platform/debian/Makefile
config.status: creating cjose.pc
config.status: executing depfiles commands
config.status: executing libtool commands

  (cjose) version 0.6.1
  Prefix.........: /usr
  Using OpenSSL..: 
  Using Jansson..: 
  Unit tests.....: yes

+ /usr/bin/make -O -j4 V=1 VERBOSE=1
Making all in .
make[1]: Nothing to be done for 'all-am'.
Making all in include
make[1]: Nothing to be done for 'all'.
Making all in src
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-version.lo `test -f 'version.c' || echo './'`version.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c version.c  -fPIC -DPIC -o .libs/libcjose_la-version.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-util.lo `test -f 'util.c' || echo './'`util.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c util.c  -fPIC -DPIC -o .libs/libcjose_la-util.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-concatkdf.lo `test -f 'concatkdf.c' || echo './'`concatkdf.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c concatkdf.c  -fPIC -DPIC -o .libs/libcjose_la-concatkdf.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-base64.lo `test -f 'base64.c' || echo './'`base64.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c base64.c  -fPIC -DPIC -o .libs/libcjose_la-base64.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-header.lo `test -f 'header.c' || echo './'`header.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c header.c  -fPIC -DPIC -o .libs/libcjose_la-header.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-jws.lo `test -f 'jws.c' || echo './'`jws.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c jws.c  -fPIC -DPIC -o .libs/libcjose_la-jws.o
jws.c: In function '_cjose_jws_build_dig_hmac_sha':
jws.c:272:5: error: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  272 |     ctx = HMAC_CTX_new();
      |     ^~~
In file included from jws.c:19:
/usr/include/openssl/hmac.h:33:33: note: declared here
   33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
      |                                 ^~~~~~~~~~~~
jws.c:287:5: error: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  287 |     if (HMAC_Init_ex(ctx, jwk->keydata, jwk->keysize / 8, digest_alg, NULL) != 1)
      |     ^~
In file included from jws.c:19:
/usr/include/openssl/hmac.h:43:27: note: declared here
   43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
      |                           ^~~~~~~~~~~~
jws.c:292:5: error: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  292 |     if (HMAC_Update(ctx, (const unsigned char *)jws->hdr_b64u, jws->hdr_b64u_len) != 1)
      |     ^~
In file included from jws.c:19:
/usr/include/openssl/hmac.h:45:27: note: declared here
   45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
      |                           ^~~~~~~~~~~
jws.c:297:5: error: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  297 |     if (HMAC_Update(ctx, (const unsigned char *)".", 1) != 1)
      |     ^~
In file included from jws.c:19:
/usr/include/openssl/hmac.h:45:27: note: declared here
   45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
      |                           ^~~~~~~~~~~
jws.c:302:5: error: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  302 |     if (HMAC_Update(ctx, (const unsigned char *)jws->dat_b64u, jws->dat_b64u_len) != 1)
      |     ^~
In file included from jws.c:19:
/usr/include/openssl/hmac.h:45:27: note: declared here
   45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
      |                           ^~~~~~~~~~~
jws.c:307:5: error: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  307 |     if (HMAC_Final(ctx, jws->dig, NULL) != 1)
      |     ^~
In file included from jws.c:19:
/usr/include/openssl/hmac.h:47:27: note: declared here
   47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
      |                           ^~~~~~~~~~
jws.c:320:9: error: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  320 |         HMAC_CTX_free(ctx);
      |         ^~~~~~~~~~~~~
In file included from jws.c:19:
/usr/include/openssl/hmac.h:35:28: note: declared here
   35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
      |                            ^~~~~~~~~~~~~
jws.c: In function '_cjose_jws_build_sig_ps':
jws.c:378:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  378 |     em_len = RSA_size((RSA *)jwk->keydata);
      |     ^~~~~~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
jws.c:385:5: error: 'RSA_padding_add_PKCS1_PSS' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  385 |     if (RSA_padding_add_PKCS1_PSS((RSA *)jwk->keydata, em, jws->dig, digest_alg, -1) != 1)
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:428:5: note: declared here
  428 | int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
jws.c:400:5: error: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  400 |     if (RSA_private_encrypt(em_len, em, jws->sig, (RSA *)jwk->keydata, RSA_NO_PADDING) != jws->sig_len)
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:285:5: note: declared here
  285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
jws.c: In function '_cjose_jws_build_sig_rs':
jws.c:440:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  440 |     jws->sig_len = RSA_size((RSA *)jwk->keydata);
      |     ^~~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
jws.c:472:5: error: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  472 |     if (RSA_sign(digest_alg, jws->dig, jws->dig_len, jws->sig, &siglen, (RSA *)jwk->keydata) != 1)
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:348:27: note: declared here
  348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
      |                           ^~~~~~~~
jws.c: In function '_cjose_jws_build_sig_ec':
jws.c:534:5: error: 'ECDSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  534 |     ECDSA_SIG *ecdsa_sig = ECDSA_do_sign(jws->dig, jws->dig_len, ec);
      |     ^~~~~~~~~
In file included from include/jwk_int.h:20,
                 from jws.c:21:
/usr/include/openssl/ec.h:1363:34: note: declared here
 1363 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,
      |                                  ^~~~~~~~~~~~~
jws.c: In function '_cjose_jws_verify_sig_ps':
jws.c:885:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  885 |     em_len = RSA_size((RSA *)jwk->keydata);
      |     ^~~~~~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
jws.c:894:5: error: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  894 |     if (RSA_public_decrypt(jws->sig_len, jws->sig, em, (RSA *)jwk->keydata, RSA_NO_PADDING) != em_len)
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
jws.c:901:5: error: 'RSA_verify_PKCS1_PSS' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  901 |     if (RSA_verify_PKCS1_PSS((RSA *)jwk->keydata, jws->dig, digest_alg, em, -1) != 1)
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:424:5: note: declared here
  424 | int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
      |     ^~~~~~~~~~~~~~~~~~~~
jws.c: In function '_cjose_jws_verify_sig_rs':
jws.c:951:5: error: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  951 |     if (RSA_verify(digest_alg, jws->dig, jws->dig_len, jws->sig, jws->sig_len, (RSA *)jwk->keydata) != 1)
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jws.c:12:
/usr/include/openssl/rsa.h:351:27: note: declared here
  351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
      |                           ^~~~~~~~~~
jws.c: In function '_cjose_jws_verify_sig_ec':
jws.c:1020:5: error: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1020 |     if (ECDSA_do_verify(jws->dig, jws->dig_len, ecdsa_sig, ec) != 1)
      |     ^~
In file included from include/jwk_int.h:20,
                 from jws.c:21:
/usr/include/openssl/ec.h:1389:27: note: declared here
 1389 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                           ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:543: libcjose_la-jws.lo] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-error.lo `test -f 'error.c' || echo './'`error.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c error.c  -fPIC -DPIC -o .libs/libcjose_la-error.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-jwk.lo `test -f 'jwk.c' || echo './'`jwk.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c jwk.c  -fPIC -DPIC -o .libs/libcjose_la-jwk.o
jwk.c: In function '_cjose_jwk_rsa_get':
jwk.c:58:5: error: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
   58 |     RSA_get0_key(rsa, (const BIGNUM **)rsa_n, (const BIGNUM **)rsa_e, (const BIGNUM **)rsa_d);
      |     ^~~~~~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
jwk.c: In function '_cjose_jwk_rsa_set':
jwk.c:82:5: error: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
   82 |     return RSA_set0_key(rsa, rsa_n, rsa_e, rsa_d) == 1;
      |     ^~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
jwk.c: In function '_cjose_jwk_rsa_get_factors':
jwk.c:94:5: error: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
   94 |     RSA_get0_factors(rsa, (const BIGNUM **)p, (const BIGNUM **)q);
      |     ^~~~~~~~~~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
jwk.c: In function '_cjose_jwk_rsa_set_factors':
jwk.c:111:5: error: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  111 |     RSA_set0_factors(rsa, rsa_p, rsa_q);
      |     ^~~~~~~~~~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:208:27: note: declared here
  208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
jwk.c: In function '_cjose_jwk_rsa_get_crt':
jwk.c:121:5: error: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  121 |     RSA_get0_crt_params(rsa, (const BIGNUM **)dmp1, (const BIGNUM **)dmq1, (const BIGNUM **)iqmp);
      |     ^~~~~~~~~~~~~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:225:28: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
jwk.c: In function '_cjose_jwk_rsa_set_crt':
jwk.c:142:5: error: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  142 |     RSA_set0_crt_params(rsa, rsa_dmp1, rsa_dmq1, rsa_iqmp);
      |     ^~~~~~~~~~~~~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:209:27: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
jwk.c: In function '_EC_free':
jwk.c:636:13: error: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  636 |             EC_KEY_free(ec);
      |             ^~~~~~~~~~~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1001:28: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
jwk.c: In function '_EC_public_fields':
jwk.c:670:5: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  670 |     pub = EC_KEY_get0_public_key(keydata->key);
      |     ^~~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1060:39: note: declared here
 1060 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
jwk.c:671:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  671 |     params = EC_KEY_get0_group(keydata->key);
      |     ^~~~~~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1032:39: note: declared here
 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
jwk.c:686:5: error: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  686 |     if (1 != EC_POINT_get_affine_coordinates_GFp(params, pub, bnX, bnY, NULL))
      |     ^~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:657:27: note: declared here
  657 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jwk.c: In function '_EC_private_fields':
jwk.c:760:5: error: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  760 |     const BIGNUM *bnD = EC_KEY_get0_private_key(keydata->key);
      |     ^~~~~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1046:37: note: declared here
 1046 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
jwk.c: In function 'cjose_jwk_create_EC_random':
jwk.c:819:5: error: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  819 |     ec = EC_KEY_new_by_curve_name(crv);
      |     ^~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:996:31: note: declared here
  996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
jwk.c:826:5: error: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  826 |     if (1 != EC_KEY_generate_key(ec))
      |     ^~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1099:27: note: declared here
 1099 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
      |                           ^~~~~~~~~~~~~~~~~~~
jwk.c:848:9: error: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  848 |         EC_KEY_free(ec);
      |         ^~~~~~~~~~~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1001:28: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
jwk.c: In function 'cjose_jwk_create_EC_spec':
jwk.c:879:5: error: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  879 |     ec = EC_KEY_new_by_curve_name(spec->crv);
      |     ^~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:996:31: note: declared here
  996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
jwk.c:886:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  886 |     params = (EC_GROUP *)EC_KEY_get0_group(ec);
      |     ^~~~~~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1032:39: note: declared here
 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
jwk.c:902:9: error: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  902 |         if (1 != EC_KEY_set_private_key(ec, bnD))
      |         ^~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1054:27: note: declared here
 1054 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
jwk.c:942:9: error: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  942 |         if (1 != EC_POINT_set_affine_coordinates_GFp(params, Q, bnX, bnY, NULL))
      |         ^~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:644:27: note: declared here
  644 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jwk.c:950:5: error: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  950 |     if (1 != EC_KEY_set_public_key(ec, Q))
      |     ^~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1068:27: note: declared here
 1068 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
jwk.c:973:9: error: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  973 |         EC_KEY_free(ec);
      |         ^~~~~~~~~~~
In file included from include/jwk_int.h:20,
                 from jwk.c:8:
/usr/include/openssl/ec.h:1001:28: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
jwk.c: In function '_RSA_new':
jwk.c:1034:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1034 |     jwk->keysize = RSA_size(rsa) * 8;
      |     ^~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
jwk.c: In function '_RSA_free':
jwk.c:1047:9: error: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1047 |         RSA_free(rsa);
      |         ^~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
jwk.c: In function 'cjose_jwk_create_RSA_random':
jwk.c:1182:5: error: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1182 |     rsa = RSA_new();
      |     ^~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
jwk.c:1196:5: error: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1196 |     if (0 == RSA_generate_key_ex(rsa, keysize, bn, NULL))
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
jwk.c:1212:9: error: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1212 |         RSA_free(rsa);
      |         ^~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
jwk.c: In function 'cjose_jwk_create_RSA_spec':
jwk.c:1234:5: error: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1234 |     rsa = RSA_new();
      |     ^~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
jwk.c:1265:9: error: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1265 |         RSA_free(rsa);
      |         ^~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwk.c:12:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
jwk.c: In function '_cjose_jwk_evp_key_from_ec_key':
jwk.c:1680:5: error: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1680 |     if (1 != EVP_PKEY_set1_EC_KEY(*key, ((struct _ec_keydata_int *)(jwk->keydata))->key))
      |     ^~
In file included from /usr/include/openssl/rand.h:23,
                 from jwk.c:22:
/usr/include/openssl/evp.h:1370:5: note: declared here
 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
      |     ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:529: libcjose_la-jwk.lo] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" -DPACKAGE_STRING=\"cjose\ 0.6.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I.  -I/include  -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libcjose_la-jwe.lo `test -f 'jwe.c' || echo './'`jwe.c
libtool: compile:  gcc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.6.1\" "-DPACKAGE_STRING=\"cjose 0.6.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c jwe.c  -fPIC -DPIC -o .libs/libcjose_la-jwe.o
jwe.c: In function '_cjose_jwe_encrypt_ek_aes_kw':
jwe.c:515:5: error: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  515 |     if (AES_set_encrypt_key(jwk->keydata, jwk->keysize, &akey) < 0)
      |     ^~
In file included from jwe.c:19:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
jwe.c:528:5: error: 'AES_wrap_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  528 |     int len = AES_wrap_key(&akey, NULL, recipient->enc_key.raw, jwe->cek, jwe->cek_len);
      |     ^~~
In file included from jwe.c:19:
/usr/include/openssl/aes.h:97:5: note: declared here
   97 | int AES_wrap_key(AES_KEY *key, const unsigned char *iv,
      |     ^~~~~~~~~~~~
jwe.c: In function '_cjose_jwe_decrypt_ek_aes_kw':
jwe.c:558:5: error: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  558 |     if (AES_set_decrypt_key(jwk->keydata, jwk->keysize, &akey) < 0)
      |     ^~
In file included from jwe.c:19:
/usr/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
jwe.c:570:5: error: 'AES_unwrap_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  570 |     int len = AES_unwrap_key(&akey, (const unsigned char *)NULL, jwe->cek, (const unsigned char *)recipient->enc_key.raw,
      |     ^~~
In file included from jwe.c:19:
/usr/include/openssl/aes.h:101:5: note: declared here
  101 | int AES_unwrap_key(AES_KEY *key, const unsigned char *iv,
      |     ^~~~~~~~~~~~~~
jwe.c: In function '_cjose_jwe_encrypt_ek_rsa_padding':
jwe.c:609:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  609 |     recipient->enc_key.raw_len = RSA_size((RSA *)jwk->keydata);
      |     ^~~~~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwe.c:11:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
jwe.c:626:5: error: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  626 |     if (RSA_public_encrypt(jwe->cek_len, jwe->cek, recipient->enc_key.raw, (RSA *)jwk->keydata, padding)
      |     ^~
In file included from ../include/cjose/util.h:21,
                 from jwe.c:11:
/usr/include/openssl/rsa.h:282:5: note: declared here
  282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
jwe.c: In function '_cjose_jwe_decrypt_ek_rsa_padding':
jwe.c:655:5: error: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  655 |     size_t buflen = RSA_size((RSA *)jwk->keydata);
      |     ^~~~~~
In file included from ../include/cjose/util.h:21,
                 from jwe.c:11:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
jwe.c:662:5: error: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  662 |     jwe->cek_len = RSA_private_decrypt(recipient->enc_key.raw_len, recipient->enc_key.raw, jwe->cek, (RSA *)jwk->keydata, padding);
      |     ^~~
In file included from ../include/cjose/util.h:21,
                 from jwe.c:11:
/usr/include/openssl/rsa.h:291:5: note: declared here
  291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:536: libcjose_la-jwe.lo] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cjose-0.6.1/src'
make: *** [Makefile:463: all-recursive] Error 1
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Xp984S (%build)


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Xp984S (%build)
I: [iurt_root_command] ERROR: chroot