D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/biew-6.1.0-13.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E5mQOT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf biew-610 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/biew-610-src.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd biew-610 + rm -rf /home/pterjan/rpmbuild/BUILD/biew-610-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/biew-610-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/biew610-fix-str-fmt.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/biew610-generic_arch.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kRVigw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd biew-610 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --enable-curses Checking for architecture ... x86_64 Checking for build ... x86_64 Checking for target OS ... linux Detected host...Linux Checking for C compiler name ... gcc Checking for C compiler version ... 14 Checking for X11 headers ... x11inc not found Checking for X11 libs ... x11lib not found Checking for pragma pack ... yes Checking for gpm.h ... no Checking for checking for popen ... yes Checking for checking for pclose ... yes Checking for checking for sys/resource.h ... yes Checking for iconv ... yes Creating config.mak Config files successfully generated by ./configure ! Install prefix: /usr Data directory: /usr/share Lib directory: /usr/lib64 Compiler: gcc Linker: gcc Librarian: ar -rcu Ranlib: ranlib Remover: rm -f TARGETS system: linux arch: x86_64 + /usr/bin/make -O -j16 V=1 VERBOSE=1 TARGET_OS=linux USE_MOUSE=n gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/mouse.c -o biewlib/sysdep/x86_64/linux/mouse.o gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/tw_class.c -o biewlib/tw_class.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/twin.h:24, from biewlib/tw_class.c:19: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition biewlib/tw_class.c: In function 'twcFindClass': biewlib/tw_class.c:74:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | key.name = name; | ^ gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/misc.c -o biewlib/sysdep/x86_64/linux/misc.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/ia32/linux/misc.c:14, from biewlib/sysdep/x86_64/linux/misc.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/timer.c -o biewlib/sysdep/x86_64/linux/timer.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/posix/timer.c:21, from biewlib/sysdep/x86_64/linux/timer.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/pmalloc.c -o biewlib/pmalloc.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/__config.h:27, from biewlib/pmalloc.c:20: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/fileio.c -o biewlib/sysdep/x86_64/linux/fileio.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/posix/fileio.c:32, from ./biewlib/sysdep/generic/linux/fileio.c:1, from biewlib/sysdep/x86_64/linux/fileio.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsCreate': ./biewlib/sysdep/generic/posix/fileio.c:36:10: error: returning 'int' from a function with return type 'bhandle_t' {aka 'void *'} makes pointer from integer without a cast [-Wint-conversion] 36 | return open(name,O_RDWR | O_CREAT | O_TRUNC, S_IREAD | S_IWRITE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsClose': ./biewlib/sysdep/generic/posix/fileio.c:51:9: error: passing argument 1 of 'close' makes integer from pointer without a cast [-Wint-conversion] 51 | close(handle); | ^~~~~~ | | | bhandle_t {aka void *} In file included from ./biewlib/sysdep/generic/posix/fileio.c:25: /usr/include/unistd.h:358:23: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 358 | extern int close (int __fd); | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsDupHandle': ./biewlib/sysdep/generic/posix/fileio.c:56:14: error: passing argument 1 of 'dup' makes integer from pointer without a cast [-Wint-conversion] 56 | return dup(handle); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:552:21: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 552 | extern int dup (int __fd) __THROW __wur; | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c:56:10: error: returning 'int' from a function with return type 'bhandle_t' {aka 'void *'} makes pointer from integer without a cast [-Wint-conversion] 56 | return dup(handle); | ^~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsOpen': ./biewlib/sysdep/generic/posix/fileio.c:79:53: error: returning 'int' from a function with return type 'bhandle_t' {aka 'void *'} makes pointer from integer without a cast [-Wint-conversion] 79 | if (S_ISDIR(st.st_mode)) { errno = EISDIR; return -1; } | ^ ./biewlib/sysdep/generic/posix/fileio.c:80:10: error: returning 'int' from a function with return type 'bhandle_t' {aka 'void *'} makes pointer from integer without a cast [-Wint-conversion] 80 | return open(fname,flags); | ^~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsSeek': ./biewlib/sysdep/generic/posix/fileio.c:85:16: error: passing argument 1 of 'lseek' makes integer from pointer without a cast [-Wint-conversion] 85 | return lseek(handle,offset,origin); | ^~~~~~ | | | bhandle_t {aka void *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-mageia-linux/14/include/limits.h:210, from /usr/lib/gcc/x86_64-mageia-linux/14/include/syslimits.h:7, from /usr/lib/gcc/x86_64-mageia-linux/14/include/limits.h:34, from ./biewlib/sysdep/generic/posix/fileio.c:18: /usr/include/unistd.h:342:18: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 342 | extern __off64_t __REDIRECT_NTH (lseek, | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsTruncFile': ./biewlib/sysdep/generic/posix/fileio.c:90:20: error: passing argument 1 of 'ftruncate' makes integer from pointer without a cast [-Wint-conversion] 90 | return ftruncate(handle,newsize); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:1052:12: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 1052 | extern int __REDIRECT_NTH (ftruncate, (int __fd, __off64_t __length), | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsRead': ./biewlib/sysdep/generic/posix/fileio.c:95:15: error: passing argument 1 of 'read' makes integer from pointer without a cast [-Wint-conversion] 95 | return read(handle,buff,count); | ^~~~~~ | | | bhandle_t {aka void *} In file included from /usr/include/unistd.h:1217: /usr/include/bits/unistd.h:26:11: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 26 | read (int __fd, void *__buf, size_t __nbytes) | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__OsWrite': ./biewlib/sysdep/generic/posix/fileio.c:100:16: error: passing argument 1 of 'write' makes integer from pointer without a cast [-Wint-conversion] 100 | return write(handle,buffer,count); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:378:27: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function '__FileLength': ./biewlib/sysdep/generic/posix/fileio.c:143:20: error: passing argument 1 of 'fstat' makes integer from pointer without a cast [-Wint-conversion] 143 | stat_ret = fstat(handle,&statbuf); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/sys/stat.h:230:12: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 230 | extern int __REDIRECT_NTH (fstat, (int __fd, struct stat *__buf), fstat64) | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c:161:22: error: passing argument 1 of 'lseek' makes integer from pointer without a cast [-Wint-conversion] 161 | if (lseek(handle,off,SEEK_SET) == -1) | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:342:18: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 342 | extern __off64_t __REDIRECT_NTH (lseek, | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c:164:20: error: passing argument 1 of 'read' makes integer from pointer without a cast [-Wint-conversion] 164 | if(read(handle,&ch,1) == 1) min = off; | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/bits/unistd.h:26:11: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 26 | read (int __fd, void *__buf, size_t __nbytes) | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c:170:20: error: passing argument 1 of 'lseek' makes integer from pointer without a cast [-Wint-conversion] 170 | lseek(handle,retval,SEEK_SET); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:342:18: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 342 | extern __off64_t __REDIRECT_NTH (lseek, | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c:173:25: error: passing argument 1 of 'read' makes integer from pointer without a cast [-Wint-conversion] 173 | if(read(handle,&ch,1) == 1) retval++; | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/bits/unistd.h:26:11: note: expected 'int' but argument is of type 'bhandle_t' {aka 'void *'} 26 | read (int __fd, void *__buf, size_t __nbytes) | ~~~~^~~~ make: *** [makefile:167: biewlib/sysdep/x86_64/linux/fileio.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/vio.c -o biewlib/sysdep/x86_64/linux/vio.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/linux/vio.c:45, from biewlib/sysdep/x86_64/linux/vio.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/generic/linux/vio.c: In function '__init_vio': ./biewlib/sysdep/generic/linux/vio.c:355:8: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 355 | if(strncasecmp(screen_cp,"UTF",3)==0 && !on_console) { | ^~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:355:36: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 355 | if(strncasecmp(screen_cp,"UTF",3)==0 && !on_console) { | ^ : note: built-in 'strncasecmp' declared here ./biewlib/sysdep/generic/linux/vio.c:412:18: error: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 412 | (strcasecmp(lang, "ru_RU.utf8") != 0) && | ^~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function '__vioSetCursorType': ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:171:9: note: in expansion of macro 'twrite' 171 | twrite(vtmp); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:174:5: note: in expansion of macro 'twrite' 174 | twrite(vtmp); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function 'gotoxy': ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:158:5: note: in expansion of macro 'twrite' 158 | twrite(vtmp); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function '__vioWriteBuff': ./biewlib/sysdep/generic/linux/vio.c:49:16: warning: ignoring return value of 'pwrite' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | #define PWRITE pwrite | ^ ./biewlib/sysdep/generic/linux/vio.c:223:9: note: in expansion of macro 'PWRITE' 223 | PWRITE(viohandle, pb, len << 1, 4 + ((x + y * tvioWidth) << 1)); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function '__init_vio': ./biewlib/sysdep/generic/linux/vio.c:344:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 344 | read(viohandle, &b, 4); | ^~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:387:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | read(viohandle, buf, violen << 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:395:9: note: in expansion of macro 'twrite' 395 | twrite(VT100_NORMALCHARS VT100_MODE80); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:400:17: note: in expansion of macro 'twrite' 400 | twrite("\033[?1000h\033]0;BIEW: Binary vIEWer\007"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:407:21: note: in expansion of macro 'twrite' 407 | twrite("\033(K\033)0"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:418:18: note: in expansion of macro 'twrite' 418 | else twrite("\033(U"); /* set null mapping */ | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function '__term_vio': ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:430:43: note: in expansion of macro 'twrite' 430 | if (terminal->type == TERM_XTERM) twrite("\033[?1001r\033[?1000l"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:432:13: note: in expansion of macro 'twrite' 432 | twrite("\033(K"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:433:9: note: in expansion of macro 'twrite' 433 | twrite(VT100_MODE80 VT100_NORMALCHARS VT100_CLEARSCREEN); | ^~~~~~ make: *** [makefile:167: biewlib/sysdep/x86_64/linux/vio.o] Error 1 gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c addendum.c -o addendum.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from bconsole.h:28, from addendum.c:18: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/mmfio.c -o biewlib/sysdep/x86_64/linux/mmfio.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/pmalloc.h:23, from ./biewlib/sysdep/generic/linux/mmfio.c:21, from biewlib/sysdep/x86_64/linux/mmfio.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/generic/linux/mmfio.c: In function '__mmfOpen': ./biewlib/sysdep/generic/linux/mmfio.c:70:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | if(((int)fhandle) != -1) | ^ ./biewlib/sysdep/generic/linux/mmfio.c:81:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 81 | mk_flags(mode),(int)fhandle,0L); | ^ gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/nls.c -o biewlib/sysdep/x86_64/linux/nls.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/unix/nls.c:35, from ./biewlib/sysdep/generic/linux/nls.c:1, from biewlib/sysdep/x86_64/linux/nls.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/os_dep.c -o biewlib/sysdep/x86_64/linux/os_dep.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/unix/os_dep.c:43, from ./biewlib/sysdep/generic/linux/os_dep.c:1, from biewlib/sysdep/x86_64/linux/os_dep.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/aclib.c -o biewlib/sysdep/x86_64/aclib.o In file included from biewlib/sysdep/x86_64/aclib.c:27: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/keyboard.c -o biewlib/sysdep/x86_64/linux/keyboard.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/kbd_code.h:17, from ./biewlib/sysdep/ia32/linux/keyboard.c:41, from biewlib/sysdep/x86_64/linux/keyboard.c:1: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition In file included from ./biewlib/sysdep/x86_64/_inlines.h:47, from ./biewlib/sysdep/_sys_dep.h:31: ./biewlib/sysdep/ia32/linux/keyboard.c: In function 'console_enter': ./biewlib/sysdep/ia32/linux/keyboard.c:303:12: warning: passing argument 1 of 'fast_memset_ptr' discards 'volatile' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 303 | memset(&keypressed, 0, KEYNUM * sizeof(int)); | ^~~~~~~~~~~ ./biewlib/sysdep/x86_64/fastcopy.h:17:42: note: in definition of macro 'memset' 17 | #define memset(a,b,c) (*fast_memset_ptr)(a,b,c) | ^ ./biewlib/sysdep/ia32/linux/keyboard.c:303:12: note: expected 'void *' but argument is of type 'volatile int (*)[128]' 303 | memset(&keypressed, 0, KEYNUM * sizeof(int)); | ^~~~~~~~~~~ ./biewlib/sysdep/x86_64/fastcopy.h:17:42: note: in definition of macro 'memset' 17 | #define memset(a,b,c) (*fast_memset_ptr)(a,b,c) | ^ ./biewlib/sysdep/ia32/linux/keyboard.c: In function 'ReadNextEvent': ./biewlib/sysdep/ia32/linux/keyboard.c:314:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | #define get(x) read(in_fd,&(x),1) | ^~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/ia32/linux/keyboard.c:354:18: note: in expansion of macro 'get' 354 | do { get(c); } while (c == 0xe0); | ^~~ ./biewlib/sysdep/ia32/linux/keyboard.c:314:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | #define get(x) read(in_fd,&(x),1) | ^~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/ia32/linux/keyboard.c:355:28: note: in expansion of macro 'get' 355 | if (c == 0xe1) get(c); | ^~~ gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/bbio.c -o biewlib/bbio.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/bbio.h:21, from biewlib/bbio.c:26: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/biewlib.c -o biewlib/biewlib.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/__config.h:27, from biewlib/biewlib.c:24: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biew.c -o biew.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from bconsole.h:28, from biew.c:32: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition biew.c: In function 'load_ini_info': biew.c:457:17: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 457 | sprintf(buf,"%u",LastMode); /* [dBorca] so that src and dst won't overlap for strncpy */ | ~^ ~~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewhelp.c -o biewhelp.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from colorset.h:21, from biewhelp.c:25: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/file_ini.c -o biewlib/file_ini.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/bbio.h:21, from biewlib/file_ini.c:25: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition biewlib/file_ini.c: In function '__addCache': biewlib/file_ini.c:1321:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1321 | ic.item = section; | ^ biewlib/file_ini.c:1351:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1351 | ic.item = subsection; | ^ biewlib/file_ini.c:1380:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1380 | ic.item = item; | ^ biewlib/file_ini.c: In function 'iniReadProfileString': biewlib/file_ini.c:1615:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1615 | ic.item = section; | ^ biewlib/file_ini.c:1619:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1619 | ic.item=subsection; | ^ biewlib/file_ini.c:1623:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1623 | ic.item = _item; | ^ gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c bconsole.c -o bconsole.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from editor.h:21, from bconsole.c:29: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/twin.c -o biewlib/twin.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/twin.h:24, from biewlib/twin.c:30: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition biewlib/twin.c: In function 'twPutS': biewlib/twin.c:1896:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1896 | else __nls = str; | ^ biewlib/twin.c:1898:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1898 | else __nls = str; | ^ gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mmmx -msse -DDATADIR='"/usr/share"' -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/cpu_info.c -o biewlib/sysdep/x86_64/cpu_info.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/sysdep/x86_64/cpu_info.c:27: ./biewlib/sysdep/x86_64/stdint.h:119:9: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | ^~~~~~~~~ : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120:9: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | ^~~~~~~~~~ : note: this is the location of the previous definition In file included from biewlib/sysdep/x86_64/cpu_info.c:626: ./biewlib/sysdep/ia16/cmn_ix86.c: In function '__FillCPUInfo': ./biewlib/sysdep/ia16/cmn_ix86.c:1068:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 1068 | " %d/%d - Maximal linear / physical address size (bits)\n" | ~^ | | | int | %ld 1069 | ,(__eax>>8)&0xFF,(__eax)&0xFF); | ~~~~~~~~~~~~~~~ | | | long unsigned int ./biewlib/sysdep/ia16/cmn_ix86.c:1068:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1068 | " %d/%d - Maximal linear / physical address size (bits)\n" | ~^ | | | int | %ld 1069 | ,(__eax>>8)&0xFF,(__eax)&0xFF); | ~~~~~~~~~~~~ | | | long unsigned int ./biewlib/sysdep/ia16/cmn_ix86.c:1078:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 1078 | " %02X - SVM revision\n" | ~~~^ | | | unsigned int | %02lX 1079 | ,(__eax)&0xFF); | ~~~~~~~~~~~~ | | | long unsigned int ./biewlib/sysdep/ia16/cmn_ix86.c:982:45: warning: writing 8 bytes into a region of size 5 [-Wstringop-overflow=] 982 | *((unsigned long*)&extended_name[48]) = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./biewlib/sysdep/ia16/cmn_ix86.c:699:10: note: at offset 48 into destination object 'extended_name' of size 53 699 | char extended_name[53]; | ^~~~~~~~~~~~~ biewlib/sysdep/x86_64/cpu_info.c: Assembler messages: biewlib/sysdep/x86_64/cpu_info.c:396: Warning: no instruction mnemonic suffix given and no register operands; using default for `fild' biewlib/sysdep/x86_64/cpu_info.c:397: Warning: no instruction mnemonic suffix given and no register operands; using default for `fistp' biewlib/sysdep/x86_64/cpu_info.c:436: Warning: no instruction mnemonic suffix given and no register operands; using default for `fild' biewlib/sysdep/x86_64/cpu_info.c:437: Warning: no instruction mnemonic suffix given and no register operands; using default for `fistp' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kRVigw (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kRVigw (%build) I: [iurt_root_command] ERROR: chroot