Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/gnome-screenshot.spec'], False, '/srv/build/7/C/mock-root/c7.01.u-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/gnome-screenshot.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/gnome-screenshot-3.14.0-2.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/gnome-screenshot.spec'], False, '/srv/build/7/C/mock-root/c7.01.u-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/gnome-screenshot.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sWi1FB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnome-screenshot-3.14.0 + /usr/bin/xz -dc /builddir/build/SOURCES/gnome-screenshot-3.14.0.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnome-screenshot-3.14.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (filenames.patch): + echo 'Patch #0 (filenames.patch):' + /usr/bin/cat /builddir/build/SOURCES/filenames.patch + /usr/bin/patch -p1 -b --suffix .filenames --fuzz=0 patching file src/screenshot-filename-builder.c patching file src/screenshot-filename-builder.c patching file src/screenshot-filename-builder.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cX7fKV + umask 022 + cd /builddir/build/BUILD + cd gnome-screenshot-3.14.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking whether make supports nested variables... yes checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking target system type... i386-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... (cached) yes checking whether NLS is requested... yes checking for style of include used by make... GNU checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for intltool >= 0.40.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.16.3 checking for XML::Parser... ok checking for i386-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.22... yes checking for i386-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for i386-redhat-linux-gnu-g++... no checking for i386-redhat-linux-gnu-c++... no checking for i386-redhat-linux-gnu-gpp... no checking for i386-redhat-linux-gnu-aCC... no checking for i386-redhat-linux-gnu-CC... no checking for i386-redhat-linux-gnu-cxx... no checking for i386-redhat-linux-gnu-cc++... no checking for i386-redhat-linux-gnu-cl.exe... no checking for i386-redhat-linux-gnu-FCC... no checking for i386-redhat-linux-gnu-KCC... no checking for i386-redhat-linux-gnu-RCC... no checking for i386-redhat-linux-gnu-xlC_r... no checking for i386-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for library containing strerror... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for i386-redhat-linux-gnu-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for XSHAPE... yes checking X11/extensions/shape.h usability... yes checking X11/extensions/shape.h presence... yes checking for X11/extensions/shape.h... yes checking for SCREENSHOT... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po/stamp-it commands GNOME Screenshot 3.14.0 ========================= prefix: /usr compiler: gcc XShape support: yes Now type 'make' to build gnome-screenshot + make -j16 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/gnome-screenshot-3.14.0' Making all in src make[2]: Entering directory `/builddir/build/BUILD/gnome-screenshot-3.14.0/src' GEN screenshot-resources.c GEN screenshot-resources.h make all-am make[3]: Entering directory `/builddir/build/BUILD/gnome-screenshot-3.14.0/src' CC gnome_screenshot-screenshot-resources.o CC gnome_screenshot-gnome-screenshot.o CC gnome_screenshot-cheese-flash.o CC gnome_screenshot-screenshot-application.o CC gnome_screenshot-screenshot-area-selection.o CC gnome_screenshot-screenshot-config.o CC gnome_screenshot-screenshot-dialog.o CC gnome_screenshot-screenshot-filename-builder.o CC gnome_screenshot-screenshot-interactive-dialog.o CC gnome_screenshot-screenshot-shadow.o CC gnome_screenshot-screenshot-utils.o GEN org.gnome.Screenshot.service ITMRG org.gnome.Screenshot.desktop ITMRG org.gnome.gnome-screenshot.gschema.xml GEN org.gnome.gnome-screenshot.gschema.valid screenshot-filename-builder.c: In function 'screenshot_build_filename_async': screenshot-filename-builder.c:326:3: warning: 'g_io_scheduler_push_job' is deprecated (declared at /usr/include/glib-2.0/gio/gioscheduler.h:34): Use '"GThreadPool or g_task_run_in_thread"' instead [-Wdeprecated-declarations] g_io_scheduler_push_job (try_check_file, ^ screenshot-dialog.c: In function 'dialog_key_press_cb': screenshot-dialog.c:128:7: warning: implicit declaration of function 'screenshot_display_help' [-Wimplicit-function-declaration] screenshot_display_help (GTK_WINDOW (widget)); ^ screenshot-dialog.c: In function 'setup_drawing_area': screenshot-dialog.c:164:3: warning: implicit declaration of function 'gtk_widget_get_scale_factor' [-Wimplicit-function-declaration] scale_factor = gtk_widget_get_scale_factor (dialog->dialog); ^ screenshot-interactive-dialog.c: In function 'screenshot_interactive_dialog_new': screenshot-interactive-dialog.c:456:3: warning: implicit declaration of function 'gtk_header_bar_new' [-Wimplicit-function-declaration] header_bar = gtk_header_bar_new (); ^ screenshot-interactive-dialog.c:456:14: warning: assignment makes pointer from integer without a cast [enabled by default] header_bar = gtk_header_bar_new (); ^ screenshot-interactive-dialog.c:457:3: warning: implicit declaration of function 'gtk_window_set_titlebar' [-Wimplicit-function-declaration] gtk_window_set_titlebar (GTK_WINDOW (dialog), header_bar); ^ screenshot-interactive-dialog.c:502:3: warning: implicit declaration of function 'gtk_header_bar_pack_end' [-Wimplicit-function-declaration] gtk_header_bar_pack_end (GTK_HEADER_BAR (header_bar), button); ^ screenshot-interactive-dialog.c:502:3: warning: implicit declaration of function 'GTK_HEADER_BAR' [-Wimplicit-function-declaration] screenshot-interactive-dialog.c:512:3: warning: implicit declaration of function 'gtk_header_bar_pack_start' [-Wimplicit-function-declaration] gtk_header_bar_pack_start (GTK_HEADER_BAR (header_bar), button); ^ screenshot-application.c:286:1: warning: 'save_with_profile' defined but not used [-Wunused-function] save_with_profile (ScreenshotApplication *self, ^ CCLD gnome-screenshot gnome_screenshot-screenshot-dialog.o: In function `setup_drawing_area': /builddir/build/BUILD/gnome-screenshot-3.14.0/src/screenshot-dialog.c:164: undefined reference to `gtk_widget_get_scale_factor' gnome_screenshot-screenshot-interactive-dialog.o: In function `screenshot_interactive_dialog_new': /builddir/build/BUILD/gnome-screenshot-3.14.0/src/screenshot-interactive-dialog.c:456: undefined reference to `gtk_header_bar_new' /builddir/build/BUILD/gnome-screenshot-3.14.0/src/screenshot-interactive-dialog.c:457: undefined reference to `gtk_window_set_titlebar' /builddir/build/BUILD/gnome-screenshot-3.14.0/src/screenshot-interactive-dialog.c:502: undefined reference to `GTK_HEADER_BAR' /builddir/build/BUILD/gnome-screenshot-3.14.0/src/screenshot-interactive-dialog.c:502: undefined reference to `gtk_header_bar_pack_end' /builddir/build/BUILD/gnome-screenshot-3.14.0/src/screenshot-interactive-dialog.c:512: undefined reference to `GTK_HEADER_BAR' /builddir/build/BUILD/gnome-screenshot-3.14.0/src/screenshot-interactive-dialog.c:512: undefined reference to `gtk_header_bar_pack_start' make[3]: Leaving directory `/builddir/build/BUILD/gnome-screenshot-3.14.0/src' make[2]: Leaving directory `/builddir/build/BUILD/gnome-screenshot-3.14.0/src' collect2: error: ld returned 1 exit status make[3]: *** [gnome-screenshot] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/gnome-screenshot-3.14.0' make: *** [all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.cX7fKV (%build) Bad exit status from /var/tmp/rpm-tmp.cX7fKV (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/gnome-screenshot.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 377, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/gnome-screenshot.spec'] LEAVE do --> EXCEPTION RAISED