Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1251575 Details for
Bug 1423274
berusky2: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 42.67 KB, created by
Fedora Release Engineering
on 2017-02-17 03:25:59 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2017-02-17 03:25:59 UTC
Size:
42.67 KB
patch
obsolete
>Mock Version: 1.3.3 >Mock Version: 1.3.3 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/berusky2.spec'], user='mockbuild'timeout=172800printOutput=Falsegid=425shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xb5e123d0>uid=1000env={'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'}chrootPath='/var/lib/mock/f26-build-7595596-694090/root') >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/berusky2.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'} and shell False >Building target platforms: armv7hl >Building for target armv7hl >Wrote: /builddir/build/SRPMS/berusky2-0.10-12.fc26.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/berusky2.spec'], private_network=Trueuser='mockbuild'timeout=172800uid=1000chrootPath='/var/lib/mock/f26-build-7595596-694090/root'gid=425shell=FalseprintOutput=Falseenv={'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'}logger=<mockbuild.trace_decorator.getLog object at 0xb5e123d0>) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/berusky2.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'} and shell False >Building target platforms: armv7hl >Building for target armv7hl >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2WV7CE >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf berusky2-0.10 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/berusky2-0.10.tar.gz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd berusky2-0.10 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ echo 'Patch #0 (berusky2-anim-crash.patch):' >Patch #0 (berusky2-anim-crash.patch): >+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .anim-crash --fuzz=0 >patching file src/komat/Berusky3d.h >patching file src/kofola/animationk.cpp >+ echo 'Patch #1 (berusky2-gcc6.patch):' >Patch #1 (berusky2-gcc6.patch): >+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc --fuzz=0 >patching file src/komat/Berusky3d_ini.cpp >patching file src/komat/Load.cpp >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yU8Hxt >+ umask 022 >+ cd /builddir/build/BUILD >+ cd berusky2-0.10 >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ export LDFLAGS >+ '[' 1 = 1 ']' >+++ dirname ./configure >++ find . -name config.guess -o -name config.sub >+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) >++ basename ./config.guess >+ '[' -f /usr/lib/rpm/redhat/config.guess ']' >+ /usr/bin/rm -f ./config.guess >++ basename ./config.guess >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess >'/usr/lib/rpm/redhat/config.guess' -> './config.guess' >+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) >++ basename ./config.sub >+ '[' -f /usr/lib/rpm/redhat/config.sub ']' >+ /usr/bin/rm -f ./config.sub >++ basename ./config.sub >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub >'/usr/lib/rpm/redhat/config.sub' -> './config.sub' >+ '[' 1 = 1 ']' >+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' >++ find . -name ltmain.sh >+ for i in $(find . -name ltmain.sh) >+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh >+ ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking for style of include used by make... GNU >checking for armv7hl-redhat-linux-gnu-gcc... no >checking for gcc... gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ISO C89... none needed >checking dependency style of gcc... none >checking for library containing strerror... none required >checking for armv7hl-redhat-linux-gnu-gcc... gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether gcc accepts -g... (cached) yes >checking for gcc option to accept ISO C89... (cached) none needed >checking dependency style of gcc... (cached) none >checking for armv7hl-redhat-linux-gnu-gcc... (cached) gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether gcc accepts -g... (cached) yes >checking for gcc option to accept ISO C89... (cached) none needed >checking dependency style of gcc... (cached) none >checking how to run the C preprocessor... gcc -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for ANSI C header files... yes >checking how to run the C preprocessor... gcc -E >checking for armv7hl-redhat-linux-gnu-g++... no >checking for armv7hl-redhat-linux-gnu-c++... no >checking for armv7hl-redhat-linux-gnu-gpp... no >checking for armv7hl-redhat-linux-gnu-aCC... no >checking for armv7hl-redhat-linux-gnu-CC... no >checking for armv7hl-redhat-linux-gnu-cxx... no >checking for armv7hl-redhat-linux-gnu-cc++... no >checking for armv7hl-redhat-linux-gnu-cl.exe... no >checking for armv7hl-redhat-linux-gnu-FCC... no >checking for armv7hl-redhat-linux-gnu-KCC... no >checking for armv7hl-redhat-linux-gnu-RCC... no >checking for armv7hl-redhat-linux-gnu-xlC_r... no >checking for armv7hl-redhat-linux-gnu-xlC... no >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking dependency style of g++... none >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking locale.h usability... yes >checking locale.h presence... yes >checking for locale.h... yes >checking for LC_MESSAGES... yes >checking libintl.h usability... yes >checking libintl.h presence... yes >checking for libintl.h... yes >checking for ngettext in libc... yes >checking for dgettext in libc... yes >checking for bind_textdomain_codeset... yes >checking for msgfmt... no >checking build system type... armv7hl-redhat-linux-gnu >checking host system type... armv7hl-redhat-linux-gnu >checking how to print strings... printf >checking for a sed that does not truncate output... /usr/bin/sed >checking for fgrep... /usr/bin/grep -F >checking for ld used by gcc... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >checking the name lister (/usr/bin/nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking whether the shell understands some XSI constructs... yes >checking whether the shell understands "+="... yes >checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop >checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/bin/ld option to reload object files... -r >checking for armv7hl-redhat-linux-gnu-objdump... no >checking for objdump... objdump >checking how to recognize dependent libraries... pass_all >checking for armv7hl-redhat-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for armv7hl-redhat-linux-gnu-ar... no >checking for ar... ar >checking for archiver @FILE support... @ >checking for armv7hl-redhat-linux-gnu-strip... no >checking for strip... strip >checking for armv7hl-redhat-linux-gnu-ranlib... no >checking for ranlib... ranlib >checking command to parse /usr/bin/nm -B output from gcc object... ok >checking for sysroot... no >checking for armv7hl-redhat-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for dlfcn.h... yes >checking for objdir... .libs >checking if gcc supports -fno-rtti -fno-exceptions... no >checking for gcc option to produce PIC... -fPIC -DPIC >checking if gcc PIC flag -fPIC -DPIC works... yes >checking if gcc static flag -static works... no >checking if gcc supports -c -o file.o... yes >checking if gcc supports -c -o file.o... (cached) yes >checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking how to run the C++ preprocessor... g++ -E >checking for ld used by g++... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking for g++ option to produce PIC... -fPIC -DPIC >checking if g++ PIC flag -fPIC -DPIC works... yes >checking if g++ static flag -static works... no >checking if g++ supports -c -o file.o... yes >checking if g++ supports -c -o file.o... (cached) yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... (cached) GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking for armv7hl-redhat-linux-gnu-pkg-config... no >checking for pkg-config... /usr/bin/pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for SDL... yes >checking for OPENGL... yes >checking for X11... yes >checking for ZLIB... yes >checking for SOUND... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating po/Makefile.in >config.status: creating src/Makefile >config.status: creating data/Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing default-1 commands >config.status: executing libtool commands >+ make -j4 >make all-recursive >make[1]: Entering directory '/builddir/build/BUILD/berusky2-0.10' >Making all in po >make[2]: Entering directory '/builddir/build/BUILD/berusky2-0.10/po' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/builddir/build/BUILD/berusky2-0.10/po' >Making all in src >make[2]: Entering directory '/builddir/build/BUILD/berusky2-0.10/src' >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o 3D_graphic.o `test -f 'kofola/3D_graphic.cpp' || echo './'`kofola/3D_graphic.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o 3D_menus.o `test -f 'kofola/3D_menus.cpp' || echo './'`kofola/3D_menus.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o 3d_math.o `test -f 'kofola/3d_math.cpp' || echo './'`kofola/3d_math.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Apak.o `test -f 'kofola/Apak.cpp' || echo './'`kofola/Apak.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Apakio.o `test -f 'kofola/Apakio.cpp' || echo './'`kofola/Apakio.cpp >kofola/Apakio.cpp: In function 'int fillbuffer(APAK_FILE_HANDLE*)': >kofola/Apakio.cpp:64:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(pTmp, size, 1, pFHandle->pArchive->pFILE); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from komat/mmalloc.h:34:0, > from kofola/Apak.cpp:8: >kofola/Apak.cpp: In function 'char* apak_dir_correction(char*)': >kofola/Apak.cpp:342:16: warning: argument 1 null where non-null expected [-Wnonnull] > assert(strlen(dir) < 254); > ~~~~~~^~~~~ >In file included from kofola/Apak.cpp:4:0: >/usr/include/string.h:394:15: note: in a call to function 'size_t strlen(const char*)' declared here > extern size_t strlen (const char *__s) > ^~~~~~ >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Bind.o `test -f 'kofola/Bind.cpp' || echo './'`kofola/Bind.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Camera.o `test -f 'kofola/Camera.cpp' || echo './'`kofola/Camera.cpp >kofola/3D_graphic.cpp: In function 'void _3d_Get_Cursor_Name(char*)': >kofola/3D_graphic.cpp:168:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(text, 32, file); > ~~~~~^~~~~~~~~~~~~~~~ >kofola/3D_graphic.cpp:171:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(text, 32, file); > ~~~~~^~~~~~~~~~~~~~~~ >kofola/3D_graphic.cpp:174:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(text, 32, file); > ~~~~~^~~~~~~~~~~~~~~~ >kofola/3D_graphic.cpp:177:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(text, 32, file); > ~~~~~^~~~~~~~~~~~~~~~ >kofola/3D_graphic.cpp: In function 'int _3d_Load_List(char*)': >kofola/3D_graphic.cpp:192:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((_3dd.bm_dir)); > ~~~~~^~~~~~~~~~~~~~~ >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Comics.o `test -f 'kofola/Comics.cpp' || echo './'`kofola/Comics.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Command.o `test -f 'kofola/Command.cpp' || echo './'`kofola/Command.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Dda.o `test -f 'kofola/Dda.cpp' || echo './'`kofola/Dda.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Demo.o `test -f 'kofola/Demo.cpp' || echo './'`kofola/Demo.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Init.o `test -f 'kofola/Init.cpp' || echo './'`kofola/Init.cpp >kofola/Comics.cpp: In function 'void cmcs_Start_Comics(char*, HWND, AUDIO_DATA*, char)': >kofola/Comics.cpp:100:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(text, MAX_FILENAME, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Comics.cpp:112:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(text, MAX_FILENAME, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Comics.cpp: In function 'void cmcs_Play_Intro(char*, HWND, AUDIO_DATA*)': >kofola/Comics.cpp:157:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Menu.o `test -f 'kofola/Menu.cpp' || echo './'`kofola/Menu.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Menu2.o `test -f 'kofola/Menu2.cpp' || echo './'`kofola/Menu2.cpp >kofola/Demo.cpp: In function 'void demo_Set_Scene_Level(char*, int*, int*)': >kofola/Demo.cpp:25:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > getcwd(odir, MAX_FILENAME); > ~~~~~~^~~~~~~~~~~~~~~~~~~~ >kofola/Demo.cpp:27:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(SAVE_DIR); > ~~~~~^~~~~~~~~~ >kofola/Demo.cpp:32:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((odir)); > ~~~~~^~~~~~~~ >kofola/Demo.cpp:36:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(&FileHeader, sizeof(DEMOFILEHEADER), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Demo.cpp:42:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((odir)); > ~~~~~^~~~~~~~ >kofola/Demo.cpp: In function 'int demo_SaveWC(DEMOSTRUCTURE*, WCHAR*, char, char*, char*)': >kofola/Demo.cpp:261:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(SAVE_DIR); > ~~~~~^~~~~~~~~~ >kofola/Demo.cpp: In function 'int demo_Load(DEMOSTRUCTURE*, char*, char*, char*, char*)': >kofola/Demo.cpp:326:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(&FileHeader, sizeof(DEMOFILEHEADER), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Demo.cpp:345:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(p_Demo, sizeof(DEMOSTRUCTURE), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Demo.cpp:357:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(p_Frame, sizeof(DEMOKEYFRAME), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Init.cpp: In function 'int lsi_Load_Items(LEVELINFO*)': >kofola/Init.cpp:27:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > getcwd(odir, MAX_FILENAME); > ~~~~~~^~~~~~~~~~~~~~~~~~~~ >kofola/Init.cpp:29:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(dir); > ~~~~~^~~~~ >kofola/Init.cpp:85:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((odir)); > ~~~~~^~~~~~~~ >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o Tools.o `test -f 'kofola/Tools.cpp' || echo './'`kofola/Tools.cpp >g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/AL -c -o animend_functions.o `test -f 'kofola/animend_functions.cpp' || echo './'`kofola/animend_functions.cpp >kofola/Menu.cpp: In function 'void AnimationEvent(DWORD, AUDIO_DATA*)': >kofola/Menu.cpp:286:27: error: call of overloaded 'abs(DWORD)' is ambiguous > e = abs(dwLTime - dwTime); > ^ >In file included from /usr/include/c++/7/cstdlib:75:0, > from /usr/include/c++/7/stdlib.h:36, > from kofola/Menu.cpp:5: >/usr/include/stdlib.h:751:12: note: candidate: int abs(int) > extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; > ^~~ >In file included from /usr/include/c++/7/cstdlib:77:0, > from /usr/include/c++/7/stdlib.h:36, > from kofola/Menu.cpp:5: >/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int) > abs(long __i) { return __builtin_labs(__i); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int) > abs(long long __x) { return __builtin_llabs (__x); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double) > abs(double __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float) > abs(float __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double) > abs(long double __x) > ^~~ >kofola/Menu.cpp: In function 'void RunMenuSettings(char*, HWND, AUDIO_DATA*, int)': >kofola/Menu.cpp:1544:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'void RunMenuNewGameScene(char*, HWND, AUDIO_DATA*, int, char, char*, char)': >kofola/Menu.cpp:2436:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'void RunMenuSceneMap(char*, HWND, AUDIO_DATA*, int, char*, char*, int, int, int, char*, int, int, char, char*, char, int, int)': >kofola/Menu.cpp:3594:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'int RunMenuNewGame(char*, HWND, AUDIO_DATA*, int)': >kofola/Menu.cpp:4005:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'int FillComboProfiles(COMBO_CONTROL*, int*)': >kofola/Menu.cpp:4453:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(dir); > ~~~~~^~~~~ >kofola/Menu.cpp: In function 'int check_Save_Owner(char*, WCHAR*)': >kofola/Menu.cpp:4507:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > getcwd(dir, MAX_FILENAME); > ~~~~~~^~~~~~~~~~~~~~~~~~~ >kofola/Menu.cpp:4509:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((cDir)); > ~~~~~^~~~~~~~ >kofola/Menu.cpp:4518:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((dir)); > ~~~~~^~~~~~~ >kofola/Menu.cpp:4522:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(&pProfile, sizeof(PLAYER_PROFILE), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Menu.cpp:4523:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(wFileName, 32 * sizeof(WCHAR), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Menu.cpp:4525:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(&ver, sizeof(int), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Menu.cpp:4532:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(wdir, (MAX_FILENAME + 1) * sizeof(WCHAR), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Menu.cpp:4534:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fread(&l_h, sizeof(LEVEL_HEADER), 1, file); > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kofola/Menu.cpp:4538:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((dir)); > ~~~~~^~~~~~~ >kofola/Menu.cpp: In function 'int FillListLoad(LIST_VIEW_CONTROL*, char*, char, int)': >kofola/Menu.cpp:4563:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(SAVE_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'void RunMenuLoadGameLoad(char*, HWND, AUDIO_DATA*, int, int)': >kofola/Menu.cpp:4643:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'void RunMenuLoadGame(char*, HWND, AUDIO_DATA*, int)': >kofola/Menu.cpp:5176:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'void RunMenu(char*, HWND, AUDIO_DATA*, int)': >kofola/Menu.cpp:5736:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'void RunMenuChildGame(char*, HWND, AUDIO_DATA*, int)': >kofola/Menu.cpp:6218:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'void RunMenuStartGame(char*, HWND, AUDIO_DATA*, int)': >kofola/Menu.cpp:6664:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu.cpp: In function 'int RunMenuComixB(char*, HWND, AUDIO_DATA*, int)': >kofola/Menu.cpp:7183:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >make[2]: *** [Makefile:1166: Menu.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >kofola/Menu2.cpp: In function 'void AnimationEvent2(HWND, UINT, UINT, DWORD)': >kofola/Menu2.cpp:235:27: error: call of overloaded 'abs(DWORD)' is ambiguous > e = abs(dwLTime - dwTime); > ^ >In file included from /usr/include/c++/7/cstdlib:75:0, > from /usr/include/c++/7/stdlib.h:36, > from komat/3d_all.h:9, > from kofola/Menu2.cpp:5: >/usr/include/stdlib.h:751:12: note: candidate: int abs(int) > extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; > ^~~ >In file included from /usr/include/c++/7/cstdlib:77:0, > from /usr/include/c++/7/stdlib.h:36, > from komat/3d_all.h:9, > from kofola/Menu2.cpp:5: >/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int) > abs(long __i) { return __builtin_labs(__i); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int) > abs(long long __x) { return __builtin_llabs (__x); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double) > abs(double __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float) > abs(float __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double) > abs(long double __x) > ^~~ >kofola/Menu2.cpp: In function 'void RunMenuSettings2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': >kofola/Menu2.cpp:1142:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu2.cpp: In function 'int FillListLoad2(LIST_VIEW_CONTROL2*, char*, char, char)': >kofola/Menu2.cpp:1712:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(SAVE_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu2.cpp: In function 'int RunMenuLoadGameLoad2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*, char, WCHAR*)': >kofola/Menu2.cpp:1822:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu2.cpp: In function 'void RunMenuHelp2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': >kofola/Menu2.cpp:2673:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu2.cpp: In function 'void RunMenuLevelStats2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': >kofola/Menu2.cpp:3213:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >kofola/Menu2.cpp: In function 'void RunMenuTutorial2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': >kofola/Menu2.cpp:3578:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(DATA_DIR); > ~~~~~^~~~~~~~~~ >make[2]: *** [Makefile:1180: Menu2.o] Error 1 >kofola/Tools.cpp: In function 'void MyMessageBox(HWND, char*, char*, char*)': >kofola/Tools.cpp:88:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > getcwd(odir, MAX_FILENAME); > ~~~~~~^~~~~~~~~~~~~~~~~~~~ >kofola/Tools.cpp:91:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir(dir); > ~~~~~^~~~~ >kofola/Tools.cpp:95:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((odir)); > ~~~~~^~~~~~~~ >kofola/Tools.cpp:105:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((odir)); > ~~~~~^~~~~~~~ >kofola/Tools.cpp:123:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] > chdir((odir)); > ~~~~~^~~~~~~~ >kofola/animend_functions.cpp: In function 'void anmend_Lift(size_ptr, size_ptr, size_ptr)': >kofola/animend_functions.cpp:362:23: error: call of overloaded 'abs(size_ptr&)' is ambiguous > for(i=0;i<(abs(param)-1);i++) > ^ >In file included from /usr/include/c++/7/cstdlib:75:0, > from /usr/include/c++/7/stdlib.h:36, > from komat/3d_all.h:9, > from kofola/animend_functions.cpp:4: >/usr/include/stdlib.h:751:12: note: candidate: int abs(int) > extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; > ^~~ >In file included from /usr/include/c++/7/cstdlib:77:0, > from /usr/include/c++/7/stdlib.h:36, > from komat/3d_all.h:9, > from kofola/animend_functions.cpp:4: >/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int) > abs(long __i) { return __builtin_labs(__i); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int) > abs(long long __x) { return __builtin_llabs (__x); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double) > abs(double __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float) > abs(float __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double) > abs(long double __x) > ^~~ >kofola/animend_functions.cpp:374:49: error: call of overloaded 'abs(size_ptr&)' is ambiguous > p_Level->LiftParticles[s].dwStop = abs(param) * 250; > ^ >In file included from /usr/include/c++/7/cstdlib:75:0, > from /usr/include/c++/7/stdlib.h:36, > from komat/3d_all.h:9, > from kofola/animend_functions.cpp:4: >/usr/include/stdlib.h:751:12: note: candidate: int abs(int) > extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; > ^~~ >In file included from /usr/include/c++/7/cstdlib:77:0, > from /usr/include/c++/7/stdlib.h:36, > from komat/3d_all.h:9, > from kofola/animend_functions.cpp:4: >/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int) > abs(long __i) { return __builtin_labs(__i); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int) > abs(long long __x) { return __builtin_llabs (__x); } > ^~~ >/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double) > abs(double __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float) > abs(float __x) > ^~~ >/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double) > abs(long double __x) > ^~~ >make[2]: *** [Makefile:1208: animend_functions.o] Error 1 >make[2]: Leaving directory '/builddir/build/BUILD/berusky2-0.10/src' >make[1]: Leaving directory '/builddir/build/BUILD/berusky2-0.10' >make[1]: *** [Makefile:426: all-recursive] Error 1 >make: *** [Makefile:336: all] Error 2 >RPM build errors: >error: Bad exit status from /var/tmp/rpm-tmp.yU8Hxt (%build) > Bad exit status from /var/tmp/rpm-tmp.yU8Hxt (%build) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 578, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/berusky2.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1423274
: 1251575 |
1251576
|
1251577