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/libtimezonemap.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42642-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/libtimezonemap.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/libtimezonemap-0.4.5.2-4.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/libtimezonemap.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42642-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/libtimezonemap.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.hhrcbG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf timezonemap-0.4.5.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/libtimezonemap-0.4.5.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd timezonemap-0.4.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/5000-Replace-timezone-Asia-Shanghai-with-Asia-Beijing.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.D3XJvK + umask 022 + cd /builddir/build/BUILD + cd timezonemap-0.4.5.2 + ./autogen.sh /usr/bin/gnome-autogen.sh configure.ac:23: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:23: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:23: the top level checking for automake >= 1.11.2... testing automake... found 1.16.5 checking for autoreconf >= 2.53... testing autoreconf... found 2.71 configure.ac:23: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:23: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:23: the top level checking for pkg-config >= 0.14.0... testing pkg-config... found 1.8.0 Checking for required M4 macros... **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. Processing ./configure.ac configure.ac:23: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:23: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:23: the top level Running autoreconf... autoreconf: export WARNINGS=no-portability autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} autoreconf: running: /usr/bin/autoconf --force configure.ac:23: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:23: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:23: the top level configure.ac:56: warning: The macro `AC_CHECK_LIBM' is obsolete. configure.ac:56: You should run autoupdate. m4/libtool.m4:3882: AC_CHECK_LIBM is expanded from... configure.ac:56: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:24: installing 'build-aux/ar-lib' configure.ac:21: installing 'build-aux/compile' configure.ac:28: installing 'build-aux/config.guess' configure.ac:28: installing 'build-aux/config.sub' configure.ac:15: installing 'build-aux/install-sh' configure.ac:15: installing 'build-aux/missing' Makefile.am: installing './INSTALL' src/Makefile.am:21: warning: CLEANFILES multiply defined in condition TRUE ... src/Makefile.am:1: ... 'CLEANFILES' previously defined here src/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: 'build-aux/config.guess' is updated autoreconf: Leaving directory '.' Running ./configure --enable-maintainer-mode ... checking for a BSD-compatible install... /usr/bin/install -c 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 whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed 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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip 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 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... no checking for glib-mkenums... /usr/bin/glib-mkenums checking for glib-genmarshal... /usr/bin/glib-genmarshal checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cos in -lm... yes checking for LIBTIMEZONEMAP... yes checking for LIBXML... yes checking for gobject-introspection... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating glade/Makefile config.status: creating src/Makefile config.status: creating src/timezonemap.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: Timezone Map Configuration: Prefix: /usr/local Now type `make' to compile libtimezonemap + 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 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 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 to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes 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 whether make supports the include directive... yes (GNU style) 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for x86_64-opencloudos-linux-gnu-ar... no checking for x86_64-opencloudos-linux-gnu-lib... no checking for x86_64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar 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 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... 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... no checking for glib-mkenums... /usr/bin/glib-mkenums checking for glib-genmarshal... /usr/bin/glib-genmarshal 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 cos in -lm... yes checking for LIBTIMEZONEMAP... yes checking for LIBXML... yes checking for gobject-introspection... yes checking for x86_64-opencloudos-linux-gnu-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating glade/Makefile config.status: creating src/Makefile config.status: creating src/timezonemap.pc config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands configure: Timezone Map Configuration: Prefix: /usr + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' cat ./data/cities15000.txt ./data/citiesExtra.txt > data/citiesInfo.txt make[2]: Leaving directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' make[2]: Entering directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR="\"/usr/share/libtimezonemap\"" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -O2 -g -c -o test_timezone-test-timezone.o `test -f 'test-timezone.c' || echo './'`test-timezone.c make[2]: Leaving directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' make[2]: Entering directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR="\"/usr/share/libtimezonemap\"" -O2 -g -c -o tz.lo tz.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR=\"/usr/share/libtimezonemap\" -O2 -g -c tz.c -fPIC -DPIC -o .libs/tz.o make[2]: Leaving directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' make[2]: Entering directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR="\"/usr/share/libtimezonemap\"" -O2 -g -c -o cc-timezone-location.lo cc-timezone-location.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR=\"/usr/share/libtimezonemap\" -O2 -g -c cc-timezone-location.c -fPIC -DPIC -o .libs/cc-timezone-location.o make[2]: Leaving directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' cc-timezone-location.c: In function 'cc_timezone_location_class_init': cc-timezone-location.c:187:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 187 | g_type_class_add_private (klass, sizeof (CcTimezoneLocationPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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 cc-timezone-location.h:29, from cc-timezone-location.c:25: /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here 1346 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ cc-timezone-location.c: In function 'cc_timezone_location_init': cc-timezone-location.c:266:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 266 | self->priv = TIMEZONE_LOCATION_PRIVATE (self); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR="\"/usr/share/libtimezonemap\"" -O2 -g -c -o timezone-completion.lo timezone-completion.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR=\"/usr/share/libtimezonemap\" -O2 -g -c timezone-completion.c -fPIC -DPIC -o .libs/timezone-completion.o make[2]: Leaving directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' timezone-completion.c: In function 'cc_timezone_completion_class_init': timezone-completion.c:666:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 666 | g_type_class_add_private (klass, sizeof (CcTimezoneCompletionPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/json-glib-1.0/json-glib/json-types.h:31, from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, from timezone-completion.c:25: /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here 1346 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ timezone-completion.c: In function 'cc_timezone_completion_init': timezone-completion.c:681:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 681 | CcTimezoneCompletionPrivate); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR="\"/usr/share/libtimezonemap\"" -O2 -g -c -o cc-timezone-map.lo cc-timezone-map.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/json-glib-1.0 -I/usr/include/librsvg-2.0 -pthread -DDATADIR=\"/usr/share/libtimezonemap\" -O2 -g -c cc-timezone-map.c -fPIC -DPIC -o .libs/cc-timezone-map.o make[2]: Leaving directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' cc-timezone-map.c: In function 'cc_timezone_map_size_allocate': cc-timezone-map.c:245:3: warning: 'rsvg_handle_get_dimensions_sub' is deprecated: Use 'rsvg_handle_get_geometry_for_layer' instead [-Wdeprecated-declarations] 245 | rsvg_handle_get_dimensions_sub (priv->map_svg, &svg_dimensions, "#background"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cc-timezone-map.c:30: /usr/include/librsvg-2.0/librsvg/rsvg.h:733:10: note: declared here 733 | gboolean rsvg_handle_get_dimensions_sub (RsvgHandle *handle, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc-timezone-map.c:257:3: warning: 'rsvg_handle_render_cairo_sub' is deprecated: Use 'rsvg_handle_render_layer' instead [-Wdeprecated-declarations] 257 | rsvg_handle_render_cairo_sub (priv->map_svg, cr, "#background"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/librsvg-2.0/librsvg/rsvg.h:1450: /usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:153:10: note: declared here 153 | gboolean rsvg_handle_render_cairo_sub (RsvgHandle *handle, cairo_t *cr, const char *id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc-timezone-map.c: In function 'cc_timezone_map_class_init': cc-timezone-map.c:434:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 434 | g_type_class_add_private (klass, sizeof (CcTimezoneMapPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from cc-timezone-map.h:26, from cc-timezone-map.c:26: /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here 1346 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ cc-timezone-map.c: In function 'get_location_offset': cc-timezone-map.c:497:3: warning: 'g_time_zone_new' is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 497 | zone = g_time_zone_new (zone_name); | ^~~~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ cc-timezone-map.c: In function 'cc_timezone_map_init': cc-timezone-map.c:706:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 706 | priv = self->priv = TIMEZONE_MAP_PRIVATE (self); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -version-info 1:0:0 -no-undefined -export-symbols-regex "^[^_].*" -o libtimezonemap.la -rpath /usr/lib64 cc-timezone-map.lo cc-timezone-location.lo timezone-completion.lo tz.lo -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lsoup-2.4 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -ljson-glib-1.0 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lm -lm libtool: link: /usr/bin/nm -B .libs/cc-timezone-map.o .libs/cc-timezone-location.o .libs/timezone-completion.o .libs/tz.o | /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libtimezonemap.exp libtool: link: /usr/bin/grep -E -e "^[^_].*" ".libs/libtimezonemap.exp" > ".libs/libtimezonemap.expT" libtool: link: mv -f ".libs/libtimezonemap.expT" ".libs/libtimezonemap.exp" libtool: link: echo "{ global:" > .libs/libtimezonemap.ver libtool: link: cat .libs/libtimezonemap.exp | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/libtimezonemap.ver libtool: link: echo "local: *; };" >> .libs/libtimezonemap.ver libtool: link: gcc -shared -fPIC -DPIC .libs/cc-timezone-map.o .libs/cc-timezone-location.o .libs/timezone-completion.o .libs/tz.o -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lsoup-2.4 -lgmodule-2.0 -ljson-glib-1.0 -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lm -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,--export-dynamic -pthread -Wl,-soname -Wl,libtimezonemap.so.1 -Wl,-version-script -Wl,.libs/libtimezonemap.ver -o .libs/libtimezonemap.so.1.0.0 make[2]: Leaving directory '/builddir/build/BUILD/timezonemap-0.4.5.2/src' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:733: libtimezonemap.la] Error 1 make[1]: *** [Makefile:430: all-recursive] Error 1 make: *** [Makefile:362: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.D3XJvK (%build) Bad exit status from /var/tmp/rpm-tmp.D3XJvK (%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/libtimezonemap.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/libtimezonemap.spec