Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gpsdrive.spec'], chrootPath='/var/lib/mock/f30-build-42155-24109/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gpsdrive.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 BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/gpsdrive-2.11-48.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gpsdrive.spec'], chrootPath='/var/lib/mock/f30-build-42155-24109/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gpsdrive.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 BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lS40Ug + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gpsdrive-2.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/gpsdrive-2.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gpsdrive-2.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd gpsdrive-2.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/openstreetmap-map-icons-minimal.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (gpsdrive-2.10pre7-fedora.patch):' Patch #1 (gpsdrive-2.10pre7-fedora.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/osm/perl_lib/CMakeLists.txt patching file scripts/osm/perl_lib/Geo/Gpsdrive/getstreet.pm patching file scripts/osm/perl_lib/Geo/OSM/Upload.pm patching file src/gpsdrive_config.c + echo 'Patch #2 (gpsdrive-2.10pre7-usepc.patch):' Patch #2 (gpsdrive-2.10pre7-usepc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .usepc --fuzz=0 patching file cmake/Modules/FindMapnik.cmake + echo 'Patch #3 (gpsdrive-2.10-newgps.patch):' Patch #3 (gpsdrive-2.10-newgps.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .newgps --fuzz=0 patching file cmake/Modules/FindBoost.cmake patching file cmake/Modules/FindGTK2.cmake patching file DefineOptions.cmake + echo 'Patch #4 (gpsdrive-2.10-fix-dso-linking.patch):' Patch #4 (gpsdrive-2.10-fix-dso-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-dso-linking --fuzz=0 patching file src/CMakeLists.txt + echo 'Patch #5 (gpsdrive-2.11-add-gdk-pixbuf2.patch):' Patch #5 (gpsdrive-2.11-add-gdk-pixbuf2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gdk-pixbuf2 --fuzz=0 patching file cmake/Modules/FindGTK2.cmake Patch #6 (gpsdrive-2.11-set-boostfilesystemversion.patch): + echo 'Patch #6 (gpsdrive-2.11-set-boostfilesystemversion.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .boostfilesystemver --fuzz=0 patching file src/CMakeLists.txt + echo 'Patch #7 (gpsdrive-2.11-remove-Switch.patch):' Patch #7 (gpsdrive-2.11-remove-Switch.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .removeswitch --fuzz=0 patching file scripts/gpsfetchmap.pl + echo 'Patch #8 (gpsdrive-2.11-gpsd-2.96.patch):' Patch #8 (gpsdrive-2.11-gpsd-2.96.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gpsd296 --fuzz=0 patching file src/gps_handler.c + echo 'Patch #9 (gpsdrive-2.11-fix-lm-dso.patch):' Patch #9 (gpsdrive-2.11-fix-lm-dso.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lm-dso --fuzz=0 patching file src/CMakeLists.txt + echo 'Patch #10 (gpsdrive-speechd.patch):' Patch #10 (gpsdrive-speechd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gpsdrive --fuzz=0 patching file cmake/Modules/FindSpeechd.cmake patching file src/speech.c Patch #11 (gpsdrive-2.11-freetype-cmake.patch): + echo 'Patch #11 (gpsdrive-2.11-freetype-cmake.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .freetype-cmake --fuzz=0 patching file cmake/Modules/FindFreetype2.cmake + echo 'Patch #12 (gpsdrive-2.11-libgps6.patch):' Patch #12 (gpsdrive-2.11-libgps6.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/gps_handler.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cO82vc + umask 022 + cd /builddir/build/BUILD + cd gpsdrive-2.11 + mkdir build + export Boost_LIBRARYDIR=/usr/lib64 + Boost_LIBRARYDIR=/usr/lib64 + cd build + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DWITH_MAPNIK=OFF .. -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done BUILDSTDERR: CMake Warning (dev) in cmake/Modules/DefineProjectDefaults.cmake: BUILDSTDERR: Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH BUILDSTDERR: and POP. Run "cmake --help-policy CMP0011" for policy details. Use the BUILDSTDERR: cmake_policy command to set the policy and suppress this warning. BUILDSTDERR: The included script BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/cmake/Modules/DefineProjectDefaults.cmake BUILDSTDERR: affects policy settings. CMake is implying the NO_POLICY_SCOPE option for BUILDSTDERR: compatibility, so the effects are applied to the including context. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: CMakeLists.txt:31 (include) BUILDSTDERR: This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for include file libintl.h -- Looking for include file libintl.h - found -- Looking for dgettext -- Looking for dgettext - found -- Found Gettext: built in libc -- Looking for include file crypt.h -- Looking for include file crypt.h - found -- Looking for include file linux/inet.h -- Looking for include file linux/inet.h - not found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file locale.h -- Looking for include file locale.h - found BUILDSTDERR: CMake Warning at /usr/share/cmake/Modules/CPack.cmake:343 (message): BUILDSTDERR: CPack.cmake has already been included!! BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: CMakeLists.txt:38 (include) -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found X11: /usr/lib64/libX11.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.4") -- Checking for module 'gtk+-2.0' -- Found gtk+-2.0, version 2.24.32 -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.58.1 -- Checking for module 'gmodule-2.0' -- Found gmodule-2.0, version 2.58.1 -- Checking for module 'pango' -- Found pango, version 1.42.3 -- Checking for module 'gdk-2.0' -- Found gdk-2.0, version 2.24.32 -- Checking for module 'cairo' -- Found cairo, version 1.16.0 -- Checking for module 'atk' -- Found atk, version 2.30.0 -- Checking for module 'gdk-pixbuf-2.0' -- Found gdk-pixbuf-2.0, version 2.38.0 -- Found GTK2: /usr/lib64/libgtk-x11-2.0.so;/usr/lib64/libgdk-x11-2.0.so;/usr/lib64/libgdk_pixbuf-2.0.so;/usr/lib64/libgobject-2.0.so;/usr/lib64/libpango-1.0.so;/usr/lib64/libglib-2.0.so -- Checking for module 'libxml-2.0' -- Found libxml-2.0, version 2.9.8 -- Found XML2: /usr/lib64/libxml2.so -- Checking for module 'sqlite3' -- Found sqlite3, version 3.25.2 -- Found Sqlite3: /usr/lib64/libsqlite3.so -- Found CURL: /usr/lib64/libcurl.so (found version "7.61.1") -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig -- Found GPS: /usr/lib64/libgps.so -- Found PostgreSQL: /usr/lib64/libpq.so -- Found Speechd: /usr/lib64/libspeechd.so BUILDSTDERR: mapnik datadir: /usr/share/gpsdrive/mapnik -- Found Perl: /usr/bin/perl (found version "5.28.1") -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE -- Build files have been written to: /builddir/build/BUILD/gpsdrive-2.11/build + make VERBOSE=1 -j4 /usr/bin/cmake -H/builddir/build/BUILD/gpsdrive-2.11 -B/builddir/build/BUILD/gpsdrive-2.11/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/gpsdrive-2.11/build/CMakeFiles /builddir/build/BUILD/gpsdrive-2.11/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/gpsdrive-2.11/build' make -f src/CMakeFiles/friendsd.dir/build.make src/CMakeFiles/friendsd.dir/depend make -f src/CMakeFiles/gpsdrive.dir/build.make src/CMakeFiles/gpsdrive.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gpsdrive-2.11/build' cd /builddir/build/BUILD/gpsdrive-2.11/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gpsdrive-2.11 /builddir/build/BUILD/gpsdrive-2.11/src /builddir/build/BUILD/gpsdrive-2.11/build /builddir/build/BUILD/gpsdrive-2.11/build/src /builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/friendsd.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/gpsdrive-2.11/build' [ 1%] Generating po/zh_CN.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/zh_CN.mo /builddir/build/BUILD/gpsdrive-2.11/po/zh_CN.po [ 3%] Generating po/da.mo Dependee "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/friendsd.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/friendsd.dir/depend.internal". Dependee "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/friendsd.dir/depend.internal". cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/da.mo /builddir/build/BUILD/gpsdrive-2.11/po/da.po [ 5%] Generating po/de.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/de.mo /builddir/build/BUILD/gpsdrive-2.11/po/de.po [ 6%] Generating po/el.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/el.mo /builddir/build/BUILD/gpsdrive-2.11/po/el.po [ 8%] Generating po/es.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/es.mo /builddir/build/BUILD/gpsdrive-2.11/po/es.po [ 10%] Generating po/de_AT.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/de_AT.mo /builddir/build/BUILD/gpsdrive-2.11/po/de_AT.po [ 11%] Generating po/et.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/et.mo /builddir/build/BUILD/gpsdrive-2.11/po/et.po [ 13%] Generating po/fr.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/fr.mo /builddir/build/BUILD/gpsdrive-2.11/po/fr.po [ 15%] Generating po/gl.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/gl.mo /builddir/build/BUILD/gpsdrive-2.11/po/gl.po [ 16%] Generating po/hu.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/hu.mo /builddir/build/BUILD/gpsdrive-2.11/po/hu.po [ 18%] Generating po/id.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/id.mo /builddir/build/BUILD/gpsdrive-2.11/po/id.po [ 20%] Generating po/it.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/it.mo /builddir/build/BUILD/gpsdrive-2.11/po/it.po [ 22%] Generating po/ja.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/ja.mo /builddir/build/BUILD/gpsdrive-2.11/po/ja.po [ 23%] Generating po/nb.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/nb.mo /builddir/build/BUILD/gpsdrive-2.11/po/nb.po Scanning dependencies of target friendsd make[2]: Leaving directory '/builddir/build/BUILD/gpsdrive-2.11/build' make -f src/CMakeFiles/friendsd.dir/build.make src/CMakeFiles/friendsd.dir/build [ 25%] Generating po/nl.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/nl.mo /builddir/build/BUILD/gpsdrive-2.11/po/nl.po make[2]: Entering directory '/builddir/build/BUILD/gpsdrive-2.11/build' [ 27%] Generating po/pa.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/pa.mo /builddir/build/BUILD/gpsdrive-2.11/po/pa.po [ 28%] Generating po/ro.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/ro.mo /builddir/build/BUILD/gpsdrive-2.11/po/ro.po [ 30%] Generating po/ru.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/ru.mo /builddir/build/BUILD/gpsdrive-2.11/po/ru.po [ 32%] Building C object src/CMakeFiles/friendsd.dir/friendsd.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/friendsd.dir/friendsd.o -c /builddir/build/BUILD/gpsdrive-2.11/src/friendsd.c [ 33%] Generating po/sk.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/sk.mo /builddir/build/BUILD/gpsdrive-2.11/po/sk.po [ 35%] Generating po/sv.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/sv.mo /builddir/build/BUILD/gpsdrive-2.11/po/sv.po [ 37%] Generating po/tr.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/tr.mo /builddir/build/BUILD/gpsdrive-2.11/po/tr.po [ 38%] Generating po/vi.mo cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/msgfmt -o /builddir/build/BUILD/gpsdrive-2.11/build/src/po/vi.mo /builddir/build/BUILD/gpsdrive-2.11/po/vi.po cd /builddir/build/BUILD/gpsdrive-2.11/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gpsdrive-2.11 /builddir/build/BUILD/gpsdrive-2.11/src /builddir/build/BUILD/gpsdrive-2.11/build /builddir/build/BUILD/gpsdrive-2.11/build/src /builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/gpsdrive.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/gpsdrive.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/gpsdrive.dir/depend.internal". Dependee "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gpsdrive-2.11/build/src/CMakeFiles/gpsdrive.dir/depend.internal". BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/friendsd.c: In function 'friends_init': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/friendsd.c:486:13: warning: variable 'tii' set but not used [-Wunused-but-set-variable] BUILDSTDERR: time_t ti, tii; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/friendsd.c:492:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (f, &r, 4); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /builddir/build/BUILD/gpsdrive-2.11/src/friendsd.c:159: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dg_echo' at /builddir/build/BUILD/gpsdrive-2.11/src/friendsd.c:229:8: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' writing 8191 bytes into a region of size 1024 overflows the destination [-Wstringop-overflow=] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dg_echo' at /builddir/build/BUILD/gpsdrive-2.11/src/friendsd.c:245:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' writing 8191 bytes into a region of size 1024 overflows the destination [-Wstringop-overflow=] BUILDSTDERR: return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Scanning dependencies of target gpsdrive make[2]: Leaving directory '/builddir/build/BUILD/gpsdrive-2.11/build' make -f src/CMakeFiles/gpsdrive.dir/build.make src/CMakeFiles/gpsdrive.dir/build [ 40%] Linking C executable friendsd cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/friendsd.dir/link.txt --verbose=1 make[2]: Entering directory '/builddir/build/BUILD/gpsdrive-2.11/build' /usr/bin/cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/friendsd.dir/friendsd.o -o friendsd -lcrypt -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lpango-1.0 -lglib-2.0 [ 42%] Building C object src/CMakeFiles/gpsdrive.dir/battery.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/battery.o -c /builddir/build/BUILD/gpsdrive-2.11/src/battery.c [ 44%] Building C object src/CMakeFiles/gpsdrive.dir/database_sqlite.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/database_sqlite.o -c /builddir/build/BUILD/gpsdrive-2.11/src/database_sqlite.c [ 45%] Building C object src/CMakeFiles/gpsdrive.dir/database.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/database.o -c /builddir/build/BUILD/gpsdrive-2.11/src/database.c make[2]: Leaving directory '/builddir/build/BUILD/gpsdrive-2.11/build' [ 45%] Built target friendsd [ 47%] Building C object src/CMakeFiles/gpsdrive.dir/draw_grid.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/draw_grid.o -c /builddir/build/BUILD/gpsdrive-2.11/src/draw_grid.c BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/battery.c: In function 'battery_get_values_linux_acpi': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/battery.c:196:8: warning: variable 'e' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gint e, e1; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/database_sqlite.c: In function 'db_sqlite_query': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/database_sqlite.c:69:8: warning: 't_last' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: glong t_last; BUILDSTDERR: ^~~~~~ [ 49%] Building C object src/CMakeFiles/gpsdrive.dir/friends.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/friends.o -c /builddir/build/BUILD/gpsdrive-2.11/src/friends.c [ 50%] Building C object src/CMakeFiles/gpsdrive.dir/geometry.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/geometry.o -c /builddir/build/BUILD/gpsdrive-2.11/src/geometry.c [ 52%] Building C object src/CMakeFiles/gpsdrive.dir/gpsdrive.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/gpsdrive.o -c /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.c [ 54%] Building C object src/CMakeFiles/gpsdrive.dir/gpsdrive_config.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/gpsdrive_config.o -c /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive_config.c BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/friends.c: In function 'friends_init': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/friends.c:523:14: warning: variable 'tii' set but not used [-Wunused-but-set-variable] BUILDSTDERR: time_t ti, tii; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/friends.c:531:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (f, &r, 4); BUILDSTDERR: ^~~~~~~~~~~~~~~ [ 55%] Building C object src/CMakeFiles/gpsdrive.dir/gps_handler.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/gps_handler.o -c /builddir/build/BUILD/gpsdrive-2.11/src/gps_handler.c BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.c: In function 'main': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.c:2529:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: if (!(g_strcasecmp ((wayp + i)->name, setpositionname))) BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib.h:82, BUILDSTDERR: from /usr/include/glib-2.0/glib/gprintf.h:21, BUILDSTDERR: from /usr/include/glib-2.0/glib/gstdio.h:22, BUILDSTDERR: from /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.c:79: BUILDSTDERR: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here BUILDSTDERR: gint g_strcasecmp (const gchar *s1, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.c:2702:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (local_config.savetrack) BUILDSTDERR: ^~ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.c:2706:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: g_snprintf (t_buf, sizeof (t_buf),"%stracksaved.gpx",local_config.dir_home); BUILDSTDERR: ^~~~~~~~~~ [ 57%] Building C object src/CMakeFiles/gpsdrive.dir/gpsmisc.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/gpsmisc.o -c /builddir/build/BUILD/gpsdrive-2.11/src/gpsmisc.c [ 59%] Building C object src/CMakeFiles/gpsdrive.dir/gpsnasamap.o cd /builddir/build/BUILD/gpsdrive-2.11/build/src && /usr/bin/cc -DDEBUG -DPOSTGIS -DSPEECH -DWITH_KISMET -I/builddir/build/BUILD/gpsdrive-2.11/build/src -I/builddir/build/BUILD/gpsdrive-2.11/src -I/builddir/build/BUILD/gpsdrive-2.11/build -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/speech-dispatcher -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o CMakeFiles/gpsdrive.dir/gpsnasamap.o -c /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gps_handler.c: In function 'gps_poll': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gps_handler.c:275:15: error: too many arguments to function 'gps_read' BUILDSTDERR: int status = gps_read(gpsdata, NULL, 0); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/gpsdrive-2.11/src/gps_handler.c:30: BUILDSTDERR: /usr/include/gps.h:2078:12: note: declared here BUILDSTDERR: extern int gps_read(struct gps_data_t *); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: make[2]: *** [src/CMakeFiles/gpsdrive.dir/build.make:255: src/CMakeFiles/gpsdrive.dir/gps_handler.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsmisc.c: In function 'check_if_night_cb': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsmisc.c:610:42: warning: variable 'lon' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gdouble MA, C, RR, ET, L, Dec, Ho, lat, lon, now, sunrise, sunset; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsmisc.c:609:13: warning: variable 'D' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gint Rank, D; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c: In function 'create_nasa_mapfile': BUILDSTDERR: /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c:352:3: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] BUILDSTDERR: g_strlcpy (mybuffer, g_basename (outfilename), BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib.h:48, BUILDSTDERR: from /usr/include/glib-2.0/gmodule.h:28, BUILDSTDERR: from /builddir/build/BUILD/gpsdrive-2.11/src/gpsdrive.h:28, BUILDSTDERR: from /builddir/build/BUILD/gpsdrive-2.11/src/gpsnasamap.c:107: BUILDSTDERR: /usr/include/glib-2.0/glib/gfileutils.h:163:14: note: declared here BUILDSTDERR: const gchar *g_basename (const gchar *file_name); BUILDSTDERR: ^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/gpsdrive-2.11/build' make[1]: Leaving directory '/builddir/build/BUILD/gpsdrive-2.11/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:132: src/CMakeFiles/gpsdrive.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:152: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.cO82vc (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.cO82vc (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gpsdrive.spec