D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ruby-pango-3.3.6-1.mga8.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0Th00G + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pango-3.3.6 + /usr/bin/gem unpack /home/pterjan/rpmbuild/SOURCES/pango-3.3.6.gem Unpacked gem: '/home/pterjan/rpmbuild/BUILD/pango-3.3.6' + /usr/bin/gem spec /home/pterjan/rpmbuild/SOURCES/pango-3.3.6.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd pango-3.3.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.H9NAND + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pango-3.3.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../pango-3.3.6.gemspec WARNING: description and summary are identical WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: pango Version: 3.3.6 File: pango-3.3.6.gem + /usr/bin/gem install pango-3.3.6.gem -V --local --env-shebang --rdoc --ri --force --ignore-dependencies --install-dir /usr/share/gems --bindir /usr/bin --build-root . WARNING: You build with buildroot. Build root: /home/pterjan/rpmbuild/BUILD/pango-3.3.6 Bin dir: /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/bin Gem home: /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/COPYING.LIB /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/README.md /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/Rakefile /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/depend /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/extconf.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/pango.def /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango-attr-iterator.c /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango-attr-list.c /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango-attribute.c /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango-conversions.h /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango-private.h /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango-scale.c /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango.c /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango/rb-pango.h /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/extconf.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/attr-type.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/cairo-loader.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/color.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/deprecated.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/font-description.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/language.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/layout.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/loader.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/markup.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/matrix.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/rectangle.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/lib/pango/version.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/pango.gemspec /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/pango-test-utils.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/run-test.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-analysis.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-attr-iterator.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-attr-list.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-attribute.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-color.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-context.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-enum.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-font-description.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-language.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-layout.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-log-attr.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-markup.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-matrix.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-pango.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-rectangle.rb /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/test/test-version.rb Building native extensions. This could take a while... current directory: /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango /usr/bin/ruby -r ./siteconf20190813-21392-15u6kb9.rb extconf.rb checking for --enable-debug-build option... no checking for -Wall option to compiler... yes checking for -Waggregate-return option to compiler... yes checking for -Wcast-align option to compiler... yes checking for -Wextra option to compiler... yes checking for -Wformat=2 option to compiler... yes checking for -Winit-self option to compiler... yes checking for -Wlarger-than-65500 option to compiler... yes checking for -Wmissing-declarations option to compiler... yes checking for -Wmissing-format-attribute option to compiler... yes checking for -Wmissing-include-dirs option to compiler... yes checking for -Wmissing-noreturn option to compiler... yes checking for -Wmissing-prototypes option to compiler... yes checking for -Wnested-externs option to compiler... yes checking for -Wold-style-definition option to compiler... yes checking for -Wpacked option to compiler... yes checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes checking for -Wpointer-arith option to compiler... yes checking for -Wswitch-default option to compiler... yes checking for -Wswitch-enum option to compiler... yes checking for -Wundef option to compiler... yes checking for -Wout-of-line-declaration option to compiler... no checking for -Wunsafe-loop-optimizations option to compiler... yes checking for -Wwrite-strings option to compiler... yes checking for pango version (>= 1.14.0)... yes checking for cairo... yes checking for rb_cairo.h... yes checking for pangocairo... yes checking for pangowin32... no checking for pangoft2... yes checking for gobject-introspection-1.0... yes checking for pango_attr_strikethrough_color_new() in pango/pango.h... yes checking for pango_attr_underline_color_new() in pango/pango.h... yes checking for pango_attr_iterator_get_attrs() in pango/pango.h... yes creating ruby-pango.pc creating Makefile current directory: /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango make "DESTDIR=" clean rm -f rm -f pango.so *.o *.bak mkmf.log .*.time current directory: /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6/ext/pango make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I./.gem.20190813-21392-114ods9 -I/usr/lib64/ruby/vendor_ruby -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHAVE_RB_CAIRO_H -DHAVE_PANGO_FT2 -DHAVE_PANGO_ATTR_STRIKETHROUGH_COLOR_NEW -DHAVE_PANGO_ATTR_UNDERLINE_COLOR_NEW -DHAVE_PANGO_ATTR_ITERATOR_GET_ATTRS -DRUBY_PANGO_COMPILATION -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -o rb-pango-attr-iterator.o -c rb-pango-attr-iterator.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I./.gem.20190813-21392-114ods9 -I/usr/lib64/ruby/vendor_ruby -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHAVE_RB_CAIRO_H -DHAVE_PANGO_FT2 -DHAVE_PANGO_ATTR_STRIKETHROUGH_COLOR_NEW -DHAVE_PANGO_ATTR_UNDERLINE_COLOR_NEW -DHAVE_PANGO_ATTR_ITERATOR_GET_ATTRS -DRUBY_PANGO_COMPILATION -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -o rb-pango-attr-list.o -c rb-pango-attr-list.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I./.gem.20190813-21392-114ods9 -I/usr/lib64/ruby/vendor_ruby -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHAVE_RB_CAIRO_H -DHAVE_PANGO_FT2 -DHAVE_PANGO_ATTR_STRIKETHROUGH_COLOR_NEW -DHAVE_PANGO_ATTR_UNDERLINE_COLOR_NEW -DHAVE_PANGO_ATTR_ITERATOR_GET_ATTRS -DRUBY_PANGO_COMPILATION -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -o rb-pango-attribute.o -c rb-pango-attribute.c rb-pango-attribute.c:24:1: error: static declaration of 'pango_attribute_get_type' follows non-static declaration pango_attribute_get_type(void) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pango-1.0/pango/pango.h:25, from rb-pango.h:23, from rb-pango-private.h:23, from rb-pango-attribute.c:21: /usr/include/pango-1.0/pango/pango-attributes.h:60:13: note: previous declaration of 'pango_attribute_get_type' was here GType pango_attribute_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:243: rb-pango-attribute.o] Error 1 ERROR: Error installing pango-3.3.6.gem: ERROR: Failed to build gem native extension. Building has failed. See above output for more information on the failure. make failed, exit code 2 Gem files will remain installed in /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/share/gems/gems/pango-3.3.6 for inspection. Results logged to /home/pterjan/rpmbuild/BUILD/pango-3.3.6/usr/lib64/gems/ruby/pango-3.3.6/gem_make.out error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.H9NAND (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.H9NAND (%build) I: [iurt_root_command] ERROR: chroot