D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-OpenGL-GLUT-0.720.0-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RrFjUx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KjDhdz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + rm -rf OpenGL-GLUT-0.72 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/OpenGL-GLUT-0.72.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenGL-GLUT-0.72 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ei9Ci5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + cd OpenGL-GLUT-0.72 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + xvfb-run perl Makefile.PL INSTALLDIRS=vendor verbose run as `perl Makefile.PL help` to show user options $verbose set to 1 found libs: GL = 'GL' GLU = 'GLU' GLUT = 'glut' Testing for OpenGL Extensions Testing GLUT version In order to test your GPU's capabilities, run this make under an X11 shell glversion: cd utils;make -f Makefile GLUT_LIB=glut GLUT_DEF=HAVE_GLUT clean;make -f Makefile GLUT_LIB=glut GLUT_DEF=HAVE_GLUT /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 rm -f glversion.txt rm -f glversion rm -f glversion.o cc -I/usr/include -I/usr/X11R6/include -I/usr/local/include -I/usr/openwin/include -DHAVE_GLUT -c glversion.c cc glversion.o -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/openwin/lib -L/usr/lib/xorg/modules -L/usr/X11R6/lib/modules -L/usr/lib/xorg/modules/extensions -L/usr/X11R6/lib/modules/extensions -lGL -lglut -lGLU -lXi -lXmu -lXext -lX11 -lm -o glversion chmod u+x glversion ./glversion > glversion.txt This looks like OpenGL Version: 4.5 (Compatibility Profile) Mesa 24.2.8 Found FreeGLUT v30600 Have Version Data Using interface: FREEGLUT resulting libs: FREEGLUT = 'glut' GL = 'GL' GLU = 'GLU' GLUT = 'glut' MakeMaker configuration: Checking if your kit is complete... Looks good AUTHOR => [q[Chris Marshall ]] BUILD_REQUIRES => { } CONFIGURE_REQUIRES => { ExtUtils::MakeMaker=>q[6.64] } DEFINE => q[-DHAVE_VER -DGL_VERSION_USED=4.5 -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX -DHAVE_FREEGLUT -DHAVE_FREEGLUT_H -DGL_GLEXT_LEGACY] EXE_FILES => [] INC => q[-I/usr/include -I/usr/include -I/usr/local/include] INSTALLDIRS => q[vendor] LDFROM => q[$(OBJECT) ] LIBS => q[-L/usr/lib -L/usr/local/lib -lGL -lGLU -lglut -lglut -lXext -lXmu -lXi -lICE -lX11 -lstdc++ -lm] META_MERGE => { abstract=>q[Perl bindings to the GLUT/FreeGLUT toolkit], meta-spec=>{ version=>q[2] }, resources=>{ bugtracker=>{ web=>q[https://github.com/Perl-GPU/OpenGL-GLUT/issues] }, homepage=>q[http://sourceforge.net/projects/pogl/], repository=>{ type=>q[git], url=>q[git://github.com/Perl-GPU/OpenGL-GLUT.git], web=>q[https://github.com/Perl-GPU/OpenGL-GLUT] }, x_IRC=>q[irc://irc.perl.org/#pogl] } } NAME => q[OpenGL::GLUT] OBJECT => q[$(BASEEXT)$(OBJ_EXT) gl_util$(OBJ_EXT) pogl_const$(OBJ_EXT) pogl_gl_top$(OBJ_EXT)] OPTIMIZE => undef PREREQ_PM => { OpenGL=>q[0.70] } TEST_REQUIRES => { Test::More=>q[0.88] } VERSION_FROM => q[lib/OpenGL/GLUT.pm] XSPROTOARG => q[-noprototypes] clean => { FILES=>q[utils/glversion.txt gl_exclude.h utils/glversion utils/glversion.o] } dynamic_lib => { } Using PERL=/usr/bin/perl5.40.0 Potential libraries are '-L/usr/lib -L/usr/local/lib -lGL -lGLU -lglut -lglut -lXext -lXmu -lXi -lICE -lX11 -lstdc++ -lm': GL not found in /usr/lib GL not found in /usr/local/lib GL not found in /usr/local/lib GL not found in /usr/lib GL not found in /usr/local/lib64 '-lGL' found at /lib64/libGL.so.1.7.0 GLU not found in /usr/lib GLU not found in /usr/local/lib GLU not found in /usr/local/lib GLU not found in /usr/lib GLU not found in /usr/local/lib64 '-lGLU' found at /lib64/libGLU.so.1.3.1 glut not found in /usr/lib glut not found in /usr/local/lib glut not found in /usr/local/lib glut not found in /usr/lib glut not found in /usr/local/lib64 '-lglut' found at /lib64/libglut.so.3.12.1 glut not found in /usr/lib glut not found in /usr/local/lib glut not found in /usr/local/lib glut not found in /usr/lib glut not found in /usr/local/lib64 '-lglut' found at /lib64/libglut.so.3.12.1 Xext not found in /usr/lib Xext not found in /usr/local/lib Xext not found in /usr/local/lib Xext not found in /usr/lib Xext not found in /usr/local/lib64 '-lXext' found at /lib64/libXext.so.6.4.0 Xmu not found in /usr/lib Xmu not found in /usr/local/lib Xmu not found in /usr/local/lib Xmu not found in /usr/lib Xmu not found in /usr/local/lib64 '-lXmu' found at /lib64/libXmu.so.6.2.0 Xi not found in /usr/lib Xi not found in /usr/local/lib Xi not found in /usr/local/lib Xi not found in /usr/lib Xi not found in /usr/local/lib64 '-lXi' found at /lib64/libXi.so.6.1.0 ICE not found in /usr/lib ICE not found in /usr/local/lib ICE not found in /usr/local/lib ICE not found in /usr/lib ICE not found in /usr/local/lib64 '-lICE' found at /lib64/libICE.so.6.3.0 X11 not found in /usr/lib X11 not found in /usr/local/lib X11 not found in /usr/local/lib X11 not found in /usr/lib X11 not found in /usr/local/lib64 '-lX11' found at /lib64/libX11.so.6.4.0 '-lstdc++' found at /usr/lib/libstdc++.so.6.0.33 '-lm' found at /usr/lib/libm.so.6 Generating a Unix-style Makefile Writing Makefile for OpenGL::GLUT Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j48 V=1 VERBOSE=1 Running Mkbootstrap for GLUT () chmod 644 "GLUT.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- GLUT.bs blib/arch/auto/OpenGL/GLUT/GLUT.bs 644 cp menutest.pl blib/lib/OpenGL/menutest.pl cp lib/OpenGL/GLUT.pm blib/lib/OpenGL/GLUT.pm "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/OpenGL-GLUT-0.72/typemap' pogl_const.xs > pogl_const.xsc mv pogl_const.xsc pogl_const.c "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/OpenGL-GLUT-0.72/typemap' pogl_gl_top.xs > pogl_gl_top.xsc mv pogl_gl_top.xsc pogl_gl_top.c "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/OpenGL-GLUT-0.72/typemap' GLUT.xs > GLUT.xsc mv GLUT.xsc GLUT.c gcc -c -I/usr/include -I/usr/include -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_VER -DGL_VERSION_USED=4.5 -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX -DHAVE_FREEGLUT -DHAVE_FREEGLUT_H -DGL_GLEXT_LEGACY pogl_gl_top.c gcc -c -I/usr/include -I/usr/include -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_VER -DGL_VERSION_USED=4.5 -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX -DHAVE_FREEGLUT -DHAVE_FREEGLUT_H -DGL_GLEXT_LEGACY pogl_const.c gcc -c -I/usr/include -I/usr/include -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_VER -DGL_VERSION_USED=4.5 -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX -DHAVE_FREEGLUT -DHAVE_FREEGLUT_H -DGL_GLEXT_LEGACY gl_util.c gcc -c -I/usr/include -I/usr/include -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_VER -DGL_VERSION_USED=4.5 -DHAVE_FREEGLUT -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX -DHAVE_FREEGLUT -DHAVE_FREEGLUT_H -DGL_GLEXT_LEGACY GLUT.c GLUT.xs: In function 'generic_glut_timer_handler': GLUT.xs:490:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 490 | AV * handler_data = (AV*)value; | ^ GLUT.xs: In function 'XS_OpenGL__GLUT_glutTimerFunc': GLUT.xs:1084:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1084 | glutTimerFunc(msecs, generic_glut_timer_handler, (int)handler_data); | ^ rm -f blib/arch/auto/OpenGL/GLUT/GLUT.so gcc -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong GLUT.o gl_util.o pogl_const.o pogl_gl_top.o -o blib/arch/auto/OpenGL/GLUT/GLUT.so \ -L/usr/lib -L/usr/local/lib -lGL -lGLU -lglut -lglut -lXext -lXmu -lXi -lICE -lX11 -lstdc++ -lm -lperl \ /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 chmod 755 blib/arch/auto/OpenGL/GLUT/GLUT.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0tYAtq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT + cd OpenGL-GLUT-0.72 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- GLUT.bs blib/arch/auto/OpenGL/GLUT/GLUT.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/OpenGL/GLUT/GLUT.so Installing /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/OpenGL/GLUT.pm Installing /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/OpenGL/menutest.pl Installing /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT/usr/share/man/man3/OpenGL::GLUT.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 0.720.0-5.mga10 --unique-debug-suffix -0.720.0-5.mga10.x86_64 --unique-debug-src-base perl-OpenGL-GLUT-0.720.0-5.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/OpenGL-GLUT-0.72 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-OpenGL-GLUT-0.720.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/OpenGL/GLUT/GLUT.so'; reason: Permission denied *** ERROR:: GDB exited with exit status 1 during index generation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0tYAtq (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0tYAtq (%install) I: [iurt_root_command] ERROR: chroot