D: [iurt_root_command] chroot
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/purple-facebook-0.9.6-7.mga10.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HPI6NZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD
+ rm -rf purple-facebook-0.9.6
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/purple-facebook-0.9.6.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd purple-facebook-0.9.6
+ rm -rf /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6-SPECPARTS
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Bump-FB_ORCA_AGENT-version.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/purple-facebook-0.9.6-mga-fix-thrift-stop-failure.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/purple-facebook-0.9.6-mga-fix-taNewMessage-bug.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JP5MQq
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd purple-facebook-0.9.6
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ 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 ./build-aux/config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./build-aux/config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./build-aux/config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./build-aux/config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./build-aux/config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./build-aux/config.sub
+ /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 build-aux/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-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=x86_64-mageia-linux-gnu --build=x86_64-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
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 for x86_64-mageia-linux-gnu-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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking how to print strings... printf
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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-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 x86_64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-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 x86_64-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 -m elf_x86_64) 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 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 whether make supports nested variables... (cached) yes
checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for JSON... yes
checking for PURPLE... yes
checking for ZLIB... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pidgin/libpurple/protocols/facebook/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
Making all in pidgin/libpurple/protocols/facebook
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ../../libfacebook_la-purple-socket.lo `test -f '../../purple-socket.c' || echo './'`../../purple-socket.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../purple-socket.c  -fPIC -DPIC -o ../../.libs/libfacebook_la-purple-socket.o
../../purple-socket.c: In function 'purple_socket_check_state':
../../purple-socket.c:124:9: error: implicit declaration of function 'purple_debug_error'; did you mean 'purple_media_error'? [-Wimplicit-function-declaration]
  124 |         purple_debug_error("socket", "invalid state: %d (should be: %d)",
      |         ^~~~~~~~~~~~~~~~~~
      |         purple_media_error
make[1]: *** [Makefile:635: ../../libfacebook_la-purple-socket.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-marshal.lo `test -f 'marshal.c' || echo './'`marshal.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c marshal.c  -fPIC -DPIC -o .libs/libfacebook_la-marshal.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-data.lo `test -f 'data.c' || echo './'`data.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c data.c  -fPIC -DPIC -o .libs/libfacebook_la-data.o
In file included from id.h:37,
                 from api.h:41,
                 from data.c:27:
util.h:133:15: error: unknown type name 'PurpleDebugLevel'
  133 | fb_util_debug(PurpleDebugLevel level, const gchar *format, ...)
      |               ^~~~~~~~~~~~~~~~
util.h:146:16: error: unknown type name 'PurpleDebugLevel'
  146 | fb_util_vdebug(PurpleDebugLevel level, const gchar *format, va_list ap);
      |                ^~~~~~~~~~~~~~~~
util.h:214:23: error: unknown type name 'PurpleDebugLevel'
  214 | fb_util_debug_hexdump(PurpleDebugLevel level, const GByteArray *bytes,
      |                       ^~~~~~~~~~~~~~~~
data.c: In function 'fb_data_class_init':
data.c:97:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
   97 |         g_type_class_add_private(klass, sizeof (FbDataPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/libpurple/notify.h:31,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:22,
                 from <command-line>:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
data.c: In function 'fb_data_init':
data.c:105:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  105 |         priv = G_TYPE_INSTANCE_GET_PRIVATE(fata, FB_TYPE_DATA, FbDataPrivate);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      
data.c: In function 'fb_data_image_class_init':
data.c:140:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
  140 |         g_type_class_add_private(klass, sizeof (FbDataImagePrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
data.c: In function 'fb_data_image_init':
data.c:149:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  149 |                                            FbDataImagePrivate);
      |                    ^                       ~~~~~~~~~~~~~~~~~~~~                     
data.c: In function 'fb_data_set_unread':
data.c:384:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  384 |         key = g_memdup(&id, sizeof id);
      |         ^~~
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /usr/include/libpurple/imgstore.h:30,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:21:
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
data.c: In function 'fb_data_image_dup_image':
data.c:526:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  526 |         return g_memdup(priv->image, priv->size);
      |         ^~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
make[1]: *** [Makefile:579: libfacebook_la-data.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-facebook.lo `test -f 'facebook.c' || echo './'`facebook.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c facebook.c  -fPIC -DPIC -o .libs/libfacebook_la-facebook.o
In file included from facebook.c:50:
util.h:133:15: error: unknown type name 'PurpleDebugLevel'
  133 | fb_util_debug(PurpleDebugLevel level, const gchar *format, ...)
      |               ^~~~~~~~~~~~~~~~
util.h:146:16: error: unknown type name 'PurpleDebugLevel'
  146 | fb_util_vdebug(PurpleDebugLevel level, const gchar *format, va_list ap);
      |                ^~~~~~~~~~~~~~~~
util.h:214:23: error: unknown type name 'PurpleDebugLevel'
  214 | fb_util_debug_hexdump(PurpleDebugLevel level, const GByteArray *bytes,
      |                       ^~~~~~~~~~~~~~~~
facebook.c: In function 'fb_blist_chat_create':
facebook.c:954:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  954 |                 did = g_memdup(&uid, sizeof uid);
      |                 ^~~
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /usr/include/libpurple/imgstore.h:30,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:21,
                 from <command-line>:
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
make[1]: *** [Makefile:586: libfacebook_la-facebook.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-mqtt.lo `test -f 'mqtt.c' || echo './'`mqtt.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mqtt.c  -fPIC -DPIC -o .libs/libfacebook_la-mqtt.o
In file included from mqtt.c:35:
util.h:133:15: error: unknown type name 'PurpleDebugLevel'
  133 | fb_util_debug(PurpleDebugLevel level, const gchar *format, ...)
      |               ^~~~~~~~~~~~~~~~
util.h:146:16: error: unknown type name 'PurpleDebugLevel'
  146 | fb_util_vdebug(PurpleDebugLevel level, const gchar *format, va_list ap);
      |                ^~~~~~~~~~~~~~~~
util.h:214:23: error: unknown type name 'PurpleDebugLevel'
  214 | fb_util_debug_hexdump(PurpleDebugLevel level, const GByteArray *bytes,
      |                       ^~~~~~~~~~~~~~~~
mqtt.c: In function 'fb_mqtt_class_init':
mqtt.c:85:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
   85 |         g_type_class_add_private(klass, sizeof (FbMqttPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/libpurple/notify.h:31,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:22,
                 from <command-line>:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
mqtt.c: In function 'fb_mqtt_init':
mqtt.c:160:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  160 |         priv = G_TYPE_INSTANCE_GET_PRIVATE(mqtt, FB_TYPE_MQTT, FbMqttPrivate);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      
mqtt.c: In function 'fb_mqtt_message_class_init':
mqtt.c:183:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
  183 |         g_type_class_add_private(klass, sizeof (FbMqttMessagePrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
mqtt.c: In function 'fb_mqtt_message_init':
mqtt.c:192:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  192 |                                            FbMqttMessagePrivate);
      |                    ^                       ~~~~~~~~~~~~~~~~~~~~~~                   
mqtt.c: In function 'fb_mqtt_read':
mqtt.c:443:9: error: implicit declaration of function 'fb_util_debug_hexdump'; did you mean 'fb_util_debug_error'? [-Wimplicit-function-declaration]
  443 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, mriv->bytes,
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         fb_util_debug_error
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'PURPLE_PLUGINS'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
mqtt.c:443:31: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  443 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, mriv->bytes,
      |                               ^~~~~~~~~~~~~~~~~~
util.h:50:17: note: each undeclared identifier is reported only once for each function it appears in
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
mqtt.c:443:31: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  443 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, mriv->bytes,
      |                               ^~~~~~~~~~~~~~~~~~
mqtt.c: In function 'fb_mqtt_write':
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'PURPLE_PLUGINS'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
mqtt.c:574:31: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  574 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, mriv->bytes,
      |                               ^~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:607: libfacebook_la-mqtt.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-json.lo `test -f 'json.c' || echo './'`json.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c json.c  -fPIC -DPIC -o .libs/libfacebook_la-json.o
In file included from json.c:29:
util.h:133:15: error: unknown type name 'PurpleDebugLevel'
  133 | fb_util_debug(PurpleDebugLevel level, const gchar *format, ...)
      |               ^~~~~~~~~~~~~~~~
util.h:146:16: error: unknown type name 'PurpleDebugLevel'
  146 | fb_util_vdebug(PurpleDebugLevel level, const gchar *format, va_list ap);
      |                ^~~~~~~~~~~~~~~~
util.h:214:23: error: unknown type name 'PurpleDebugLevel'
  214 | fb_util_debug_hexdump(PurpleDebugLevel level, const GByteArray *bytes,
      |                       ^~~~~~~~~~~~~~~~
json.c: In function 'fb_json_values_class_init':
json.c:89:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
   89 |         g_type_class_add_private(klass, sizeof (FbJsonValuesPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/libpurple/notify.h:31,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:22,
                 from <command-line>:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
json.c: In function 'fb_json_values_init':
json.c:98:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
   98 |                                            FbJsonValuesPrivate);
      |                    ^                       ~~~~~~~~~~~~~~~~~~~~~                    
make[1]: *** [Makefile:600: libfacebook_la-json.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-http.lo `test -f 'http.c' || echo './'`http.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c http.c  -fPIC -DPIC -o .libs/libfacebook_la-http.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ../../libfacebook_la-http.lo `test -f '../../http.c' || echo './'`../../http.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../http.c  -fPIC -DPIC -o ../../.libs/libfacebook_la-http.o
../../http.c: In function 'purple_http_rfc1123_to_time':
../../http.c:350:17: error: implicit declaration of function 'purple_debug_warning'; did you mean 'purple_notify_warning'? [-Wimplicit-function-declaration]
  350 |                 purple_debug_warning("http", "Invalid month: %s\n", d_month);
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 purple_notify_warning
../../http.c: In function 'purple_http_gz_new':
../../http.c:376:17: error: implicit declaration of function 'purple_debug_error'; did you mean 'purple_media_error'? [-Wimplicit-function-declaration]
  376 |                 purple_debug_error("http", "Cannot initialize zlib stream\n");
      |                 ^~~~~~~~~~~~~~~~~~
      |                 purple_media_error
../../http.c: In function 'purple_http_socket_connect_new':
../../http.c:551:13: error: implicit declaration of function 'purple_debug_is_verbose' [-Wimplicit-function-declaration]
  551 |         if (purple_debug_is_verbose())
      |             ^~~~~~~~~~~~~~~~~~~~~~~
../../http.c:552:17: error: implicit declaration of function 'purple_debug_misc'; did you mean 'purple_get_ims'? [-Wimplicit-function-declaration]
  552 |                 purple_debug_misc("http", "new socket created: %p\n", hs);
      |                 ^~~~~~~~~~~~~~~~~
      |                 purple_get_ims
../../http.c: In function '_purple_http_gen_headers':
../../http.c:895:13: error: implicit declaration of function 'purple_debug_is_unsafe' [-Wimplicit-function-declaration]
  895 |         if (purple_debug_is_unsafe() && purple_debug_is_verbose()) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
../../http.c: In function '_purple_http_recv_loopbody':
../../http.c:1186:25: error: implicit declaration of function 'purple_debug_info'; did you mean 'purple_log_init'? [-Wimplicit-function-declaration]
 1186 |                         purple_debug_info("http", "Keep-alive connection "
      |                         ^~~~~~~~~~~~~~~~~
      |                         purple_log_init
../../http.c: In function 'purple_http_conn_cancel_all':
../../http.c:1822:17: error: implicit declaration of function 'purple_debug_fatal' [-Wimplicit-function-declaration]
 1822 |                 purple_debug_fatal("http", "Couldn't cancel all connections "
      |                 ^~~~~~~~~~~~~~~~~~
../../http.c: In function 'purple_http_request_set_contents':
../../http.c:2667:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 2667 |         request->contents = g_memdup(contents, length);
      |         ^~~~~~~
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /usr/include/libpurple/imgstore.h:30,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:21,
                 from <command-line>:
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
make[1]: *** [Makefile:628: ../../libfacebook_la-http.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-thrift.lo `test -f 'thrift.c' || echo './'`thrift.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c thrift.c  -fPIC -DPIC -o .libs/libfacebook_la-thrift.o
thrift.c: In function 'fb_thrift_class_init':
thrift.c:54:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
   54 |         g_type_class_add_private(klass, sizeof (FbThriftPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/libpurple/notify.h:31,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:22,
                 from <command-line>:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
thrift.c: In function 'fb_thrift_init':
thrift.c:63:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
   63 |                                            FbThriftPrivate);
      |                    ^                       ~~~~~~~~~~~~~~~~~                        
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-util.lo `test -f 'util.c' || echo './'`util.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c util.c  -fPIC -DPIC -o .libs/libfacebook_la-util.o
In file included from util.c:35:
util.h:133:15: error: unknown type name 'PurpleDebugLevel'
  133 | fb_util_debug(PurpleDebugLevel level, const gchar *format, ...)
      |               ^~~~~~~~~~~~~~~~
util.h:146:16: error: unknown type name 'PurpleDebugLevel'
  146 | fb_util_vdebug(PurpleDebugLevel level, const gchar *format, va_list ap);
      |                ^~~~~~~~~~~~~~~~
util.h:214:23: error: unknown type name 'PurpleDebugLevel'
  214 | fb_util_debug_hexdump(PurpleDebugLevel level, const GByteArray *bytes,
      |                       ^~~~~~~~~~~~~~~~
util.c:100:15: error: unknown type name 'PurpleDebugLevel'
  100 | fb_util_debug(PurpleDebugLevel level, const gchar *format, ...)
      |               ^~~~~~~~~~~~~~~~
util.c:110:16: error: unknown type name 'PurpleDebugLevel'
  110 | fb_util_vdebug(PurpleDebugLevel level, const gchar *format, va_list ap)
      |                ^~~~~~~~~~~~~~~~
util.c: In function 'fb_util_debug_misc':
util.c:141:9: error: implicit declaration of function 'fb_util_vdebug'; did you mean 'fb_util_debug_info'? [-Wimplicit-function-declaration]
  141 |         fb_util_vdebug(PURPLE_DEBUG_MISC, format, ap);
      |         ^~~~~~~~~~~~~~
      |         fb_util_debug_info
util.c:141:24: error: 'PURPLE_DEBUG_MISC' undeclared (first use in this function)
  141 |         fb_util_vdebug(PURPLE_DEBUG_MISC, format, ap);
      |                        ^~~~~~~~~~~~~~~~~
util.c:141:24: note: each undeclared identifier is reported only once for each function it appears in
util.c: In function 'fb_util_debug_info':
util.c:151:24: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'FB_UTIL_DEBUG_INFO'?
  151 |         fb_util_vdebug(PURPLE_DEBUG_INFO, format, ap);
      |                        ^~~~~~~~~~~~~~~~~
      |                        FB_UTIL_DEBUG_INFO
util.c: In function 'fb_util_debug_warning':
util.c:161:24: error: 'PURPLE_DEBUG_WARNING' undeclared (first use in this function)
  161 |         fb_util_vdebug(PURPLE_DEBUG_WARNING, format, ap);
      |                        ^~~~~~~~~~~~~~~~~~~~
util.c: In function 'fb_util_debug_error':
util.c:171:24: error: 'PURPLE_DEBUG_ERROR' undeclared (first use in this function); did you mean 'PURPLE_MESSAGE_ERROR'?
  171 |         fb_util_vdebug(PURPLE_DEBUG_ERROR, format, ap);
      |                        ^~~~~~~~~~~~~~~~~~
      |                        PURPLE_MESSAGE_ERROR
util.c: In function 'fb_util_debug_fatal':
util.c:181:24: error: 'PURPLE_DEBUG_FATAL' undeclared (first use in this function)
  181 |         fb_util_vdebug(PURPLE_DEBUG_FATAL, format, ap);
      |                        ^~~~~~~~~~~~~~~~~~
util.c: At top level:
util.c:186:23: error: unknown type name 'PurpleDebugLevel'
  186 | fb_util_debug_hexdump(PurpleDebugLevel level, const GByteArray *bytes,
      |                       ^~~~~~~~~~~~~~~~
make[1]: *** [Makefile:621: libfacebook_la-util.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
/bin/sh ../../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"purple-facebook\ 0.9.6\" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I.  -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin  -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h    -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libfacebook_la-api.lo `test -f 'api.c' || echo './'`api.c
libtool: compile:  gcc -DPACKAGE_NAME=\"purple-facebook\" -DPACKAGE_TARNAME=\"purple-facebook\" -DPACKAGE_VERSION=\"0.9.6\" "-DPACKAGE_STRING=\"purple-facebook 0.9.6\"" -DPACKAGE_BUGREPORT=\"https://github.com/dequis/purple-facebook/issues\" -DPACKAGE_URL=\"https://github.com/dequis/purple-facebook\" -DPACKAGE=\"purple-facebook\" -DVERSION=\"0.9.6\" -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/\" -I. -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin -I/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./pidgin/libpurple -DPURPLE_PLUGINS -include purple-compat.h -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c api.c  -fPIC -DPIC -o .libs/libfacebook_la-api.o
In file included from id.h:37,
                 from api.h:41,
                 from api.c:28:
util.h:133:15: error: unknown type name 'PurpleDebugLevel'
  133 | fb_util_debug(PurpleDebugLevel level, const gchar *format, ...)
      |               ^~~~~~~~~~~~~~~~
util.h:146:16: error: unknown type name 'PurpleDebugLevel'
  146 | fb_util_vdebug(PurpleDebugLevel level, const gchar *format, va_list ap);
      |                ^~~~~~~~~~~~~~~~
util.h:214:23: error: unknown type name 'PurpleDebugLevel'
  214 | fb_util_debug_hexdump(PurpleDebugLevel level, const GByteArray *bytes,
      |                       ^~~~~~~~~~~~~~~~
api.c: In function 'fb_api_class_init':
api.c:204:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
  204 |         g_type_class_add_private(klass, sizeof (FbApiPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/libpurple/notify.h:31,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:22,
                 from <command-line>:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
api.c: In function 'fb_api_init':
api.c:527:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  527 |         priv = G_TYPE_INSTANCE_GET_PRIVATE(api, FB_TYPE_API, FbApiPrivate);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
api.c: In function 'fb_api_json_chk':
api.c:610:9: error: implicit declaration of function 'fb_util_debug'; did you mean 'fb_util_debug_info'? [-Wimplicit-function-declaration]
  610 |         fb_util_debug(FB_UTIL_DEBUG_INFO, "Parsing JSON: %.*s\n",
      |         ^~~~~~~~~~~~~
      |         fb_util_debug_info
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'FB_UTIL_DEBUG_INFO'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
api.c:610:23: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  610 |         fb_util_debug(FB_UTIL_DEBUG_INFO, "Parsing JSON: %.*s\n",
      |                       ^~~~~~~~~~~~~~~~~~
util.h:50:17: note: each undeclared identifier is reported only once for each function it appears in
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
api.c:610:23: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  610 |         fb_util_debug(FB_UTIL_DEBUG_INFO, "Parsing JSON: %.*s\n",
      |                       ^~~~~~~~~~~~~~~~~~
api.c: In function 'fb_api_http_chk':
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'FB_UTIL_DEBUG_INFO'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
api.c:718:23: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  718 |         fb_util_debug(FB_UTIL_DEBUG_INFO, "HTTP Response (%p):", con);
      |                       ^~~~~~~~~~~~~~~~~~
api.c: In function 'fb_api_http_req':
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'FB_UTIL_DEBUG_INFO'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
api.c:813:23: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  813 |         fb_util_debug(FB_UTIL_DEBUG_INFO, "HTTP Request (%p):", ret);
      |                       ^~~~~~~~~~~~~~~~~~
api.c: In function 'fb_api_cb_mqtt_open':
api.c:994:9: error: implicit declaration of function 'fb_util_debug_hexdump'; did you mean 'fb_util_debug_error'? [-Wimplicit-function-declaration]
  994 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, bytes, "Writing connect");
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         fb_util_debug_error
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'FB_UTIL_DEBUG_INFO'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
api.c:994:31: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
  994 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, bytes, "Writing connect");
      |                               ^~~~~~~~~~~~~~~~~~
api.c: In function 'fb_api_cb_mqtt_publish':
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'FB_UTIL_DEBUG_INFO'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
api.c:1974:31: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
 1974 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, bytes,
      |                               ^~~~~~~~~~~~~~~~~~
api.c: In function 'fb_api_publish':
util.h:50:17: error: 'PURPLE_DEBUG_INFO' undeclared (first use in this function); did you mean 'FB_UTIL_DEBUG_INFO'?
   50 |                 PURPLE_DEBUG_INFO | \
      |                 ^~~~~~~~~~~~~~~~~
api.c:2636:31: note: in expansion of macro 'FB_UTIL_DEBUG_INFO'
 2636 |         fb_util_debug_hexdump(FB_UTIL_DEBUG_INFO, bytes,
      |                               ^~~~~~~~~~~~~~~~~~
api.c: In function 'fb_api_event_dup':
api.c:3326:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 3326 |         ret = g_memdup(event, sizeof *event);
      |         ^~~
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /usr/include/libpurple/imgstore.h:30,
                 from /home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/./include/purple-compat.h:21:
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
api.c: In function 'fb_api_message_dup':
api.c:3365:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 3365 |         ret = g_memdup(msg, sizeof *msg);
      |         ^~~
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
api.c: In function 'fb_api_presence_dup':
api.c:3402:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 3402 |         return g_memdup(pres, sizeof *pres);
      |         ^~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
api.c: In function 'fb_api_thread_dup':
api.c:3431:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 3431 |         ret = g_memdup(thrd, sizeof *thrd);
      |         ^~~
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
api.c: In function 'fb_api_typing_dup':
api.c:3478:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 3478 |         return g_memdup(typg, sizeof *typg);
      |         ^~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
api.c: In function 'fb_api_user_dup':
api.c:3505:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 3505 |         ret = g_memdup(user, sizeof *user);
      |         ^~~
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
  350 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
make[1]: *** [Makefile:572: libfacebook_la-api.lo] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/purple-facebook-0.9.6/pidgin/libpurple/protocols/facebook'
make: *** [Makefile:413: all-recursive] Error 1
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JP5MQq (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JP5MQq (%build)
I: [iurt_root_command] ERROR: chroot