Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libmatchbox.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42350-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libmatchbox.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libmatchbox-1.9-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libmatchbox.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42350-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libmatchbox.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N7zsB7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmatchbox-1.9 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libmatchbox-1.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libmatchbox-1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/libmatchbox-1.9-add-needed.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/libmatchbox-1.9-libpng.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Aje2eC + umask 022 + cd /builddir/build/BUILD + cd libmatchbox-1.9 + autoreconf -iv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy 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 autoreconf: running: /usr/bin/autoconf configure.ac:7: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:7: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:10286: AM_CONFIG_HEADER is expanded from... configure.ac:7: the top level configure.ac:10: warning: The macro `AC_GNU_SOURCE' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/specific.m4:312: 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:2920: 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:704: 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:743: 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 autoreconf: running: automake --add-missing --copy --no-force configure.ac:10: installing './compile' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=x86_64-opencloudos-linux-gnu --build=x86_64-opencloudos-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-png --enable-jpeg --enable-pango configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/libmatchbox-1.9/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/libmatchbox-1.9/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 whether make supports the include directive... yes (GNU style) checking for x86_64-opencloudos-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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-opencloudos-linux-gnu-gcc... 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-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-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-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-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-opencloudos-linux-gnu-file... no checking for file... file checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-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-opencloudos-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... yes 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... yes checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for X11... yes checking for XLIBS... yes checking for PANGO... yes checking for libpng... yes checking for jpeg_read_header in -ljpeg... 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: no Building with API Documentation: no + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in libmb make[2]: Entering directory '/builddir/build/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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c hash.c -fPIC -DPIC -o .libs/hash.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c hash.c -o hash.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' 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]: Entering directory '/builddir/build/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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbutil.c -fPIC -DPIC -o .libs/mbutil.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbutil.c -o mbutil.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' mbutil.c: In function 'mb_want_warnings': mbutil.c:381:1: warning: control reaches end of non-void function [-Wreturn-type] 381 | } | ^ make[2]: Entering directory '/builddir/build/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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbdotdesktop.c -fPIC -DPIC -o .libs/mbdotdesktop.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbdotdesktop.c -o mbdotdesktop.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' mbdotdesktop.c: In function 'mb_dot_desktop_icon_get_full_path': mbdotdesktop.c:353:23: warning: argument 1 null where non-null expected [-Wnonnull] 353 | strncpy(theme_name_cur, | ^~~~~~~~~~~~~~~~~~~~~~~ 354 | (char*)mb_dotdesktop_get(dd, "Inherits"), 512); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mbdotdesktop.h:6, from mbdotdesktop.c:23: /usr/include/string.h:144:14: note: in a call to function 'strncpy' declared 'nonnull' 144 | extern char *strncpy (char *__restrict __dest, | ^~~~~~~ mbdotdesktop.c:286:5: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 286 | strncpy(theme_name_cur, theme_name, 512); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbtray.c -fPIC -DPIC -o .libs/mbtray.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbtray.c -o mbtray.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' make[2]: Entering directory '/builddir/build/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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbexp.c -fPIC -DPIC -o .libs/mbexp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbexp.c -o mbexp.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' 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:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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:710:23: note: declared here 710 | 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:147:74: note: expected 'const char *' but argument is of type 'unsigned char *' 147 | 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]: Entering directory '/builddir/build/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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbmenu.c -fPIC -DPIC -o .libs/mbmenu.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbmenu.c -o mbmenu.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' 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:1687:15: note: declared here 1687 | 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]: Entering directory '/builddir/build/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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbpixbuf.c -fPIC -DPIC -o .libs/mbpixbuf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -c mbpixbuf.c -o mbpixbuf.o >/dev/null 2>&1 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' mbpixbuf.c: In function '_load_jpg_file': mbpixbuf.c:153:9: warning: 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_xpm_file': mbpixbuf.c:383:23: warning: pointer 'file' used after 'fclose' [-Wuse-after-free] 383 | fclose(file); | ^~~~~~~~~~~~ mbpixbuf.c:381:23: note: call to 'fclose' here 381 | fclose(file); | ^~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' /bin/sh ../libtool --tag=CC --mode=link gcc -g -Wall -fno-strict-aliasing -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -O2 -g -version-info 1:9:0 -o libmb.la -rpath /usr/lib64 mbmenu.lo mbtray.lo mbdotdesktop.lo mbpixbuf.lo mbutil.lo mbexp.lo hash.lo -lX11 -lXext -lpangoxft-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lXft -ljpeg -lpng16 -lz libtool: link: gcc -shared -fPIC -DPIC .libs/mbmenu.o .libs/mbtray.o .libs/mbdotdesktop.o .libs/mbpixbuf.o .libs/mbutil.o .libs/mbexp.o .libs/hash.o -lX11 -lXext -lpangoxft-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lXft -ljpeg -lpng16 -lz -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -g -O2 -g -pthread -Wl,-soname -Wl,libmb.so.1 -o .libs/libmb.so.1.0.9 make[2]: Leaving directory '/builddir/build/BUILD/libmatchbox-1.9/libmb' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:465: libmb.la] Error 1 make[1]: *** [Makefile:485: all-recursive] Error 1 make: *** [Makefile:394: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Aje2eC (%build) Bad exit status from /var/tmp/rpm-tmp.Aje2eC (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libmatchbox.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libmatchbox.spec