D: [iurt_root_command] chroot
Installing /home/iurt/rpm/SRPMS/@264130:gjs-1.33.3-1.mga3.src.rpm
Executing(%prep): /bin/sh -e /home/iurt/rpm/tmp/rpm-tmp.kJwK8B
+ umask 022
+ cd /home/iurt/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpm/BUILD
+ rm -rf gjs-1.33.3
+ /usr/bin/xz -dc /home/iurt/rpm/SOURCES/gjs-1.33.3.tar.xz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gjs-1.33.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/patch -U -s -p1 -b --suffix .0000 --fuzz=0 -i /home/iurt/rpm/SOURCES/gjs-1.29.18-linkage.patch
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpm/tmp/rpm-tmp.c7SYCU
+ umask 022
+ cd /home/iurt/rpm/BUILD
+ cd gjs-1.33.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ test -x configure
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export FFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ CONFIGURE_TOP=.
+ /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 .
Fixing libtool inside configure to pass -Wl,xxx options before libraries
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ '[' -f ./configure.in -o -f ./configure.ac ']'
+ CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64'
+ ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --disable-static --enable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... 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 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
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++... gcc3
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... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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... /bin/sed
checking for fgrep... /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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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 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 ar... ar
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 mt... no
checking if : is a manifest tool... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for an ANSI C-conforming const... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for mallinfo... yes
Using JS_CFLAGS: 
Using JS_LIBS: 
checking for JS_CLASS_TRACE macro... no
checking for gobject-introspection... yes
checking for GOBJECT... yes
checking for GJS... yes
checking for GJS_CAIRO... yes
checking for GJS_DBUS... yes
checking for GJS_GDBUS... yes
checking for dbus_message_iter_abandon_container... yes
checking for GJSTESTS... yes
checking how to link readline libs... none
checking for backtrace... yes
checking whether to include systemtap tracing support... no
checking whether to include dtrace tracing support... no
checking for an ANSI C-conforming const... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gjs-1.0.pc
config.status: creating gjs-dbus-1.0.pc
config.status: creating gjs-internals-1.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j8
TOP_SRCDIR=. DBUS_SESSION_BUS_ADDRESS='' XDG_DATA_HOME=test_user_data GJS_DEBUG_OUTPUT=test_user_data/logs/gjs.log BUILDDIR=. GJS_USE_UNINSTALLED_FILES=1 GJS_TEST_TIMEOUT=420 GI_TYPELIB_PATH=. LD_LIBRARY_PATH=":" G_FILENAME_ENCODING=latin1	 ./scripts/make-tests . gjs/context.c gjs/jsapi-util-array.c gjs/jsapi-util-error.c gjs/jsapi-util-string.c gjs/stack.c util/glib.c
Replacing old ./gjstest.h and ./gjstest.c
   ./gjstest.h  was 0 bytes now 881
   ./gjstest.c  was 0 bytes now 1162
make  all-am
make[1]: Entering directory `/home/iurt/rpm/BUILD/gjs-1.33.3'
  CC     console_la-console.lo
  CC     libgjs_la-byteArray.lo
  CC     libgjs_la-context.lo
  CC     libgjs_la-importer.lo
  CC     libgjs_la-gi.lo
  CXX    libgjs_la-jsapi-private.lo
  CC     libgjs_la-jsapi-util.lo
  CC     libgjs_la-jsapi-util-array.lo
modules/console.c: In function 'gjs_console_error_reporter':
modules/console.c:93:15: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result]
gjs/byteArray.c: In function 'to_string_func':
gjs/byteArray.c:543:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  CC     libgjs_la-jsapi-util-error.lo
  CC     libgjs_la-jsapi-util-string.lo
  CC     libgjs_la-mem.lo
  CC     libgjs_la-native.lo
  CC     libgjs_la-profiler.lo
  CC     libgjs_la-stack.lo
In file included from /usr/include/js/jscntxt.h:62:0,
                 from gjs/jsapi-private.cpp:35:
/usr/include/js/jsfun.h: In static member function 'static uintN JSFunction::offsetOfNativeOrScript()':
/usr/include/js/jsfun.h:230:16: warning: invalid access to non-static data member 'JSFunction::u'  of NULL object [-Winvalid-offsetof]
/usr/include/js/jsfun.h:230:16: warning: (perhaps the 'offsetof' macro was used incorrectly) [-Winvalid-offsetof]
In file included from gjs/jsapi-private.cpp:35:0:
/usr/include/js/jscntxt.h: In function 'JSContext* js_ContextFromLinkField(JSCList*)':
/usr/include/js/jscntxt.h:2963:44: warning: invalid access to non-static data member 'JSContext::link'  of NULL object [-Winvalid-offsetof]
/usr/include/js/jscntxt.h:2963:44: warning: (perhaps the 'offsetof' macro was used incorrectly) [-Winvalid-offsetof]
  CC     libgjs_la-unit-test-utils.lo
  CC     libgjs_la-error.lo
  CC     libgjs_la-glib.lo
  CC     libgjs_la-crash.lo
  CC     libgjs_la-log.lo
  CC     libgjs_la-misc.lo
  CC     libgjs_la-arg.lo
util/crash.c: In function 'unbuffered_write_stderr':
util/crash.c:49:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
util/crash.c: In function 'gjs_print_maps':
util/crash.c:63:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  CC     libgjs_la-boxed.lo
  CC     libgjs_la-closure.lo
  CC     libgjs_la-enumeration.lo
  CC     libgjs_la-function.lo
  CC     libgjs_la-keep-alive.lo
  CC     libgjs_la-ns.lo
  CC     libgjs_la-object.lo
gi/boxed.c: In function 'type_can_be_allocated_directly':
gi/boxed.c:1018:17: warning: enumeration value 'GI_INFO_TYPE_INVALID_0' not handled in switch [-Wswitch]
  CC     libgjs_la-foreign.lo
  CC     libgjs_la-param.lo
  CC     libgjs_la-repo.lo
  CC     libgjs_la-union.lo
  CC     libgjs_la-value.lo
  CC     libgjs_la-interface.lo
gi/repo.c: In function 'gjs_info_type_name':
gi/repo.c:659:5: warning: enumeration value 'GI_INFO_TYPE_INVALID_0' not handled in switch [-Wswitch]
  CC     libgjs_la-gtype.lo
  CC     libgjs_la-gerror.lo
  CC     libgjs_la-gjs-gdbus-wrapper.lo
  CC     debugger_la-debugger.lo
  CC     langNative_la-lang.lo
  CC     mainloop_la-mainloop.lo
  CC     gettextNative_la-gettext-native.lo
  CC     dbusNative_la-dbus-exports.lo
  CC     dbusNative_la-dbus-values.lo
  CC     dbusNative_la-dbus.lo
  CC     libgjs_dbus_la-dbus.lo
  CC     libgjs_dbus_la-dbus-signals.lo
  CC     libgjs_dbus_la-dbus-proxy.lo
  CC     cairoNative_la-cairo-context.lo
  CC     cairoNative_la-cairo-path.lo
  CC     cairoNative_la-cairo-surface.lo
  CC     cairoNative_la-cairo-image-surface.lo
  CC     cairoNative_la-cairo-ps-surface.lo
  CC     cairoNative_la-cairo-pdf-surface.lo
  CC     cairoNative_la-cairo-svg-surface.lo
  CC     cairoNative_la-cairo-pattern.lo
  CC     cairoNative_la-cairo-gradient.lo
  CC     cairoNative_la-cairo-linear-gradient.lo
  CC     cairoNative_la-cairo-radial-gradient.lo
  CC     cairoNative_la-cairo-surface-pattern.lo
  CC     cairoNative_la-cairo-solid-pattern.lo
  CC     cairoNative_la-cairo.lo
  CC     system_la-system.lo
  CC     formatNative_la-format.lo
  CC     libregress_la-regress.lo
  CC     libgimarshallingtests_la-gimarshallingtests.lo
  CC     gjs_console-console.o
  CXXLD  libgjs.la
/usr/share/gobject-introspection-1.0/tests/gimarshallingtests.c: In function '_callback':
/usr/share/gobject-introspection-1.0/tests/gimarshallingtests.c:3858:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
.libs/libgjs_la-gjs-gdbus-wrapper.o: In function `idle_cb':
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:268: undefined reference to `g_dbus_interface_skeleton_get_type'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:270: undefined reference to `g_dbus_interface_skeleton_flush'
.libs/libgjs_la-gjs-gdbus-wrapper.o: In function `gjs_dbus_implementation_class_init':
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:209: undefined reference to `g_dbus_interface_skeleton_get_type'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:221: undefined reference to `g_dbus_interface_info_get_type'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:228: undefined reference to `g_dbus_method_invocation_get_type'
.libs/libgjs_la-gjs-gdbus-wrapper.o: In function `gjs_dbus_implementation_get_type':
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:33: undefined reference to `g_dbus_interface_skeleton_get_type'
.libs/libgjs_la-gjs-gdbus-wrapper.o: In function `gjs_dbus_implementation_flush':
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:188: undefined reference to `g_dbus_interface_skeleton_get_object_path'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:188: undefined reference to `g_dbus_interface_skeleton_get_connection'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:188: undefined reference to `g_dbus_connection_emit_signal'
.libs/libgjs_la-gjs-gdbus-wrapper.o: In function `gjs_dbus_implementation_finalize':
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:106: undefined reference to `g_dbus_interface_info_unref'
.libs/libgjs_la-gjs-gdbus-wrapper.o: In function `gjs_dbus_implementation_emit_signal':
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:308: undefined reference to `g_dbus_interface_skeleton_get_type'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:310: undefined reference to `g_dbus_interface_skeleton_get_object_path'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:310: undefined reference to `g_dbus_interface_skeleton_get_connection'
/home/iurt/rpm/BUILD/gjs-1.33.3/gjs-dbus/gjs-gdbus-wrapper.c:310: undefined reference to `g_dbus_connection_emit_signal'
collect2: ld returned 1 exit status
make[1]: *** [libgjs.la] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/iurt/rpm/BUILD/gjs-1.33.3'
make: *** [all] Error 2
error: Bad exit status from /home/iurt/rpm/tmp/rpm-tmp.c7SYCU (%build)


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