Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/FlightGear-Atlas.spec'], chrootPath='/var/lib/mock/f33-build-288589-54122/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/FlightGear-Atlas.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/FlightGear-Atlas.spec'], chrootPath='/var/lib/mock/f33-build-288589-54122/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/FlightGear-Atlas.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R037aU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Atlas + /usr/bin/gzip -dc /builddir/build/SOURCES/Atlas-0.5.0.cvs20141002.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Atlas + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Atlas-0.5.0-fix-unused-but-set-variable-warning.patch):' Patch #0 (Atlas-0.5.0-fix-unused-but-set-variable-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/NavaidsOverlay.cxx + echo 'Patch #1 (Atlas-0.5.0-fix-narrowing-conversion-from-int-to-char-error.patch):' Patch #1 (Atlas-0.5.0-fix-narrowing-conversion-from-int-to-char-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/tiles.h Patch #2 (Atlas-0.5.0-fix-operator-should-have-been-declared-inside-namespace-error.patch): + echo 'Patch #2 (Atlas-0.5.0-fix-operator-should-have-been-declared-inside-namespace-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/Preferences.cxx Patch #3 (Atlas-0.5.0-fix-removal-of-deprecated-function-in-sgtime.patch): + echo 'Patch #3 (Atlas-0.5.0-fix-removal-of-deprecated-function-in-sgtime.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/misc.cxx Patch #4 (Atlas-0.5.0-add-material-from-corine-landcover-classes.patch): + echo 'Patch #4 (Atlas-0.5.0-add-material-from-corine-landcover-classes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/data/Palettes/GMT_globe.ap patching file src/data/Palettes/NGDC.ap patching file src/data/Palettes/cd-a.ap patching file src/data/Palettes/default.ap patching file src/data/Palettes/wiki-1.03.ap Patch #5 (Atlas-0.5.0-remove-assert-about-matching-navaids.patch): + echo 'Patch #5 (Atlas-0.5.0-remove-assert-about-matching-navaids.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/AtlasWindow.cxx + echo 'Patch #6 (Atlas-0.5.0-fix-sgpath-api-change.patch):' Patch #6 (Atlas-0.5.0-fix-sgpath-api-change.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/Map.cxx patching file src/Preferences.cxx patching file src/Subbucket.cxx + find -type f -name '*.[hc]xx' -exec chmod a-x '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CCfx1R + umask 022 + cd /builddir/build/BUILD + cd Atlas + ./autogen.sh Host info: Linux riscv64 automake: 1.16.2 (116) Running aclocal Running autoheader Running automake --add-missing configure.ac:15: installing './compile' configure.ac:89: installing './config.guess' configure.ac:89: installing './config.sub' configure.ac:11: installing './missing' src/Makefile.am: installing './depcomp' Running autoconf ====================================== Now you are ready to run './configure' ====================================== + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-13 10:41:05.120974636 -0400 +++ ./configure 2020-08-13 10:41:06.640974607 -0400 @@ -1858,7 +1858,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' --with-fgbase=/usr/share/flightgear --datadir=/usr/share/flightgear --enable-simgear-shared 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 make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes 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 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 windows.h usability... no checking windows.h presence... no checking for windows.h... no Plib not specified libcurl not specified SimGear not specified OpenSceneGraph not specified FlightGear base package location is /usr/share/flightgear checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for cos in -lm... yes checking for library containing clock_gettime... none required checking for pthread_exit in -lpthread... yes checking for library containing XCreateWindow... -lX11 checking for library containing XShmCreateImage... no checking for library containing XGetExtensionVersion... no checking for library containing IceOpenConnection... no checking for library containing SmcOpenConnection... no checking for library containing XtMalloc... no checking for library containing XmuLookupStandardColormap... no checking for library containing glNewList... -lGL checking for library containing gluLookAt... -lGLU checking for library containing glutGetModifiers... -lglut checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for curl_easy_init in -lcurl... yes checking simgear/version.h usability... yes checking simgear/version.h presence... yes checking for simgear/version.h... yes checking for proper simgear version... 2.4.0 or greater... yes checking how to run the C++ preprocessor... g++ -E checking plib/pu.h usability... yes checking plib/pu.h presence... yes checking for plib/pu.h... yes checking for ulInit in -lplibul... yes checking GL/glew.h usability... yes checking GL/glew.h presence... yes checking for GL/glew.h... yes checking for glewInit in -lGLEW... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for windows.h... (cached) no checking winbase.h usability... no checking winbase.h presence... no checking for winbase.h... no checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for strstr... yes checking for strspn... yes checking for strcspn... yes checking for tolower... yes checking for vsnprintf... yes checking for sqrt... yes checking for rint... yes checking for fabs... yes checking for fmod... yes checking for floor... yes checking for ceil... yes checking for optreset... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/data/Makefile config.status: creating src/data/Fonts/Makefile config.status: creating src/data/Palettes/Makefile config.status: creating src/config.h config.status: executing depfiles commands Configure Summary ================= Prefix: /usr + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/Atlas/src' make all-recursive make[2]: Entering directory '/builddir/build/BUILD/Atlas/src' Making all in data make[3]: Entering directory '/builddir/build/BUILD/Atlas/src/data' Making all in Fonts make[4]: Entering directory '/builddir/build/BUILD/Atlas/src/data/Fonts' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/Atlas/src/data/Fonts' Making all in Palettes make[4]: Entering directory '/builddir/build/BUILD/Atlas/src/data/Palettes' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/Atlas/src/data/Palettes' make[4]: Entering directory '/builddir/build/BUILD/Atlas/src/data' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/Atlas/src/data' make[3]: Leaving directory '/builddir/build/BUILD/Atlas/src/data' make[3]: Entering directory '/builddir/build/BUILD/Atlas/src' g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Notifications.o Notifications.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Atlas.o Atlas.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o GLUTWindow.o GLUTWindow.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o AtlasBaseWindow.o AtlasBaseWindow.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o AtlasWindow.o AtlasWindow.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o AtlasController.o AtlasController.cxx Atlas.cxx: In function 'int main(int, char**)': Atlas.cxx:98:38: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] 98 | } catch (std::runtime_error e) { | ^ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o FlightTrack.o FlightTrack.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Image.o Image.cxx AtlasController.cxx: In constructor 'Palettes::Palettes(const char*)': AtlasController.cxx:62:29: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] 62 | } catch (runtime_error e) { | ^ AtlasController.cxx: In member function 'void AtlasController::loadTrack(const char*)': AtlasController.cxx:520:25: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] 520 | } catch (runtime_error e) { | ^ Image.cxx: In function 'char* loadPNG(const char*, int*, int*, int*, float*)': Image.cxx:159:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fread(header, 1, 8, fp); | ~~~~~^~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o NavData.o NavData.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Overlays.o Overlays.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o AirportsOverlay.o AirportsOverlay.cxx NavData.cxx: In member function 'void NavData::_checkEnd(AwyLabel&, bool)': NavData.cxx:1181:12: warning: variable 'latitude' set but not used [-Wunused-but-set-variable] 1181 | double latitude, longitude; | ^~~~~~~~ NavData.cxx:1181:22: warning: variable 'longitude' set but not used [-Wunused-but-set-variable] 1181 | double latitude, longitude; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o AirwaysOverlay.o AirwaysOverlay.cxx NavData.cxx: In member function 'RWY::otherLabel()': NavData.cxx:285:30: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 285 | sprintf(_otherLabel, "%02d%c", hdg, lr); | ^ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from NavData.hxx:32, from NavData.cxx:25: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 4 and 5 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o FixesOverlay.o FixesOverlay.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o NavaidsOverlay.o NavaidsOverlay.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o FlightTracksOverlay.o FlightTracksOverlay.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o CrosshairsOverlay.o CrosshairsOverlay.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o RangeRingsOverlay.o RangeRingsOverlay.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Tiles.o Tiles.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o TileMapper.o TileMapper.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Searcher.o Searcher.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Search.o Search.cxx Search.cxx: In member function 'void Search::_setSelected(int, bool)': Search.cxx:344:14: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 344 | asprintf(&entry, "%d more ...", _above); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Search.cxx:364:14: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 364 | asprintf(&entry, "%d more ...", _below); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tiles.cxx: In member function 'GeoLocation::name() const': Tiles.cxx:166:23: warning: '%03d' directive output may be truncated writing between 3 and 10 bytes into a region of size 7 [-Wformat-truncation=] 166 | snprintf(name, 8, "%c%03d%c%02d", ew, lon, ns, lat); | ^~~~ Tiles.cxx:166:20: note: directive argument in the range [0, 2147483647] 166 | snprintf(name, 8, "%c%03d%c%02d", ew, lon, ns, lat); | ^~~~~~~~~~~~~~ Tiles.cxx:166:20: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6535, from /usr/include/c++/10/string:55, from /usr/include/c++/10/bitset:47, from Tiles.hxx:133, from Tiles.cxx:25: /usr/include/bits/stdio2.h:70:35: note: '__snprintf_chk' output between 8 and 23 bytes into a destination of size 8 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Preferences.o Preferences.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Graphs.o Graphs.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Culler.o Culler.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Scenery.o Scenery.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Background.o Background.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Cache.o Cache.cxx Graphs.cxx: In member function 'GraphsWindow::Altitudes::load()': Graphs.cxx:1691:12: warning: 'radio' may be used uninitialized in this function [-Wmaybe-uninitialized] 1691 | Radio radio; | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o LayoutManager.o LayoutManager.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Bucket.o Bucket.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Subbucket.o Subbucket.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Palette.o Palette.cxx Subbucket.cxx:873:5: warning: multi-line comment [-Wcomment] 873 | // |\ |\ |\ |\ |\ | ^ Subbucket.cxx:876:5: warning: multi-line comment [-Wcomment] 876 | // | \ | \ | \ | \ | ^ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o misc.o misc.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Globals.o Globals.cxx misc.cxx: In constructor 'AtlasDialog::AtlasDialog(const char*, const char*, const char*, const char*, puCallback, void*)': misc.cxx:691:17: warning: unused variable 'right' [-Wunused-variable] 691 | puOneShot *right = _makeButton(rightLabel, RIGHT, data); | ^~~~~ misc.cxx:694:17: warning: unused variable 'middle' [-Wunused-variable] 694 | puOneShot *middle = _makeButton(middleLabel, MIDDLE, data); | ^~~~~~ misc.cxx:697:17: warning: unused variable 'left' [-Wunused-variable] 697 | puOneShot *left = _makeButton(leftLabel, LEFT, data); | ^~~~ g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Geographics.o Geographics.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Map.o Map.cxx g++ -DHAVE_CONFIG_H -I. -I/usr/local//include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -c -o GetMap.o GetMap.cxx Map.cxx: In function 'Palette* loadPalette(const char*)': Map.cxx:251:28: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] 251 | } catch (runtime_error e) { | ^ Map.cxx: In function 'int main(int, char**)': Map.cxx:461:9: warning: variable 'windowSize' set but not used [-Wunused-but-set-variable] 461 | int windowSize = bufferSize; | ^~~~~~~~~~ Map.cxx:315:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | fgets(line, 256, rc); | ~~~~~^~~~~~~~~~~~~~~ Map.cxx:322:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 322 | fgets(line, 256, rc); | ~~~~~^~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local//lib -o GetMap GetMap.o -lcurl -lGLEW -lplibul -lcurl -lm Map.cxx:581:30: warning: 'bufferLevel' may be used uninitialized in this function [-Wmaybe-uninitialized] 581 | imageType, jpegQuality); | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local//lib -o Atlas Notifications.o Atlas.o GLUTWindow.o AtlasBaseWindow.o AtlasWindow.o AtlasController.o FlightTrack.o Image.o NavData.o Overlays.o AirportsOverlay.o AirwaysOverlay.o FixesOverlay.o NavaidsOverlay.o FlightTracksOverlay.o CrosshairsOverlay.o RangeRingsOverlay.o Tiles.o TileMapper.o Searcher.o Search.o Preferences.o Graphs.o Culler.o Scenery.o Background.o Cache.o LayoutManager.o Bucket.o Subbucket.o Palette.o misc.o Globals.o Geographics.o -lSimGearCore -lplibsg -lplibpuaux -lplibpu -lplibfnt -lplibnet -lglut -lGLU -lGL -lX11 -lpthread -lm -lpng -lz -ljpeg -lGLEW -lplibul -lcurl -lm g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DFGBASE_DIR='"/usr/share/flightgear"' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local//lib -o Map Map.o Tiles.o TileMapper.o Bucket.o Subbucket.o Palette.o Image.o misc.o -lSimGearCore -lplibpu -lplibfnt -lplibsg -lglut -lGLU -lGL -lX11 -lpthread -lm -lpng -lz -ljpeg -lGLEW -lplibul -lcurl -lm make[3]: Leaving directory '/builddir/build/BUILD/Atlas/src' make[2]: Leaving directory '/builddir/build/BUILD/Atlas/src' make[1]: Leaving directory '/builddir/build/BUILD/Atlas/src' make[1]: Entering directory '/builddir/build/BUILD/Atlas' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/Atlas' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6PVDCT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 + cd Atlas + rm -rf /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/Atlas/src' Making install in data make[2]: Entering directory '/builddir/build/BUILD/Atlas/src/data' Making install in Fonts make[3]: Entering directory '/builddir/build/BUILD/Atlas/src/data/Fonts' make[4]: Entering directory '/builddir/build/BUILD/Atlas/src/data/Fonts' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Fonts' /usr/bin/install -c -m 644 Helvetica-Bold.100.txf Helvetica.100.txf '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Fonts' make[4]: Leaving directory '/builddir/build/BUILD/Atlas/src/data/Fonts' make[3]: Leaving directory '/builddir/build/BUILD/Atlas/src/data/Fonts' Making install in Palettes make[3]: Entering directory '/builddir/build/BUILD/Atlas/src/data/Palettes' make[4]: Entering directory '/builddir/build/BUILD/Atlas/src/data/Palettes' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Palettes' /usr/bin/install -c -m 644 default.ap wiki-1.03.ap GMT_globe.ap NGDC.ap cd-a.ap '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Palettes' make[4]: Leaving directory '/builddir/build/BUILD/Atlas/src/data/Palettes' make[3]: Leaving directory '/builddir/build/BUILD/Atlas/src/data/Palettes' make[3]: Entering directory '/builddir/build/BUILD/Atlas/src/data' make[4]: Entering directory '/builddir/build/BUILD/Atlas/src/data' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas' /usr/bin/install -c -m 644 background.jpg airplane_image.png '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas' make[4]: Leaving directory '/builddir/build/BUILD/Atlas/src/data' make[3]: Leaving directory '/builddir/build/BUILD/Atlas/src/data' make[2]: Leaving directory '/builddir/build/BUILD/Atlas/src/data' make[2]: Entering directory '/builddir/build/BUILD/Atlas/src' make[3]: Entering directory '/builddir/build/BUILD/Atlas/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin' /usr/bin/install -c Atlas Map GetMap '/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/Atlas/src' make[2]: Leaving directory '/builddir/build/BUILD/Atlas/src' make[1]: Leaving directory '/builddir/build/BUILD/Atlas/src' make[1]: Entering directory '/builddir/build/BUILD/Atlas' make[2]: Entering directory '/builddir/build/BUILD/Atlas' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/Atlas' make[1]: Leaving directory '/builddir/build/BUILD/Atlas' + install -d /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear + tar jxf /builddir/build/SOURCES/Atlas-0.5.0-default-maps.tar.bz2 -C /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear + install -d /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Palettes + install -d /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Fonts + install -m 0644 src/data/Fonts/Helvetica-Bold.100.txf src/data/Fonts/Helvetica.100.txf /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Fonts + install -m 0644 src/data/Palettes/GMT_globe.ap src/data/Palettes/NGDC.ap src/data/Palettes/cd-a.ap src/data/Palettes/default.ap src/data/Palettes/wiki-1.03.ap /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas/Palettes + install -m 0644 src/data/background.jpg /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas + install -m 0644 src/data/airplane_image.png /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/flightgear/Atlas + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5.0-0.59.cvs20141002.fc33 --unique-debug-suffix -0.5.0-0.59.cvs20141002.fc33.riscv64 --unique-debug-src-base FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Atlas explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin/Atlas explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin/GetMap explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin/Map extracting debug info from /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin/Atlas extracting debug info from /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin/Map extracting debug info from /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/bin/GetMap original debug info size: 24992kB, size after compression: 21064kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 2044 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wK6FdS + umask 022 + cd /builddir/build/BUILD + cd Atlas + DOCDIR=/builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/doc/FlightGear-Atlas + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/doc/FlightGear-Atlas + cp -pr AUTHORS /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/doc/FlightGear-Atlas + cp -pr COPYING /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/doc/FlightGear-Atlas + cp -pr NEWS /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/doc/FlightGear-Atlas + cp -pr README /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64/usr/share/doc/FlightGear-Atlas + RPM_EC=0 ++ jobs -p + exit 0 Provides: FlightGear-Atlas = 0.5.0-0.59.cvs20141002.fc33 FlightGear-Atlas(riscv-64) = 0.5.0-0.59.cvs20141002.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libGLEW.so.2.1()(64bit) libGLU.so.1()(64bit) libSimGearCore.so.2019.1.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcurl.so.4()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libglut.so.3()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libplibfnt.so.1.8.5()(64bit) libplibpu.so.1.8.5()(64bit) libplibpuaux.so.1.8.5()(64bit) libplibsg.so.1.8.5()(64bit) libplibul.so.1.8.5()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.10)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: fgfs-Atlas < 0.3.1-10 Processing files: FlightGear-Atlas-debugsource-0.5.0-0.59.cvs20141002.fc33.riscv64 Provides: FlightGear-Atlas-debugsource = 0.5.0-0.59.cvs20141002.fc33 FlightGear-Atlas-debugsource(riscv-64) = 0.5.0-0.59.cvs20141002.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: FlightGear-Atlas-debuginfo-0.5.0-0.59.cvs20141002.fc33.riscv64 Provides: FlightGear-Atlas-debuginfo = 0.5.0-0.59.cvs20141002.fc33 FlightGear-Atlas-debuginfo(riscv-64) = 0.5.0-0.59.cvs20141002.fc33 debuginfo(build-id) = 0f2c9a70de4219238c9fbcf82960207d9f50489c debuginfo(build-id) = cc9e6e115d6cdc0a3b758cbb2b32c7eab17d6449 debuginfo(build-id) = e23a5880fe96ef5e16fc16dc205368ca2dae869c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: FlightGear-Atlas-debugsource(riscv-64) = 0.5.0-0.59.cvs20141002.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 Wrote: /builddir/build/RPMS/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/FlightGear-Atlas-debugsource-0.5.0-0.59.cvs20141002.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/FlightGear-Atlas-debuginfo-0.5.0-0.59.cvs20141002.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s5sZkU + umask 022 + cd /builddir/build/BUILD + cd Atlas + /usr/bin/rm -rf /builddir/build/BUILDROOT/FlightGear-Atlas-0.5.0-0.59.cvs20141002.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0