[...] c:8: /usr/include/features.h:183:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/X11R6/include/GL/glx.h:41:0, from glutint.h:22, from glut_cmap.c:30: /usr/X11R6/include/GL/gl.h:104:0: note: this is the location of the previous definition #define APIENTRY GLAPIENTRY make: *** [Makefile:520: glut_cindex.o] Error 1 make: *** [Makefile:520: glut_cursor.o] Error 1 make: *** [Makefile:520: glut_cmap.o] Error 1 In file included from /usr/X11R6/include/GL/glx.h:117:0, from glutint.h:22, from glut_dials.c:8: /usr/include/GL/glxext.h:212:27: error: expected declaration specifiers or '...' before '*' token typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName); ^ In file included from glutint.h:25:0, from glut_dials.c:8: ../../include/GL/glut.h:63:0: warning: "APIENTRY" redefined #define APIENTRY In file included from /usr/X11R6/include/GL/glx.h:41:0, from glutint.h:22, from glut_dials.c:8: /usr/X11R6/include/GL/gl.h:104:0: note: this is the location of the previous definition #define APIENTRY GLAPIENTRY make: *** [Makefile:520: glut_dials.o] Error 1 make: Leaving directory '/tmp/B.ePqdgd/BUILD/glut-3.7/lib/glut' error: Bad exit status from /tmp/B.ePqdgd/BUILD/tmp/rpm-tmp.69874 (%build) RPM build errors: Bad exit status from /tmp/B.ePqdgd/BUILD/tmp/rpm-tmp.69874 (%build) ended at: Mon Jan 22 14:13:11 2018, done in 0:00:15.467355 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.ePqdgd/BUILD + rm -rf /tmp/B.ePqdgd/tmp /tmp/B.ePqdgd/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.ePqdgd Begin-TLD-Builder-Info Build-Time: user:15.04s sys:2.15s real:24.83s (faults io:0 non-io:1201657) End-TLD-Builder-Info