<86>Dec 30 00:06:15 userdel[3653540]: delete user 'rooter' <86>Dec 30 00:06:15 userdel[3653540]: removed group 'rooter' owned by 'rooter' <86>Dec 30 00:06:15 userdel[3653540]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 30 00:06:15 groupadd[3653570]: group added to /etc/group: name=rooter, GID=1823 <86>Dec 30 00:06:15 groupadd[3653570]: group added to /etc/gshadow: name=rooter <86>Dec 30 00:06:15 groupadd[3653570]: new group: name=rooter, GID=1823 <86>Dec 30 00:06:15 useradd[3653594]: new user: name=rooter, UID=1823, GID=1823, home=/root, shell=/bin/bash, from=none <86>Dec 30 00:06:15 userdel[3653625]: delete user 'builder' <86>Dec 30 00:06:15 userdel[3653625]: removed group 'builder' owned by 'builder' <86>Dec 30 00:06:15 userdel[3653625]: removed shadow group 'builder' owned by 'builder' <86>Dec 30 00:06:15 groupadd[3653642]: group added to /etc/group: name=builder, GID=1824 <86>Dec 30 00:06:15 groupadd[3653642]: group added to /etc/gshadow: name=builder <86>Dec 30 00:06:15 groupadd[3653642]: new group: name=builder, GID=1824 <86>Dec 30 00:06:15 useradd[3653654]: new user: name=builder, UID=1824, GID=1824, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/biew-6.1.0-alt4.src.rpm: The use of such a license name is ambiguous: GPL <13>Dec 30 00:06:18 rpmi: libgpm-devel-1.20.1-alt19 sisyphus+328124.100.1.1 1693248097 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/biew-6.1.0-alt4.nosrc.rpm (w1.gzdio) Installing biew-6.1.0-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98383 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf biew-610 + echo 'Source #0 (biew-610-src.tar.bz2):' Source #0 (biew-610-src.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/biew-610-src.tar.bz2 + /bin/tar -xf - + cd biew-610 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.98383 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd biew-610 + find . -type f + xargs sed -i 's|||g' + sed 's/|| die "Please upgrade your compiler"//' configure #!/bin/sh # Configure script for biew project # #set -x # Declare useful functions # Prefer these macros to full length text ! # These macros only return an error code - NO display is done log(){ echo "$@" >>"$TMPLOG" } log_file(){ log BEGIN $1 cat -n $1 >>"$TMPLOG" log END $1 } echolog(){ log "$@" echo "$@" } check_cmd(){ log "$@" "$@" >>"$TMPLOG" 2>&1 } set_all(){ value=$1 shift for var in $*; do eval $var=$value done } enable(){ set_all yes $* } disable(){ set_all no $* } enabled(){ eval test "x\$$1" = "xyes" } disabled(){ eval test "x\$$1" = "xno" } cc_check() { log_file "$TMPC" ( check_cmd $_cc $_cdefsys $_cdefos $_extraincdir $_extralibdir --verbose "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1 TMP="$?" echo >> "$TMPLOG" echo "ldd $TMPO" >> "$TMPLOG" ( ldd "$TMPO" ) >> "$TMPLOG" 2>&1 echo >> "$TMPLOG" return "$TMP" } check_cpp(){ log check_cpp "$@" cat >$TMPC log_file $TMPC check_cmd $_cc $CFLAGS $_extraincdir "$@" -E -o $TMPO $TMPC } check_header(){ log check_header "$@" header=$1 shift var=`echo $header | sed 's/[^A-Za-z0-9_]/_/g'` disable $var check_cpp "$@" < int x; EOF } check_cc(){ log check_cc "$@" cat >$TMPC log_file $TMPC check_cmd $_cc $CFLAGS $_cdefsys $_extraincdir "$@" -c -o $TMPO $TMPC } # Display error message, flushes tempfile, exit die () { echo echo "Error: $@" >&2 echo >&2 rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP" echo "Check "$TMPLOG" if you do not understand why it failed." exit 1 } # Use this before starting a check echocheck() { echo "============ Checking for $@ ============" >> "$TMPLOG" echo ${_echo_n} "Checking for $@ ... ${_echo_c}" } # Use this to echo the results of a check echores() { echo "Result is: $@" >> "$TMPLOG" echo "##########################################" >> "$TMPLOG" echo "" >> "$TMPLOG" echo "$@" } ############################################################################# x86() { case "$host_arch" in i*86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*) return 0;; *) return 1;; esac } x86_64() { case "$host_arch" in x86_64|amd64) return 0;; *) return 1;; esac } ppc() { case "$host_arch" in ppc) return 0 ;; *) return 1 ;; esac } alpha() { case "$host_arch" in alpha) return 0 ;; *) return 1 ;; esac } mips() { case "$host_arch" in mips) return 0 ;; *) return 1 ;; esac } sparc() { case "$host_arch" in sparc*) return 0 ;; *) return 1 ;; esac } arm() { case "$host_arch" in arm*) return 0 ;; *) return 1 ;; esac } # Check how echo works in this /bin/sh case `echo -n` in -n) _echo_n= _echo_c='\c' ;; # SysV echo *) _echo_n='-n ' _echo_c= ;; # BSD echo esac # 1st: print out help for parm in "$@" ; do if test "$parm" = "--help" || test "$parm" = "-help" || test "$parm" = "-h" ; then cat << EOF Usage: $0 [OPTIONS]... Configuration: -h, --help display this help and exit Installation directories: --prefix=DIR use this prefix for installing biew [/usr/local] --datadir=DIR use this prefix for installing machine independent data files (syntaxes, skins) [PREFIX/share/biew] --libdir=DIR use this prefix for installing machine dependent libraries and plugins (for future) [PREFIX/lib/biew] Base features: --cc=COMPILER use this C compiler to build biew [gcc] --ld=LINKER use this LD linker to link biew [ld] --ar=AR use this AR to build biewlib [ar] --ranlib=RANLIB use RANLIB to build indexes on builib [ranlib] --rm=RM use RM program to cleanup files [rm] --ln=LN use LN program to make soft link [ln] --cd=CD use CD program to change directory [cd] --cp=CP use CP program to copy files [cp] --target-system=SYSTEM target system (linux, freebsd, win32, etc) [auto,unix] --target-arch=ARCH target architecture (i386, alpha, etc) [auto,generic] --enable-debug[=1-3] compile debugging information into biew [disable] --enable-profile compile profiling information into biew [disable] --enable-gcov compile gnu coverage information into biew [disable] Optional features: --enable-slang disable S-Lang programming library [vt100] --enable-curses disable "curses" terminal control library [vt100] --disable-iconv disable iconv library [autodetect] Use these options if autodetection fails: --with-extraincdir=DIR extra headers (curses.h ...) in DIR --with-extralibdir=DIR extra library files (libncurses.so, ...) in DIR --with-x11incdir=DIR X headers in DIR --with-x11libdir=DIR X library files in DIR Environment variables: CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS specifies additional libs (like: export LIBS=-lacml_mv) DESTDIR specifies base of installation EOF exit 0 fi done # for parm in ... # 2nd: checking for options _cc=gcc _ld=gcc _ar="ar -rcu" _ranlib=ranlib _rm="rm -f" _ln=sln _cd=cd _cp=cp _libext=a _libprefix=lib test "$CC" && _cc="$CC" _prefix="/usr/local" _datadir= _libdir= _target_system=auto _target_arch=auto _x11incdir= _x11libdir= _profile= _gcov= _debug= _osldef= _oslibs= disable _curses disable _slang enable _iconv for ac_option do case "$ac_option" in --prefix=*) _prefix=`echo $ac_option | cut -d '=' -f 2` ;; --datadir=*) _datadir=`echo $ac_option | cut -d '=' -f 2` ;; --libdir=*) _libdir=`echo $ac_option | cut -d '=' -f 2` ;; --cc=*) _cc=`echo $ac_option | cut -d '=' -f 2` ;; --ld=*) _ld=`echo $ac_option | cut -d '=' -f 2` ;; --as=*) _as=`echo $ac_option | cut -d '=' -f 2` ;; --cd=*) _cd=`echo $ac_option | cut -d '=' -f 2` ;; --cp=*) _cp=`echo $ac_option | cut -d '=' -f 2` ;; --enable-profile) _profile='-pg' ;; --enable-gcov) _gcov='-fprofile-arcs -ftest-coverage' _oslibs="-lgcov" ;; --enable-debug) _debug='-g' ;; --enable-debug=*) _debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2` ;; --ar=*) _ar=`echo $ac_option | cut -d '=' -f 2` ;; --ranlib=*) _ranlib=`echo $ac_option | cut -d '=' -f 2` ;; --rm=*) _rm=`echo $ac_option | cut -d '=' -f 2` ;; --ln=*) _ln=`echo $ac_option | cut -d '=' -f 2` ;; --target-system=*) _target_system=`echo $ac_option | cut -d '=' -f 2` ;; --target-arch=*) _target_arch=`echo $ac_option | cut -d '=' -f 2` ;; --with-extraincdir=*) _extraincdir="$_extraincdir -I`echo $ac_option | cut -d '=' -f 2`" ;; --with-extralibdir=*) _extralibdir="$_extralibdir -L`echo $ac_option | cut -d '=' -f 2`" ;; --with-x11incdir=*) _x11incdir=-I`echo $ac_option | cut -d '=' -f 2` ;; --with-x11libdir=*) _x11libdir=-L`echo $ac_option | cut -d '=' -f 2` ;; --disable-curses) disable _curses ;; --enable-curses) enable _curses ;; --disable-slang) disable _slang ;; --enable-slang) enable _slang ;; --disable-iconv) disable _iconv ;; --enable-iconv) enable _iconv ;; esac done test -z "$_datadir" && _datadir=$_prefix"/share/biew" test -z "$_libdir" && _libdir=$_prefix"/lib/biew" for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do test "$I" && break done TMPLOG="config.log" $_rm -f "$TMPLOG" TMPC="$I/biew-conf-$RANDOM-$$.c" TMPCPP="$I/biew-conf-$RANDOM-$$.cpp" TMPO="$I/biew-conf-$RANDOM-$$.o" TMPS="$I/biew-conf-$RANDOM-$$.S" TMPE="$I/biew-conf-$RANDOM-$$.exe" _tee="tee -a $TMPLOG" echocheck "architecture" if test "$_target_arch" = auto ; then if test -z "$host_arch" ; then host_arch=`( uname -p ) 2>&1` log "uname -p :" "$host_arch" case "$host_arch" in i*86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*) ;; x86_64|amd64) ;; sparc|ppc|alpha|arm|mips) ;; *) # uname -p on Linux returns 'unknown' for the processor type, # OpenBSD returns 'Intel Pentium/MMX ("Genuine Intel" 586-class)' # Maybe uname -m (machine hardware name) returns something we # recognize. host_arch=`( uname -m ) 2>&1` log "uname -m :" "$host_arch" case "$host_arch" in i*86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*) ;; x86_64|amd64) ;; ppc) ;; alpha) ;; sparc*) ;; arm*) ;; *) ;; esac ;; esac fi else host_arch=$_target_arch fi echores "$host_arch" echocheck "build" build_arch=generic x86 && build_arch=ia32 x86_64 && build_arch=x86_64 ppc && build_arch=ppc alpha && build_arch=alpha sparc && build_arch=sparc mips && build_arch=mips arm && build_arch=arm echores "$build_arch" _bitness=32 x86_64 && _bitness=64 echocheck "target OS" if test "$_target_system" = auto ; then if test -z "$system_name" ; then # OS name system_name=`uname -s` log "uname -s :" "$system_name" case "$system_name" in *[Ll]inux*) _target_system=linux ;; *QNX*) echo `uname -v` | grep ^42 if test $? -eq 0 then _target_system=qnx build_arch=ia32 _install=cp else _target_system=qnxnto _install=cp fi ;; *[cC][yY][gG][wW][iI][nN]*) _target_system=win32 ;; *MINGW32*) _target_system=win32 ;; *[eE][mM][xX]*) _target_system=os2 ;; *msdosdjgpp*) _target_system=dos build_arch=ia32 _tee= ;; # |FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|BeOS) # *) # _target_system=unix # ;; esac else _target_system=auto fi fi if test "$_target_system" = auto ; then if test -z "$system_name" ; then # OS name system_name=`/bin/sh --version 2>&1 | sed -n 's/^.*\([(]\)./\1/p'` log "/bin/sh --version:" "$system_name" case "$system_name" in *linux*) _target_system=linux ;; *[cC][yY][gG][wW][iI][nN]*) _target_system=win32 ;; *[eE][mM][xX]*) _target_system=os2 ;; *msdosdjgpp*) _target_system=dos build_arch=ia32 _tee= ;; # |FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|BeOS) *) _target_system=unix ;; esac else _target_system=unix fi fi echores "$_target_system" echo "Detected host..."$system_name _cdefos="-DDATADIR='\"$_datadir\"'" cc_name=`$_cc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1` cc_version=`$_cc -dumpversion` echocheck "C compiler name" echores $cc_name case $cc_name in gcc) ;; *) die "Unknown compiler name $cc_name. Project required GCC" ;; esac echocheck "C compiler version" echores $cc_version case $cc_version in [0-2]|[0-2].[0-9]|[0-2].[0-9].[0-9]) die "Please upgrade your gcc upto gcc-3.0 at least" ;; esac # Printout architecture _cdefsys= case "$build_arch" in ia32) # TODO: enable >386 optimizations here _cdefsys="-m32 -D__MACHINE__=ia32 -D__CPU_NAME__='\"ia32\"' -D__CPU__=386 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1" _osldef="-m32 $_osldef" case $cc_version in 3.[0-9]|3.[0-9].[0-9]|4.[0-9].[0-9]) _cdefsys="-D__ENABLE_FASTCALL=1 $_cdefsys" ;; esac ;; x86_64) # TODO: enable >386 optimizations here _cdefsys="-m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='\"x86_64\"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1" _osldef="-m64 $_osldef" case $cc_version in 3.[0-9]|3.[0-9].[0-9]|4.[0-9].[0-9]) _cdefsys="-D__ENABLE_FASTCALL=1 $_cdefsys" ;; esac ;; *) _cdefsys="-D__MACHINE__=generic -D__CPU_NAME__='\"generic\"' -D__DEFAULT_DISASM=0" echo "It seems noone has ported biew to your OS or CPU type yet." echo "using $build_arch architecture" ;; esac if test -z "$_x11incdir" ; then echocheck "X11 headers" for I in /usr/include /usr/X11R6/include /usr/X11/include /usr/openwin/include ; do if test -d "$I/X11" ; then _x11incdir="-I$I" echores "yes (using $I)" break fi done fi if test -z "$_x11incdir" ; then echores "x11inc not found" fi if test -z "$_x11libdir" ; then echocheck "X11 libs" for I in /usr/X11R6/lib /usr/X11/lib /usr/lib32 /usr/openwin/lib ; do if test -d "$I" ; then _x11libdir="-L$I" echores "yes (using $I)" break; fi done fi if test -z "$_x11libdir" ; then echores "x11lib not found" fi test -z "$_debug" && _osldef="-s $_osldef" || _cdefos="-finline-limit-5 $_cdefos" if test "$_profile" -o "$_debug" -o "$_gcov"; then _cdefos="-W -Wall -O2 -fno-builtin $_debug $_profile $_gcov $_cdefos" _osldef="$_debug $_profile $_osldef" elif test -z "$CFLAGS" ; then _cdefos="-DNDEBUG=1 -O2 -ffast-math -fomit-frame-pointer $_cdefos" x86 && _cdefos="-mmmx -msse $_cdefos" else _cdefos="-DNDEBUG=1 $CFLAGS $_cdefos" fi test -n "$LDFLAGS" && _osldef="$LDFLAGS $_osldef" test -n "$LIBS" && _osldef="$LIBS $_osldef" if test "$_target_system" = dos ; then # disable cc_check call for DJGPP due bugs in bash _cdefos="-D__HAVE_PRAGMA_PACK__=1 $_cdefos" else echocheck "pragma pack" cat > $TMPC << EOF #pragma pack(1) int main(void){return 0;} EOF disable _ppack cc_check && enable _ppack enabled _ppack && _cdefos="-D__HAVE_PRAGMA_PACK__=1 $_cdefos" echores "$_ppack" fi #Printout operating system case "$_target_system" in dos) _cdefos="-D__MSDOS__ -D__OS_NAME__='\"DOS$_bitness\"' -D__OS__=\"dos\" -Udos $_cdefos" _osldef="--force-exe-suffix $_osldef" ;; os2) _cdefos="-D__OS2__ -D__OS_NAME__='\"OS/2-$_bitness\"' -Zomf -D__OS__=\"os2\" -Uos2 $_cdefos" # here I want to have static link of glibc instead emx.dll _osldef="-Zexe -Zsmall-conv -Zsys -Zomf -Zstack 1024 $_osldef" _ar="emxomfar -p32 rc" _ranlib=echo _libext=lib _libprefix= ;; win32) # I named this as win32 because of exists Win386 by Watcom. # here I link crtdll.dll instead cygwin1.dll (it's safe) _cdefos="-D__WIN32__ -D__OS_NAME__='\"Win$_bitness\"' -mno-cygwin -D__OS__=\"win32\" -Uwin32 $_cdefos" _osldef="-mno-cygwin --force-exe-suffix $_osldef" _oslibs="-lwinmm $_oslibs" ;; beos) _cdefos="-D__BEOS__ -D__UNIX__ -D__OS_NAME__='\"BeOS$_bitness\"' -D__OS__=\"beos\" -Ubeos -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DDATADIR='\"/boot/home/config/lib\"' -D__DISABLE_MMF -D__DISABLE_ASM -D__DISABLE_SIGIO -DPREFIX=\"$_prefix\" $_cdefos" ;; qnx) _cdefos="-D__QNX4__ -D__UNIX__ -D__OS_NAME__='\"QNX4-$_bitness\"' -D__OS__=\"qnx\" -U__QNX__ -D_VT100_ -DHAVE_TERMINAL_OUT=1 -D__DISABLE_MMF -DPREFIX=\"$_prefix\" $_cdefos" _oslibs="-ltermlib -lunix -lphoton3r.lib $_oslibs" ;; qnxnto) _cdefos="-D__QNX6__ -D__UNIX__ -D__OS_NAME__='\"QNX6-$_bitness\"' -D__OS__=\"qnxnto\" -U__QNX__ -U__NTO__ -D_VT100_ -DHAVE_TERMINAL_OUT=1 -D__DISABLE_MMF -DPREFIX=\"$_prefix\" $_cdefos" _oslibs="-lncurses $_oslibs" ;; linux) _cdefos="-D__LINUX__ -D__UNIX__ -D__OS_NAME__='\"Linux$_bitness\"' -D__OS__=\"linux\" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX=\"$_prefix\" $_cdefos" echocheck "gpm.h" check_header gpm.h enabled gpm_h && _cdefos="-DHAVE_MOUSE $_cdefos" && _oslibs="-lgpm $_oslibs" echores "$gpm_h" ;; unix) _cdefos="-D__UNIX__ -D__OS__=\"unix\" -Uunix -DHAVE_TERMINAL_OUT=1 $_cdefos" echocheck "gpm.h" check_header gpm.h enabled gpm_h && _cdefos="-DHAVE_MOUSE $_cdefos" && _oslibs="-lgpm $_oslibs" echores "$gpm_h" if enabled _slang; then echocheck "slang.h" check_header slang.h enabled slang_h && _cdefos="-D_SLANG_ -D__OS_NAME__='\"Unix/Slang\"' $_cdefos" enabled slang_h && _oslibs="-lslang $_oslibs" || disable _slang echores "$slang_h" fi if enabled _curses -a disabled _slang; then echocheck "curses.h" cat > $TMPC << EOF #include int main(void) {return 0;} EOF _curseslib= disable _curses cc_check -lcurses && _curseslib="-lcurses" if test -z "$_curseslib" ; then cc_check -lncurses && _curseslib="-lncurses" fi if test -n "$_curseslib" ; then enable _curses _cdefos="-D_CURSES_ -D__OS_NAME__='\"Unix/Curses\"' $_cdefos" _oslibs="$_curseslib $_oslibs" fi echores "$_curses" fi disabled _curses -a disabled _slang && _cdefos="-D_VT100_ -D__OS_NAME__='\"Unix/VT100\"' $_cdefos" disabled _curses -a disabled _slang && echo "Defaulting to VT100" ;; *) ;; esac echocheck "checking for popen" cat > $TMPC << EOF #include int main(void){(void)popen; return 0;} EOF disable _popen cc_check && enable _popen enabled _popen && _cdefos="-DHAVE_POPEN=1 $_cdefos" echores "$_popen" echocheck "checking for pclose" cat > $TMPC << EOF #include int main(void){(void)pclose; return 0;} EOF disable _pclose cc_check && enable _pclose enabled _pclose && _cdefos="-DHAVE_PCLOSE=1 $_cdefos" echores "$_pclose" echocheck "checking for sys/resource.h" check_header sys/resource.h enabled sys_resource_h && _cdefos="-DHAVE_SYS_RESOURCE=1 $_cdefos" echores "$sys_resource_h" if test -z "$_x11libdir" ; then _cdefos="$_cdefos" else if test -z "$_x11incdir" ; then _cdefos="$_cdefos" else _cdefos="-DHAVE_X11 $_cdefos" fi fi if enabled _iconv; then disable _iconv echocheck "iconv" cat > $TMPC << EOF #include int main(void) { iconv_open(0,0); return 0; } EOF cc_check && enable _iconv if disabled _iconv; then cc_check -liconv && enable _iconv enabled _iconv && _oslibs="-liconv $_oslibs" fi enabled _iconv && _cdefos="-DHAVE_ICONV $_cdefos" echores "$_iconv" fi # Checking for INSTALL if test -z $_install then _install="install" $_install --version 1>/dev/null 2>/dev/null || _install="" fi #Force including of our .h files before standard _cdefos="-I. $_cdefos" ############################################################################# echo "Creating config.mak" cat > config.mak << EOF # -------- Generated by configure ----------- CC=$_cc LD=$_ld AR=$_ar RANLIB=$_ranlib RM=$_rm LN=$_ln CD=$_cd CP=$_cp INSTALL=$_install LIBEXT=$_libext LIBPREFIX=$_libprefix PREFIX=$_prefix DATADIR=$_datadir LIBDIR=$_libdir DESTDIR=$DESTDIR HOST=$_target_system MACHINE=$build_arch CDEFOS=$_cdefos $_extraincdir $_x11incdir OSLDEF=$_osldef OS_LIBS=$_extralibdir $_x11libdir $_oslibs CDEFSYS=$_cdefsys EOF #last: printout configure cat << EOF | $_tee Config files successfully generated by ./configure ! Install prefix: $_prefix Data directory: $_datadir Lib directory: $_libdir Compiler: $_cc Linker: $_ld Librarian: $_ar Ranlib: $_ranlib Remover: $_rm TARGETS system: $_target_system arch: $build_arch EOF $_rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP" "$TMPE" + export 'CFLAGS=-O2 -mmmx -msse' + CFLAGS='-O2 -mmmx -msse' + CFLAGS='-O2 -mmmx -msse' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext 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 ... yes 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 + make -j16 TARGET_PLATFORM=x86_64 USE_MOUSE=y make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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/lib64/gcc/x86_64-alt-linux/14/include/limits.h:210, from /usr/lib64/gcc/x86_64-alt-linux/14/include/syslimits.h:7, from /usr/lib64/gcc/x86_64-alt-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:1214: /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: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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; | ^ make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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); | ^ make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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); | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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 make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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; | ^ make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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; | ^ make: Leaving directory '/usr/src/RPM/BUILD/biew-610' make: Entering directory '/usr/src/RPM/BUILD/biew-610' gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -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 -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' make: Leaving directory '/usr/src/RPM/BUILD/biew-610' error: Bad exit status from /usr/src/tmp/rpm-tmp.98383 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.98383 (%build) Command exited with non-zero status 1 2.77user 0.52system 0:01.11elapsed 294%CPU (0avgtext+0avgdata 58260maxresident)k 0inputs+0outputs (0major+74251minor)pagefaults 0swaps hsh-rebuild: rebuild of `biew-6.1.0-alt4.src.rpm' failed. Command exited with non-zero status 1 3.19user 2.54system 0:09.47elapsed 60%CPU (0avgtext+0avgdata 137584maxresident)k 32inputs+0outputs (0major+191640minor)pagefaults 0swaps