+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xorg-x11-drv-fbturbo.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lMGSOj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xf86-video-fbturbo-20150221 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xf86-video-fbturbo-20150221.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-fbturbo-20150221 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + touch AUTHORS + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uiiDQz + umask 022 + cd /builddir/build/BUILD + cd xf86-video-fbturbo-20150221 + autoreconf -v --install 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: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:41: installing './compile' configure.ac:41: installing './config.guess' configure.ac:41: installing './config.sub' configure.ac:34: installing './install-sh' configure.ac:34: installing './missing' src/Makefile.am: installing './depcomp' test/Makefile.am:3: warning: source file '../src/sunxi_disp.c' is in a subdirectory, test/Makefile.am:3: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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' + for i in $(find $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --libdir=/usr/lib64 --mandir=/usr/share/man 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... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for riscv64-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 gcc option to accept ISO C99... none needed 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 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 whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... (cached) /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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 riscv64-redhat-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... 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) 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 if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking for XORG... yes checking whether xf86ConfigIsaEntity is declared... no checking ump/ump.h usability... no checking ump/ump.h presence... no checking for ump/ump.h... no 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 test/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 V=1 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' Making all in src make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o arm_asm.lo arm_asm.S /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cpuinfo.lo cpuinfo.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cpu_backend.lo cpu_backend.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o fb_copyarea.lo fb_copyarea.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c arm_asm.S -fPIC -DPIC -o .libs/arm_asm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c fb_copyarea.c -fPIC -DPIC -o .libs/fb_copyarea.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c cpuinfo.c -fPIC -DPIC -o .libs/cpuinfo.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c cpu_backend.c -fPIC -DPIC -o .libs/cpu_backend.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o backing_store_tuner.lo backing_store_tuner.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o fbdev.lo fbdev.c fb_copyarea.c: In function 'fb_copyarea_init': fb_copyarea.c:59:9: warning: unused variable 'ovl_layer_size' [-Wunused-variable] int ovl_layer_size; ^~~~~~~~~~~~~~ fb_copyarea.c:58:9: warning: unused variable 'gfx_layer_size' [-Wunused-variable] int gfx_layer_size; ^~~~~~~~~~~~~~ fb_copyarea.c:57:14: warning: unused variable 'version' [-Wunused-variable] int tmp, version; ^~~~~~~ fb_copyarea.c:57:9: warning: unused variable 'tmp' [-Wunused-variable] int tmp, version; ^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c backing_store_tuner.c -fPIC -DPIC -o .libs/backing_store_tuner.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sunxi_disp.lo sunxi_disp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sunxi_x_g2d.lo sunxi_x_g2d.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c fbdev.c -fPIC -DPIC -o .libs/fbdev.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c sunxi_disp.c -fPIC -DPIC -o .libs/sunxi_disp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c sunxi_x_g2d.c -fPIC -DPIC -o .libs/sunxi_x_g2d.o sunxi_disp.c: In function 'sunxi_disp_init': sunxi_disp.c:47:9: warning: unused variable 'ovl_layer_size' [-Wunused-variable] int ovl_layer_size; ^~~~~~~~~~~~~~ sunxi_disp.c:46:9: warning: unused variable 'gfx_layer_size' [-Wunused-variable] int gfx_layer_size; ^~~~~~~~~~~~~~ sunxi_disp.c: In function 'sunxi_layer_release': sunxi_disp.c:345:9: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ sunxi_disp.c: In function 'sunxi_layer_hide': sunxi_disp.c:554:9: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sunxi_disp_hwcursor.lo sunxi_disp_hwcursor.c fbdev.c: In function 'FBDevPciProbe': fbdev.c:289:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] device = xf86FindOptionValue(devSection->options, "fbdev"); ^ fbdev.c: In function 'FBDevProbe': fbdev.c:348:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] dev = xf86FindOptionValue(devSections[i]->options,"fbdev"); ^ fbdev.c:363:7: warning: statement with no effect [-Wunused-value] 0; ^ fbdev.c: In function 'FBDevPreInit': fbdev.c:467:30: warning: passing argument 3 of 'fbdevHWInit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!fbdevHWInit(pScrn,NULL,xf86FindOptionValue(fPtr->pEnt->device->options,"fbdev"))) ^~~~~~~~~~~~~~~~~~~ In file included from fbdev.c:70:0: /usr/include/xorg/fbdevhw.h:21:23: note: expected 'char *' but argument is of type 'const char *' extern _X_EXPORT Bool fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci, ^~~~~~~~~~~ fbdev.c: In function 'FBDevScreenInit': fbdev.c:924:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!(accelmethod = xf86GetOptValString(fPtr->Options, OPTION_ACCELMETHOD)) || ^ fbdev.c:945:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!(accelmethod = xf86GetOptValString(fPtr->Options, OPTION_ACCELMETHOD)) || ^ fbdev.c: In function 'FBDevDGASetMode': fbdev.c:1273:9: warning: unused variable 'scrnIdx' [-Wunused-variable] int scrnIdx = pScrn->pScreen->myNum; ^~~~~~~ sunxi_x_g2d.c: In function 'xPutImage': sunxi_x_g2d.c:251:15: warning: unused variable 'private' [-Wunused-variable] SunxiG2D *private = SUNXI_G2D(pScrn); ^~~~~~~ sunxi_x_g2d.c: In function 'xCreateGC': sunxi_x_g2d.c:310:10: warning: unused variable 'result' [-Wunused-variable] Bool result; ^~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c sunxi_disp_hwcursor.c -fPIC -DPIC -o .libs/sunxi_disp_hwcursor.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sunxi_video.lo sunxi_video.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c sunxi_video.c -fPIC -DPIC -o .libs/sunxi_video.o /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -module -avoid-version -Wl,-z,relro -o fbturbo_drv.la -rpath /usr/lib64/xorg/modules/drivers arm_asm.lo cpuinfo.lo cpu_backend.lo fb_copyarea.lo backing_store_tuner.lo fbdev.lo sunxi_disp.lo sunxi_x_g2d.lo sunxi_disp_hwcursor.lo sunxi_video.lo libtool: link: gcc -shared -fPIC -DPIC .libs/arm_asm.o .libs/cpuinfo.o .libs/cpu_backend.o .libs/fb_copyarea.o .libs/backing_store_tuner.o .libs/fbdev.o .libs/sunxi_disp.o .libs/sunxi_x_g2d.o .libs/sunxi_disp_hwcursor.o .libs/sunxi_video.o -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,fbturbo_drv.so -o .libs/fbturbo_drv.so libtool: link: ( cd ".libs" && rm -f "fbturbo_drv.la" && ln -s "../fbturbo_drv.la" "fbturbo_drv.la" ) make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/src' Making all in test make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/test' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sunxi_disp_vsync_demo.o sunxi_disp_vsync_demo.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sunxi_disp.o `test -f '../src/sunxi_disp.c' || echo './'`../src/sunxi_disp.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sunxi_g2d_bench.o sunxi_g2d_bench.c ../src/sunxi_disp.c: In function 'sunxi_disp_init': ../src/sunxi_disp.c:47:9: warning: unused variable 'ovl_layer_size' [-Wunused-variable] int ovl_layer_size; ^~~~~~~~~~~~~~ ../src/sunxi_disp.c:46:9: warning: unused variable 'gfx_layer_size' [-Wunused-variable] int gfx_layer_size; ^~~~~~~~~~~~~~ ../src/sunxi_disp.c: In function 'sunxi_layer_release': ../src/sunxi_disp.c:345:9: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ ../src/sunxi_disp.c: In function 'sunxi_layer_hide': ../src/sunxi_disp.c:554:9: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ sunxi_g2d_bench.c: In function 'main': sunxi_g2d_bench.c:73:42: warning: unused variable 'color' [-Wunused-variable] int i, pos = 0, framenum = 0, yoffs, color; ^~~~~ sunxi_g2d_bench.c:73:35: warning: unused variable 'yoffs' [-Wunused-variable] int i, pos = 0, framenum = 0, yoffs, color; ^~~~~ sunxi_g2d_bench.c:73:21: warning: unused variable 'framenum' [-Wunused-variable] int i, pos = 0, framenum = 0, yoffs, color; ^~~~~~~~ sunxi_g2d_bench.c:73:12: warning: unused variable 'pos' [-Wunused-variable] int i, pos = 0, framenum = 0, yoffs, color; ^~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -lpixman-1 -Wl,-z,relro -o sunxi_disp_vsync_demo sunxi_disp_vsync_demo.o sunxi_disp.o /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -lpixman-1 -Wl,-z,relro -o sunxi_g2d_bench sunxi_g2d_bench.o sunxi_disp.o libtool: link: gcc -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -o sunxi_disp_vsync_demo sunxi_disp_vsync_demo.o sunxi_disp.o -lpixman-1 libtool: link: gcc -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -o sunxi_g2d_bench sunxi_g2d_bench.o sunxi_disp.o -lpixman-1 make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/test' Making all in man make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/man' /usr/bin/sed -e 's|__vendorversion__|"xf86-video-fbturbo 0.5.1" "X Version 11"|' -e 's|__xorgversion__|"xf86-video-fbturbo 0.5.1" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < fbturbo.man > fbturbo.4 make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/man' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aRMQU2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 + cd xf86-video-fbturbo-20150221 + make install DESTDIR=/builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/src' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/src' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/lib64/xorg/modules/drivers' /bin/sh ../libtool --mode=install /usr/bin/install -c fbturbo_drv.la '/builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/lib64/xorg/modules/drivers' libtool: install: /usr/bin/install -c .libs/fbturbo_drv.so /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/lib64/xorg/modules/drivers/fbturbo_drv.so libtool: install: /usr/bin/install -c .libs/fbturbo_drv.lai /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/lib64/xorg/modules/drivers/fbturbo_drv.la libtool: warning: remember to run 'libtool --finish /usr/lib64/xorg/modules/drivers' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/src' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/src' Making install in test make[1]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/test' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/test' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/test' Making install in man make[1]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/man' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/man/man4' /usr/bin/install -c -m 644 fbturbo.4 '/builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/man/man4' make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/man' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221/man' make[1]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' make[2]: Entering directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' make[1]: Leaving directory '/builddir/build/BUILD/xf86-video-fbturbo-20150221' + find /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 -type f -name '*.la' -delete + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9oPSJe + umask 022 + cd /builddir/build/BUILD + cd xf86-video-fbturbo-20150221 + DOCDIR=/builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/doc/xorg-x11-drv-fbturbo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/doc/xorg-x11-drv-fbturbo + cp -pr README /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/doc/xorg-x11-drv-fbturbo + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SW3yFQ + umask 022 + cd /builddir/build/BUILD + cd xf86-video-fbturbo-20150221 + LICENSEDIR=/builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/licenses/xorg-x11-drv-fbturbo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/licenses/xorg-x11-drv-fbturbo + cp -pr COPYING /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64/usr/share/licenses/xorg-x11-drv-fbturbo + exit 0 Provides: xorg-x11-drv-fbturbo = 0.5.1-0.11.20150221.fc28 xorg-x11-drv-fbturbo(riscv-64) = 0.5.1-0.11.20150221.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 Wrote: /builddir/build/SRPMS/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.irmrf8 + umask 022 + cd /builddir/build/BUILD + cd xf86-video-fbturbo-20150221 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xorg-x11-drv-fbturbo-0.5.1-0.11.20150221.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff