D: [iurt_root_command] chroot warning: line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64mb1-devel warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/libmatchbox-1.9-20.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dQxA2y + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libmatchbox-1.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libmatchbox-1.9.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd libmatchbox-1.9 + rm -rf /home/pterjan/rpmbuild/BUILD/libmatchbox-1.9-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libmatchbox-1.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libmatchbox-1.9-libpng1.5.patch):' Patch #0 (libmatchbox-1.9-libpng1.5.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libmb/mbpixbuf.c + echo 'Patch #1 (libmatchbox-1.9-linking.patch):' Patch #1 (libmatchbox-1.9-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linkfix --fuzz=0 patching file tests/Makefile.am + echo 'Patch #2 (libmatchbox-1.9-automake-1.13.patch):' Patch #2 (libmatchbox-1.9-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .automake --fuzz=0 patching file configure.ac + 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.4oMeef + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libmatchbox-1.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:10: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:10: the top level configure.ac:12: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:12: You should run autoupdate. aclocal.m4:255: AC_PROG_LIBTOOL is expanded from... configure.ac:12: the top level configure.ac:319: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:319: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:27: AM_PATH_CHECK is expanded from... configure.ac:319: the top level configure.ac:354: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:354: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:354: the top level configure.ac:362: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:362: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:362: the top level configure.ac:376: warning: AC_OUTPUT should be used without arguments. configure.ac:376: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:10: installing './compile' configure.ac:6: installing './missing' libmb/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' + 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 ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + 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 + /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 . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./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 --enable-xsettings --enable-png --enable-jpeg --enable-pango --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) 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-file... no checking for file... file 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 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 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 x11... yes checking for x11 xext ... yes checking for pango pangoxft... yes checking for libpng12... no checking for png_create_read_struct in -lpng... yes checking for jpeg_read_header in -ljpeg... yes checking for xsettings... checking for xsettings-client.h... yes checking for xsettings_client_new in -lXsettings-client... yes yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for langinfo.h... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether closedir returns void... no checking whether lstat correctly handles trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat correctly handles trailing slash... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether stat accepts an empty string... no checking for working strcoll... yes checking for memset... yes checking for select... yes checking for setlocale... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strstr... yes checking whether byte ordering is bigendian... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libmb.pc config.status: creating libmb/Makefile config.status: creating libmb/mbconfig.h config.status: creating doc/Doxyfile config.status: creating doc/Makefile config.status: creating tests/Makefile config.status: creating tests/menu/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands LibMatchbox 1.9 ====================== prefix: /usr source code location: . Building with Debug: no Building with gcov: no Building with gprof: no Building unit tests: no Building with Xft: no Building with Pango: yes Building with PNG: yes Building with JPG: yes Building with XSettings: yes Building with API Documentation: no + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in libmb make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 hash.lo hash.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 hash.c -fPIC -DPIC -o .libs/hash.o hash.c: In function 'hash_empty': hash.c:78:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 78 | memset(h->hashtab, 0, sizeof(h->hashtab)); | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbpixbuf.lo mbpixbuf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbpixbuf.c -fPIC -DPIC -o .libs/mbpixbuf.o mbpixbuf.c: In function '_load_jpg_file': mbpixbuf.c:153:9: error: implicit declaration of function 'mb_want_warnings' [-Wimplicit-function-declaration] 153 | if (mb_want_warnings()) | ^~~~~~~~~~~~~~~~ mbpixbuf.c: In function 'mb_pixbuf_img_fill': mbpixbuf.c:1400:25: warning: value computed is not used [-Wunused-value] 1400 | { *p = a; *p++; } | ^~~~ mbpixbuf.c: In function '_load_png_file': mbpixbuf.c:230:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | fread( header, 1, 8, fd ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:507: mbpixbuf.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbutil.lo mbutil.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbutil.c -fPIC -DPIC -o .libs/mbutil.o mbutil.c: In function 'mb_want_warnings': mbutil.c:381:1: warning: control reaches end of non-void function [-Wreturn-type] 381 | } | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbdotdesktop.lo mbdotdesktop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbdotdesktop.c -fPIC -DPIC -o .libs/mbdotdesktop.o In file included from /usr/include/string.h:548, from mbdotdesktop.h:6, from mbdotdesktop.c:23: In function 'strncpy', inlined from 'mb_dot_desktop_icon_get_full_path' at mbdotdesktop.c:353:9: /usr/include/bits/string_fortified.h:95:10: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:10: note: in a call to built-in function '__builtin_strncpy' mbdotdesktop.c: In function 'mb_dot_desktop_icon_get_full_path': mbdotdesktop.c:286:5: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 286 | strncpy(theme_name_cur, theme_name, 512); | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbtray.lo mbtray.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbtray.c -fPIC -DPIC -o .libs/mbtray.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbexp.lo mbexp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbexp.c -fPIC -DPIC -o .libs/mbexp.o mbexp.c: In function 'mb_font_new': mbexp.c:409:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 409 | g_type_init() ; | ^~~~~~~~~~~ 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/pango-1.0/pango/pango-coverage.h:25, from /usr/include/pango-1.0/pango/pango-font.h:25, from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from mbexp.h:43, from mbexp.c:22: /usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here 737 | void g_type_init (void); | ^~~~~~~~~~~ mbexp.c:432:4: warning: 'pango_xft_get_context' is deprecated [-Wdeprecated-declarations] 432 | font->pgo_context = pango_xft_get_context (font->dpy, DefaultScreen(dpy)); | ^~~~ In file included from mbexp.h:44: /usr/include/pango-1.0/pango/pangoxft.h:98:15: note: declared here 98 | PangoContext *pango_xft_get_context (Display *display, | ^~~~~~~~~~~~~~~~~~~~~ mbexp.c: In function 'mb_font_get_txt_width': mbexp.c:794:22: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 794 | str = strdup(txt); | ^~~ | | | unsigned char * In file included from mbpixbuf.h:27, from mbexp.h:33: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ mbexp.c: In function '_render_some_text': mbexp.c:991:23: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 991 | str = strdup(text); | ^~~~ | | | unsigned char * /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ mbexp.c:991:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 991 | str = strdup(text); | ^ mbexp.c:994:59: warning: pointer targets in passing argument 2 of 'pango_itemize' differ in signedness [-Wpointer-sign] 994 | items_head = items = pango_itemize (font->pgo_context, str, | ^~~ | | | unsigned char * In file included from /usr/include/pango-1.0/pango/pango-break.h:29, from /usr/include/pango-1.0/pango/pango.h:27: /usr/include/pango-1.0/pango/pango-item.h:150:74: note: expected 'const char *' but argument is of type 'unsigned char *' 150 | const char *text, | ~~~~~~~~~~~~~~~~~~~^~~~ mbexp.c:1005:22: warning: pointer targets in passing argument 1 of 'pango_shape' differ in signedness [-Wpointer-sign] 1005 | pango_shape (&str[this->offset], this->length, | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/pango-1.0/pango/pango-engine.h:28, from /usr/include/pango-1.0/pango/pango.h:32: /usr/include/pango-1.0/pango/pango-glyph.h:236:87: note: expected 'const char *' but argument is of type 'unsigned char *' 236 | void pango_shape (const char *text, | ~~~~~~~~~~~~~~~~~~~~~^~~~ mbexp.c: In function 'mb_font_render_simple': mbexp.c:1066:30: warning: variable 'orig_len' set but not used [-Wunused-but-set-variable] 1066 | int render_w = 0, len = 0, orig_len = 0; | ^~~~~~~~ mbexp.c: In function 'mb_font_render_simple_get_width': mbexp.c:1160:30: warning: variable 'orig_len' set but not used [-Wunused-but-set-variable] 1160 | int render_w = 0, len = 0, orig_len = 0; | ^~~~~~~~ mbexp.c: In function 'mb_layout_get_geometry': mbexp.c:1252:22: warning: value computed is not used [-Wunused-value] 1252 | nbytes++; *txt++; | ^~~~~~ mbexp.c: In function 'mb_util_next_utf8_char': mbexp.c:1586:3: warning: value computed is not used [-Wunused-value] 1586 | *s++; | ^~~~ mbexp.c:1592:5: warning: value computed is not used [-Wunused-value] 1592 | *s++; | ^~~~ mbexp.c:1555:21: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1555 | unsigned char *s, mask; | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbmenu.lo mbmenu.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lXsettings-client -DDATADIR=\"/usr/share\" -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 mbmenu.c -fPIC -DPIC -o .libs/mbmenu.o mbmenu.c: In function 'mb_menu_handle_xevent': mbmenu.c:805:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 805 | switch (key = XKeycodeToKeysym (mb->dpy, an_event->xkey.keycode, 0)) | ^~~~~~ In file included from mbmenu.h:34, from mbmenu.c:26: /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ mbmenu.c: In function 'new_menu': mbmenu.c:1066:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1066 | memset(menu, 0, sizeof(menu)); | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libmatchbox-1.9/libmb' make[1]: *** [Makefile:490: all-recursive] Error 1 make: *** [Makefile:399: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.4oMeef (%build) RPM build warnings: line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64mb1-devel %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.4oMeef (%build) I: [iurt_root_command] ERROR: chroot