[...] from /usr/include/stdio.h:27, from sis.h:36, from initextx.h:38, from initextx.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'const char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ initextx.c:405:5: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [enabled by default] strcpy(current->name, SiS_PlasmaMode[l].name); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from sis.h:36, from initextx.h:38, from initextx.c:36: /usr/include/bits/string3.h:102:1: note: expected 'char * restrict' but argument is of type 'const char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ initextx.c:489:5: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [enabled by default] pSiS->SiS_Pr->CP_VDisplay[i]); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from sis.h:36, from initextx.h:38, from initextx.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'const char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ make[2]: *** [sis300_accel.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [initextx.lo] Error 1 make[2]: *** [init.lo] Error 1 make[2]: *** [init301.lo] Error 1 make[2]: Leaving directory `/home/users/builder/rpm/BUILD/xf86-video-sis-0.10.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/users/builder/rpm/BUILD/xf86-video-sis-0.10.7' make: *** [all] Error 2 error: Bad exit status from /tmp/B.b06cb0/rpm-tmp.42843 (%build) RPM build errors: Bad exit status from /tmp/B.b06cb0/rpm-tmp.42843 (%build) ended at: Tue Jul 7 18:25:44 2015, done in 01days 00h 00m 24s error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device Begin-PLD-Builder-Info Build-Time: user:20.42s sys:12.61s real:28.93s (faults io:0 non-io:1054820) End-PLD-Builder-Info