Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/libgle.spec'], chrootPath='/var/lib/mock/f40-build-51769883-6199347/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cee131793c704f0485688f63acbaa8a3', '-D', '/var/lib/mock/f40-build-51769883-6199347/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/libgle.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/libgle-3.1.0-29.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libgle.spec'], chrootPath='/var/lib/mock/f40-build-51769883-6199347/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2e9161e7f68144d1b286e3a17d3215e3', '-D', '/var/lib/mock/f40-build-51769883-6199347/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libgle.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EezvwC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gle-3.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gle-3.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gle-3.1.0 + rm -rf /builddir/build/BUILD/gle-3.1.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/gle-3.1.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libgle-examples-makefile.patch): + echo 'Patch #0 (libgle-examples-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p5 --fuzz=0 patching file examples/Makefile.examples Patch #1 (libgle-configure-c99.patch): + echo 'Patch #1 (libgle-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file aclocal.m4 patching file configure + touch -r Makefile.am aclocal.m4 configure configure.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VhdXdS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gle-3.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2001-07-20 22:06:59.000000000 +0000 +++ ./configure 2024-06-24 02:09:41.681795019 +0000 @@ -6373,7 +6373,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -6505,7 +6505,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -7871,7 +7871,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -8559,7 +8559,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -8760,7 +8760,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -8895,7 +8895,7 @@ #if defined (__stub_remove) || defined (__stub___remove) choke me #else -char (*f) () = remove; +__attribute__ ((used)) char (*f) () = remove; #endif #ifdef __cplusplus } @@ -9030,7 +9030,7 @@ #if defined (__stub_shmat) || defined (__stub___shmat) choke me #else -char (*f) () = shmat; +__attribute__ ((used)) char (*f) () = shmat; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for aarch64-redhat-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking command to parse nm output... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E failed checking how to run the C preprocessor... gcc -E checking for egrep... 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for aarch64-redhat-linux-gnu-file... no checking for file... /usr/bin/file checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC 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.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool checking for strerror in -lcposix... no checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes checking for memcpy... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for glGetError in -lGL... yes checking for gluNewQuadric in -lGLU... yes checking for XmuLookupStandardColormap in -lXmu... yes checking for XListInputDevices in -lXi... yes checking for glutSwapBuffers in -lglut... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating doc/html/Makefile config.status: creating examples/Makefile config.status: creating man/Makefile config.status: creating ms-visual-c/Makefile config.status: creating ms-visual-c/gle/Makefile config.status: creating swig/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: executing default commands + make -j12 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/gle-3.1.0' Making all in src make[2]: Entering directory '/builddir/build/BUILD/gle-3.1.0/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_alpha.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_angle.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_cut_round.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_raw.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c extrude.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c intersect.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c qmesh.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c rot_prince.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c rotate.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c round_cap.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c segment.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c texgen.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c texgen.c -fPIC -DPIC -o texgen.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_cut_round.c -fPIC -DPIC -o ex_cut_round.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c rotate.c -fPIC -DPIC -o rotate.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c rot_prince.c -fPIC -DPIC -o rot_prince.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c intersect.c -fPIC -DPIC -o intersect.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_raw.c -fPIC -DPIC -o ex_raw.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c round_cap.c -fPIC -DPIC -o round_cap.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c qmesh.c -fPIC -DPIC -o qmesh.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_alpha.c -fPIC -DPIC -o ex_alpha.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c ex_angle.c -fPIC -DPIC -o ex_angle.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c segment.c -fPIC -DPIC -o segment.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c extrude.c -fPIC -DPIC -o extrude.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c urotate.c rot_prince.c:119:6: warning: 'rot_cs' defined but not used [-Wunused-function] 119 | void rot_cs (gleDouble cosine, /* input */ | ^~~~~~ rot_prince.c:77:6: warning: 'rotz_cs' defined but not used [-Wunused-function] 77 | void rotz_cs (gleDouble cosine, /* input */ | ^~~~~~~ rot_prince.c:53:6: warning: 'roty_cs' defined but not used [-Wunused-function] 53 | void roty_cs (gleDouble cosine, /* input */ | ^~~~~~~ rot_prince.c:28:6: warning: 'rotx_cs' defined but not used [-Wunused-function] 28 | void rotx_cs (gleDouble cosine, /* input */ | ^~~~~~~ ex_raw.c: In function 'draw_raw_style_end_cap': ex_raw.c:150:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 150 | pts = (double *) malloc (3*ncp*sizeof(double)); | ^ ex_raw.c:152:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 152 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} In file included from port.h:200, from ex_raw.c:28: /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c:153:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 153 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c: In function 'draw_front_contour_cap': ex_raw.c:212:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 212 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c:213:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 213 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c: In function 'draw_back_contour_cap': ex_raw.c:258:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 258 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c:259:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 259 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_angle.c: In function 'draw_angle_style_front_cap': ex_angle.c:114:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 114 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} In file included from port.h:200, from ex_angle.c:28: /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_angle.c:115:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 115 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c: In function 'extrusion_raw_join': round_cap.c: In function 'draw_round_style_cap_callback': round_cap.c:111:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 111 | malloced_area = malloc ((4*3+1) *ncp*sizeof (double)); | ^ ex_raw.c:789:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 789 | mem_anchor = malloc (4 * ncp * 3 * sizeof(gleDouble)); | ^ ex_cut_round.c: In function 'draw_cut_style_cap_callback': ex_angle.c: In function 'draw_angle_style_back_cap': ex_angle.c:193:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 193 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_angle.c:194:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 194 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_cut_round.c:135:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 135 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} In file included from port.h:200, from ex_cut_round.c:30: /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_cut_round.c:136:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 136 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ texgen.c: In function 'setup_circle': texgen.c:99:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 99 | sizeof(gleTwoVec)*2*nslices); | ^ ex_angle.c: In function 'extrusion_angle_join': ex_angle.c:298:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 298 | mem_anchor = malloc (2 * 3 * ncp * sizeof(double) | ^ ex_angle.c:299:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 299 | + 2 * 3 * ncp * sizeof(gleDouble)); | ^ ex_cut_round.c: In function 'draw_fillets_and_join_plain': ex_cut_round.c:403:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 403 | cap_loop = (double *) malloc ((ncp+3)*3*sizeof (double)); | ^ In file included from ex_cut_round.c:33: extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:423:10: note: in expansion of macro 'INNERSECT' 423 | INNERSECT (sect, | ^~~~~~~~~ In file included from ex_angle.c:31: extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_angle.c:432:10: note: in expansion of macro 'INNERSECT' 432 | INNERSECT ((&front_loop[3*j]), /* intersection point (returned) */ | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:487:10: note: in expansion of macro 'INNERSECT' 487 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:522:10: note: in expansion of macro 'INNERSECT' 522 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:563:7: note: in expansion of macro 'INNERSECT' 563 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_angle.c:451:10: note: in expansion of macro 'INNERSECT' 451 | INNERSECT ((&back_loop[3*j]), /* intersection point (returned) */ | ^~~~~~~~~ ex_cut_round.c: In function 'draw_fillets_and_join_n_norms': ex_cut_round.c:620:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 620 | cap_loop = (double *) malloc ((ncp+3)*3*2*sizeof (double)); | ^ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c view.c extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:640:10: note: in expansion of macro 'INNERSECT' 640 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:707:10: note: in expansion of macro 'INNERSECT' 707 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:746:10: note: in expansion of macro 'INNERSECT' 746 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:801:10: note: in expansion of macro 'INNERSECT' 801 | INNERSECT (sect, | ^~~~~~~~~ In file included from ex_alpha.c:52: ex_angle.c: In function 'extrusion_angle_join_c4f': ex_angle.c:298:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 298 | mem_anchor = malloc (2 * 3 * ncp * sizeof(double) | ^ ex_angle.c:299:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 299 | + 2 * 3 * ncp * sizeof(gleDouble)); | ^ ex_cut_round.c: In function 'extrusion_round_or_cut_join': extrude.c: In function 'glePolyCone': ex_cut_round.c:911:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 911 | mem_anchor = malloc (4 * 3*ncp*sizeof(gleDouble) | ^ extrude.c:206:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 206 | xforms = (gleAffine *) malloc (npoints * sizeof(gleAffine)); | ^ ex_cut_round.c:912:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 912 | + 2 * 3*ncp*sizeof(double) | ^ extrude.c: In function 'gleTwistExtrusion': extrude.c:240:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 240 | xforms = (gleAffine *) malloc (npoints * sizeof(gleAffine)); | ^ ex_cut_round.c:913:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 913 | + 2 * 1*ncp*sizeof(int)); | ^ extrude.c: In function 'gleSpiral': extrude.c:322:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 322 | mem_anchor = malloc (3*npoints * sizeof (gleDouble)); | ^ extrude.c:326:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 326 | mem_anchor = malloc ((1+2)* 3*npoints * sizeof (gleDouble)); | ^ In file included from ex_angle.c:31: extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_angle.c:432:10: note: in expansion of macro 'INNERSECT' 432 | INNERSECT ((&front_loop[3*j]), /* intersection point (returned) */ | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_angle.c:451:10: note: in expansion of macro 'INNERSECT' 451 | INNERSECT ((&back_loop[3*j]), /* intersection point (returned) */ | ^~~~~~~~~ extrude.c: In function 'gleScrew': extrude.c:742:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 742 | path = (gleVector *) malloc (numsegs * sizeof (gleVector)); | ^ extrude.c:743:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 743 | twarr = (gleDouble *) malloc (numsegs * sizeof (gleDouble)); | ^ In file included from ex_alpha.c:53: ex_cut_round.c: In function 'draw_cut_style_cap_callback': ex_cut_round.c:135:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 135 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} In file included from port.h:200, from ex_alpha.c:16: /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_cut_round.c:136:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 136 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1052:14: note: in expansion of macro 'INNERSECT' 1052 | INNERSECT (isect_point, /* isect point (returned) */ | ^~~~~~~~~ make[2]: *** [Makefile:203: ex_raw.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1075:10: note: in expansion of macro 'INNERSECT' 1075 | INNERSECT (isect_point, /* intersection point (returned) */ | ^~~~~~~~~ ex_cut_round.c: In function 'draw_fillets_and_join_plain': ex_cut_round.c:403:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 403 | cap_loop = (double *) malloc ((ncp+3)*3*sizeof (double)); | ^ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1114:13: note: in expansion of macro 'INNERSECT' 1114 | INNERSECT (isect_point, /* isect point (returned) */ | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:423:10: note: in expansion of macro 'INNERSECT' 423 | INNERSECT (sect, | ^~~~~~~~~ make[2]: *** [Makefile:203: ex_angle.lo] Error 1 extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1133:10: note: in expansion of macro 'INNERSECT' 1133 | INNERSECT (isect_point, /* intersection point (returned) */ | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:487:10: note: in expansion of macro 'INNERSECT' 487 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:522:10: note: in expansion of macro 'INNERSECT' 522 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:563:7: note: in expansion of macro 'INNERSECT' 563 | INNERSECT (sect, | ^~~~~~~~~ ex_cut_round.c: In function 'draw_fillets_and_join_n_norms': ex_cut_round.c:620:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 620 | cap_loop = (double *) malloc ((ncp+3)*3*2*sizeof (double)); | ^ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:640:10: note: in expansion of macro 'INNERSECT' 640 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:707:10: note: in expansion of macro 'INNERSECT' 707 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:746:10: note: in expansion of macro 'INNERSECT' 746 | INNERSECT (sect, | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:801:10: note: in expansion of macro 'INNERSECT' 801 | INNERSECT (sect, | ^~~~~~~~~ ex_cut_round.c: In function 'extrusion_round_or_cut_join_c4f': ex_cut_round.c:911:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 911 | mem_anchor = malloc (4 * 3*ncp*sizeof(gleDouble) | ^ ex_cut_round.c:912:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 912 | + 2 * 3*ncp*sizeof(double) | ^ ex_cut_round.c:913:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 913 | + 2 * 1*ncp*sizeof(int)); | ^ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1052:14: note: in expansion of macro 'INNERSECT' 1052 | INNERSECT (isect_point, /* isect point (returned) */ | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1075:10: note: in expansion of macro 'INNERSECT' 1075 | INNERSECT (isect_point, /* intersection point (returned) */ | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1114:13: note: in expansion of macro 'INNERSECT' 1114 | INNERSECT (isect_point, /* isect point (returned) */ | ^~~~~~~~~ extrude.h:25:41: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 25 | #define INNERSECT(sect,p,n,v1,v2) { int retval; INTERSECT(retval,sect,p,n,v1,v2); } | ^~~~~~ ex_cut_round.c:1133:10: note: in expansion of macro 'INNERSECT' 1133 | INNERSECT (isect_point, /* intersection point (returned) */ | ^~~~~~~~~ In file included from ex_alpha.c:54: ex_raw.c: In function 'draw_front_contour_cap': ex_raw.c:212:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 212 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c:213:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 213 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c: In function 'draw_back_contour_cap': ex_raw.c:258:38: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 258 | gluTessCallback (tobj, GLU_BEGIN, glBegin); | ^~~~~~~ | | | void (*)(GLenum) {aka void (*)(unsigned int)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c:259:39: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] 259 | gluTessCallback (tobj, GLU_VERTEX, glVertex3dv); | ^~~~~~~~~~~ | | | void (*)(const GLdouble *) {aka void (*)(const double *)} /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(const GLdouble *)' {aka 'void (*)(const double *)'} 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); | ~~~~~~~~~~~~^~~~~~~~~~~~ ex_raw.c: In function 'extrusion_raw_join_c4f': ex_raw.c:789:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 789 | mem_anchor = malloc (4 * ncp * 3 * sizeof(gleDouble)); | ^ make[2]: *** [Makefile:203: ex_cut_round.lo] Error 1 In file included from ex_alpha.c:55: extrude.c: In function 'glePolyCone_c4f': extrude.c:206:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 206 | xforms = (gleAffine *) malloc (npoints * sizeof(gleAffine)); | ^ extrude.c: In function 'gleTwistExtrusion_c4f': extrude.c:240:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 240 | xforms = (gleAffine *) malloc (npoints * sizeof(gleAffine)); | ^ In file included from ex_alpha.c:56: round_cap.c: In function 'draw_round_style_cap_callback_c4f': round_cap.c:111:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 111 | malloced_area = malloc ((4*3+1) *ncp*sizeof (double)); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c urotate.c -fPIC -DPIC -o urotate.lo make[2]: *** [Makefile:203: ex_alpha.lo] Error 1 gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wall -pedantic -Wstrict-prototypes -Wconversion -c view.c -fPIC -DPIC -o view.lo make[2]: Leaving directory '/builddir/build/BUILD/gle-3.1.0/src' make[1]: *** [Makefile:177: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/gle-3.1.0' make: *** [Makefile:321: all-recursive-am] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.VhdXdS (%build) %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.VhdXdS (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2e9161e7f68144d1b286e3a17d3215e3 -D /var/lib/mock/f40-build-51769883-6199347/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libgle.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2e9161e7f68144d1b286e3a17d3215e3 -D /var/lib/mock/f40-build-51769883-6199347/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.anbaebs1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libgle.spec'