+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/jigdo.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Mon Jan 26 2002 Alexander Skwar 0.6.2-4mdk warning: bogus date in %changelog: Sun Jan 25 2002 Alexander Skwar 0.6.2-3mdk warning: bogus date in %changelog: Sat Jan 24 2002 Alexander Skwar 0.6.2-2mdk warning: bogus date in %changelog: Sat Jan 24 2002 Alexander Skwar 0.6.2-1mdk Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2JKmvB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jigdo-0.7.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/jigdo-0.7.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jigdo-0.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (jigdo-0.7.1-debug.patch):' Patch #1 (jigdo-0.7.1-debug.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debug --fuzz=0 patching file configure + echo 'Patch #2 (jigdo-0.7.3-gcc43.patch):' Patch #2 (jigdo-0.7.3-gcc43.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc43 --fuzz=0 patching file src/compat.hh patching file src/gtk/gtk-single-url.cc patching file src/gtk/jigdo.cc patching file src/recursedir.cc patching file src/util/configfile.cc patching file src/util/md5sum.hh patching file src/util/string-utf.cc + echo 'Patch #3 (jigdo-0.7.3-gcc7.patch):' Patch #3 (jigdo-0.7.3-gcc7.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/mkimage.cc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KK8FjM + umask 022 + cd /builddir/build/BUILD + cd jigdo-0.7.3 + export 'LDFLAGS= -lpthread' + LDFLAGS=' -lpthread' + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -lpthread' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-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 --with-libdb=-ldb checking for gawk... gawk checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-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 for GCC version... 7 checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C++ preprocessor... g++ -E checking for egrep... 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 for size_t... yes checking whether byte ordering is bigendian... no checking whether we are compiling for Windows... no checking whether the C++ compiler is recent enough... yes checking whether the C++ preprocessor supports variable-arg macros... yes checking for wget... no * wget was not found on your system. Please install * it, it is needed by jigdo-lite. checking for value of --enable-debug... "no" checking for value of --with-pkg-config-prefix... not set checking for ANSI C header files... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for string.h... (cached) yes checking for zlibVersion in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for BZ2_bzCompressInit in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for value of --with-libdb... "-ldb" checking for value of --with-gui... "auto" checking for pkg-config... yes checking for GTK+ 2.4.0 or later... 2.24.32 checking for value of --with-libcurl... "auto" checking for libcurl 7.11.0 or later... 7.58.0 checking for value of --with-uint64... "auto" checking for unsigned long long... yes checking for unsigned long... yes checking size of unsigned long... 8 checking for unsigned long long... yes checking size of unsigned long long... 8 checking for 64 bit unsigned integer type... unsigned long checking for operator<<(uint64)... yes checking for string::compare(size_t,size_t,string,size_t,size_t)... yes checking for string::compare(size_t,size_t,const char*,size_t)... yes checking for lstat... yes checking for truncate... yes checking for ftruncate... yes checking for mmap... yes checking for memcpy... yes checking for fileno... yes checking for snprintf... yes checking for _snprintf... no checking for setenv... yes checking for TIOCGWINSZ ioctl... yes checking for getopt_long in ... yes checking for uname in ... yes checking for _stati64... no checking for value of --enable-nls... "yes" checking for dgettext in and libc... yes checking for catalogs to be installed... de configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating po/Makefile config.status: creating src/config.h + make -j4 test -h gfx -o -d gfx || ln -s "./gfx" gfx cd src && make all make[1]: Entering directory '/builddir/build/BUILD/jigdo-0.7.3/src' export cpp='-I. -I. -I./glibcurl -I./gtk -I./job -I./net -I./util -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="/usr/share/jigdo/" -DPACKAGE_LOCALE_DIR="/usr/share/locale" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread ' export cxx="$cpp -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 -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual " export c="$cpp -Wall -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 -W " g++ $cxx -c compat.cc -o compat.o g++ $cxx -c cachefile.cc -o cachefile.o g++ $cxx -c jigdo-file-cmd.cc -o jigdo-file-cmd.o g++ $cxx -c jigdo-file.cc -o jigdo-file.o g++ $cxx -c jigdoconfig.cc -o jigdoconfig.o cachefile.cc: In member function 'Status CacheFile::find(const byte*&, size_t&, const string&, uint64, time_t)': cachefile.cc:94:27: warning: conversion to 'u_int32_t {aka unsigned int}' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] key.size = fileName.size(); ~~~~~~~~~~~~~^~ cachefile.cc: In member function 'Status CacheFile::findName(const byte*&, size_t&, const string&, off_t&, time_t&)': cachefile.cc:138:27: warning: conversion to 'u_int32_t {aka unsigned int}' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] key.size = fileName.size(); ~~~~~~~~~~~~~^~ cachefile.cc: In member function 'byte* CacheFile::insert_prepare(size_t)': cachefile.cc:209:25: warning: conversion to 'u_int32_t {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] data.size = USER_DATA + inSize; ~~~~~~~~~~^~~~~~~~ cachefile.cc: In member function 'void CacheFile::insert_perform(const string&, time_t, uint64)': cachefile.cc:229:27: warning: conversion to 'u_int32_t {aka unsigned int}' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] key.size = fileName.size(); ~~~~~~~~~~~~~^~ In file included from cachefile.cc:28:0: ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = long int; Iterator = unsigned char*]': cachefile.cc:117:29: required from here ./serialize.hh:156:10: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] *i = x & 0xff; ++i; ~~^~~~~~ ./serialize.hh:157:17: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] *i = (x >> 8) & 0xff; ++i; ~~~~~~~~~^~~~~~ ./serialize.hh:158:18: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] *i = (x >> 16) & 0xff; ++i; ~~~~~~~~~~^~~~~~ ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ In file included from ./scan.hh:31:0, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from ./scan.hh:31:0, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ g++ $cxx -c mkimage.cc -o mkimage.o In file included from ./jigdo-file-cmd.hh:28:0, from jigdo-file.cc:32: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from ./jigdo-file-cmd.hh:28:0, from jigdo-file-cmd.cc:25: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from jigdo-file.cc:37:0: ./recursedir.hh:79:7: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc); ^~~~~ ./recursedir.hh:105:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError); ^~~~~ In file included from jigdo-file-cmd.cc:27:0: ./recursedir.hh:79:7: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc); ^~~~~ ./recursedir.hh:105:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError); ^~~~~ jigdo-file.cc: In static member function 'static void {anonymous}::MyProgressReporter::print(std::__cxx11::string, bool)': jigdo-file.cc:224:22: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int i = s.size() - 1; ~~~~~~~~~^~~ jigdo-file.cc: In static member function 'static JigdoFileCmd::Command JigdoFileCmd::cmdOptions(int, char**)': jigdo-file.cc:557:35: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] case 'h': case 'H': optHelp = c; break; ^ jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file.cc:672:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jigdo-file-cmd.cc:56:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] istream* openForInput(istream*& dest, const string& name) throw(Cleanup) { ^~~~~ jigdo-file-cmd.cc:106:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] ostream* openForOutput(ostream*& dest, const string& name) throw(Cleanup) { ^~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::makeTemplate()': jigdo-file-cmd.cc:221:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr imageDel(openForInput(image, imageFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:223:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr cfDel(new ConfigFile()); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:227:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr jigdoMergeDel(openForInput(jigdoMerge, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:240:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForOutput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:253:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:269:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr jigdoDel(openForOutput(jigdoF, jigdoFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::makeImage()': jigdo-file-cmd.cc:306:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::listTemplate()': jigdo-file-cmd.cc:335:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::verifyImage()': jigdo-file-cmd.cc:370:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr imageDel(openForInput(image, imageFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:376:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::printMissing(JigdoFileCmd::Command)': jigdo-file-cmd.cc:450:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr templDel(openForInput(templ, templFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:465:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr jigdoDel(openForInput(jigdo, jigdoFile)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file-cmd.cc:466:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr cfDel(new ConfigFile()); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from jigdo-file-cmd.cc:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ jigdo-file.cc: In function 'size_t {anonymous}::scanMemSize(const char*)': jigdo-file.cc:420:7: warning: this statement may fall through [-Wimplicit-fallthrough=] x = x * 1024; ~~^~~~~~~~~~ jigdo-file.cc:421:3: note: here case 'm': case 'M': ^~~~ jigdo-file.cc:422:7: warning: this statement may fall through [-Wimplicit-fallthrough=] x = x * 1024; ~~^~~~~~~~~~ jigdo-file.cc:423:3: note: here case 'k': case 'K': ^~~~ jigdo-file.cc:425:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*++s == '\0') return x; ^~ jigdo-file.cc:426:3: note: here default: ^~~~~~~ In file included from ./scan.hh:31:0, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from mkimage.cc:30:0: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from mkimage.cc:34:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ mkimage.cc: At global scope: mkimage.cc:76:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void JigdoDesc::seekFromEnd(bistream& file) throw(JigdoDescError) { ^~~~~ mkimage.cc:114:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ mkimage.cc: In member function 'bistream& JigdoDescVec::get(bistream&)': mkimage.cc:118:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr desc; ^~~~~~~~ In file included from /usr/include/c++/7/bits/locale_conv.h:41:0, from /usr/include/c++/7/locale:43, from /usr/include/c++/7/iomanip:43, from mkimage.cc:23: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mkimage.cc: In member function 'bostream& JigdoDescVec::put(bostream&, MD5Sum*) const': mkimage.cc:246:36: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] unsigned s = (*i)->serialSizeOf(); ~~~~~~~~~~~~~~~~~~^~ mkimage.cc: In function 'int {anonymous}::writeAll(const {anonymous}::Task&, JigdoDescVec&, std::queue&, bistream*, size_t, bostream*, const char*, bool, {anonymous}::ProgressReporter&, JigdoCache*, uint64)': mkimage.cc:454:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr data(new Zibstream(*templ, readAmount + 8*1024)); ^~~~~~~~ In file included from /usr/include/c++/7/bits/locale_conv.h:41:0, from /usr/include/c++/7/locale:43, from /usr/include/c++/7/iomanip:43, from mkimage.cc:23: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mkimage.cc:454:63: warning: conversion to 'unsigned int' from 'long unsigned int' may alter its value [-Wconversion] auto_ptr data(new Zibstream(*templ, readAmount + 8*1024)); ~~~~~~~~~~~^~~~~~~~ mkimage.cc:488:53: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] data->read(buf, (toWrite < readAmount ? toWrite : readAmount)); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkimage.cc:488:53: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] mkimage.cc: In static member function 'static int JigdoDesc::makeImage(JigdoCache*, const string&, const string&, const string&, bistream*, bool, JigdoDesc::ProgressReporter&, size_t, bool)': mkimage.cc:748:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr imgDel(img); ^~~~~~~~ In file included from /usr/include/c++/7/bits/locale_conv.h:41:0, from /usr/include/c++/7/locale:43, from /usr/include/c++/7/iomanip:43, from mkimage.cc:23: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./util/rsyncsum.hh:31:0, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = int; Iterator = unsigned char*]': mkimage.cc:256:33: required from here ./serialize.hh:156:10: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = x & 0xff; ++i; ~~^~~~~~ ./serialize.hh:157:17: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = (x >> 8) & 0xff; ++i; ~~~~~~~~~^~~~~~ ./serialize.hh:158:18: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = (x >> 16) & 0xff; ++i; ~~~~~~~~~~^~~~~~ ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ ./serialize.hh: In instantiation of 'Iterator serialize1(NumType, Iterator) [with NumType = JigdoDesc::Type; Iterator = unsigned char*]': ./mkimage.hh:310:17: required from 'Iterator JigdoDesc::ImageInfo::serialize(Iterator) const [with Iterator = unsigned char*]' mkimage.cc:268:30: required from here ./serialize.hh:132:10: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *i = x & 0xff; ++i; ~~^~~~~~ ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = unsigned int; Iterator = unsigned char*]': ./util/rsyncsum.hh:196:17: required from 'Iterator RsyncSum64::serialize(Iterator) const [with Iterator = unsigned char*]' ./serialize.hh:48:23: required from 'Iterator serialize(const Object&, Iterator) [with Object = RsyncSum64; Iterator = unsigned char*]' ./mkimage.hh:340:18: required from 'Iterator JigdoDesc::WrittenFile::serialize(Iterator) const [with Iterator = unsigned char*]' mkimage.cc:272:33: required from here ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ g++ $cxx -c mkjigdo.cc -o mkjigdo.o g++ $cxx -c mktemplate.cc -o mktemplate.o g++ $cxx -c partialmatch.cc -o partialmatch.o In file included from ./mktemplate.hh:42:0, from mkjigdo.cc:25: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from ./scan.hh:31:0, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from mktemplate.cc:42:0: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static void seekFromEnd(bistream& file) throw(JigdoDescError); ^~~~~ ./mkimage.hh:233:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); ^~~~~ ./mkimage.hh:295:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(JigdoDescError, bad_alloc) { ^~~~~ In file included from mktemplate.cc:46:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ mktemplate.cc: In function 'void {anonymous}::writeBuf(const byte*, size_t, size_t, size_t, Zobstream*)': mktemplate.cc:132:35: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zip->write(buf + begin, end - begin); ~~~~^~~~~~~ mktemplate.cc:134:44: warning: conversion to 'unsigned int' from 'long unsigned int' may alter its value [-Wconversion] zip->write(buf + begin, bufferLength - begin); ~~~~~~~~~~~~~^~~~~~~ mktemplate.cc:135:26: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zip->write(buf, end); ^ mktemplate.cc: In member function 'bool MkTemplate::rereadUnmatched(FilePart*, uint64)': mktemplate.cc:310:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr inputFile(new bifstream(inputName.c_str(),ios::binary)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from mktemplate.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mktemplate.cc:316:31: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] zip->write(tmpBuf.get(), n); // will catch Zerror "upstream" ^ mktemplate.cc: In member function 'void MkTemplate::scanImage_mainLoop_fastForward(uint64, RsyncSum64*, byte*, size_t*, size_t*, size_t*, size_t, size_t, uint32, size_t)': mktemplate.cc:655:35: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] unsigned len = nextAlignedOff - off; ~~~~~~~~~~~~~~~^~~~~ mktemplate.cc:656:48: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] if (len > nextEvent - off) len = nextEvent - off; ~~~~~~~~~~^~~~~ mktemplate.cc: In member function 'bool MkTemplate::scanImage(byte*, size_t, size_t, uint32, size_t, MD5Sum&)': mktemplate.cc:739:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr zipDel; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from mktemplate.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ mktemplate.cc: In member function 'bool MkTemplate::run(const string&, const string&)': mktemplate.cc:962:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int blockBits = bitWidth(fileCount) + 1; ^~~~~~~~~ In file included from ./mktemplate.hh:42:0, from partialmatch.cc:15: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ mktemplate.cc: At global scope: mktemplate.cc:141:8: warning: 'void {anonymous}::write48(bostream&, uint64)' defined but not used [-Wunused-function] void write48(bostream& s, uint64 x) { ^~~~~~~ g++ $cxx -c recursedir.cc -o recursedir.o g++ $cxx -c scan.cc -o scan.o recursedir.cc:235:5: warning: #warning TODO hackish [-Wcpp] # warning TODO hackish ^~~~~~~ g++ $cxx -c util/bstream.cc -o util/bstream.o In file included from recursedir.cc:32:0: ./recursedir.hh:79:7: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc); ^~~~~ ./recursedir.hh:105:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError); ^~~~~ recursedir.cc:68:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool RecurseDir::getNextObjectName(string& result) throw(RecurseError) { ^~~~~ recursedir.cc:140:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw(RecurseError, bad_alloc) { ^~~~~ In file included from ./scan.hh:31:0, from scan.cc:30: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from ./scan.hh:31, from scan.cc:30: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ In file included from ./util/rsyncsum.hh:31:0, from ./scan.hh:31, from scan.cc:30: ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = unsigned int; Iterator = unsigned char*]': ./util/rsyncsum.hh:196:17: required from 'Iterator RsyncSum64::serialize(Iterator) const [with Iterator = unsigned char*]' ./serialize.hh:48:23: required from 'Iterator serialize(const Object&, Iterator) [with Object = RsyncSum64; Iterator = unsigned char*]' scan.cc:142:41: required from here ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ g++ $cxx -c util/configfile.cc -o util/configfile.o gcc $c -c util/glibc-getopt.c -o util/glibc-getopt.o gcc $c -c util/glibc-getopt1.c -o util/glibc-getopt1.o g++ $cxx -c util/glibc-md5.cc -o util/glibc-md5.o g++ $cxx -c util/log.cc -o util/log.o g++ $cxx -c util/md5sum.cc -o util/md5sum.o util/glibc-md5.cc: In static member function 'static void MD5Sum::md5_process_bytes(const void*, size_t, MD5Sum::md5_ctx*)': util/glibc-md5.cc:221:19: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] ctx->buflen += add; ~~~~~~~~~~~~^~~~~~ util/glibc-md5.cc:277:22: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] ctx->buflen = left_over; ^~~~~~~~~ util/glibc-md5.cc: In static member function 'static void MD5Sum::md5_process_block(const void*, size_t, MD5Sum::md5_ctx*)': util/glibc-md5.cc:308:17: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] ctx->total[0] += len; ~~~~~~~~~~~~~~^~~~~~ g++ $cxx -c util/rsyncsum.cc -o util/rsyncsum.o g++ $cxx -c util/string.cc -o util/string.o util/log.cc: In constructor 'Logger::Logger(const char*, bool)': util/log.cc:30:48: warning: conversion to 'unsigned char' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] : unitNameVal(unitName), unitNameLen(strlen(unitName)), ~~~~~~^~~~~~~~~~ util/log.cc: In static member function 'static void Logger::scanOptions(const string&, const char*)': util/log.cc:77:26: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned len = s.length(); ~~~~~~~~^~ g++ $cxx -c zstream.cc -o zstream.o util/string.cc: In static member function 'static std::__cxx11::string Subst::subst(const char*, int, const Subst*)': util/string.cc:85:18: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] char max = '1' + args; ~~~~^~~~~~ g++ $cxx -c zstream-bz.cc -o zstream-bz.o In file included from util/rsyncsum.cc:15:0: ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::addBackNtimes(byte, size_t)': ./util/rsyncsum.hh:148:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b += n * a + (n * (n + 1) / 2) * (x + CHAR_OFFSET); // Gauß ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh:149:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] a += n * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~ ./util/rsyncsum.hh: In member function 'RsyncSum& RsyncSum::removeFront(byte, size_t)': ./util/rsyncsum.hh:157:5: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= areaSize * (x + CHAR_OFFSET); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./util/rsyncsum.hh:209:0, from util/rsyncsum.cc:15: ./util/rsyncsum.ih: In member function 'RsyncSum64& RsyncSum64::addBackNtimes(byte, size_t)': ./util/rsyncsum.ih:50:25: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = (n / 2) * (n + 1); ~~~~~~~~^~~~~~~~~ ./util/rsyncsum.ih:52:31: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] gaussProd = ((n + 1) / 2) * n; ~~~~~~~~~~~~~~^~~ util/rsyncsum.cc: In member function 'RsyncSum& RsyncSum::removeFront(const byte*, size_t, size_t)': util/rsyncsum.cc:67:59: warning: conversion to 'uint32 {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] b -= (front.get() >> 16) + (areaSize - len) * front.get(); ^ g++ $cxx -c zstream-gz.cc -o zstream-gz.o g++ $cxx -c util/debug.cc -o util/debug.o In file included from zstream.cc:29:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ zstream.cc: In member function 'Zibstream& Zibstream::read(byte*, unsigned int)': zstream.cc:266:42: warning: conversion to 'unsigned int' from 'long unsigned int' may alter its value [-Wconversion] unsigned toRead = (dataLen < bufSize ? dataLen : bufSize); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ zstream.cc:273:34: warning: conversion to 'unsigned int' from 'std::streamsize {aka long int}' may alter its value [-Wconversion] unsigned n = stream->gcount(); ~~~~~~~~~~~~~~^~ In file included from zstream.cc:26:0: ./serialize.hh: In instantiation of 'Iterator serialize4(NumType, Iterator) [with NumType = unsigned int; Iterator = unsigned char*]': zstream.cc:78:23: required from here ./serialize.hh:159:18: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] *i = (x >> 24) & 0xff; ++i; ~~~~~~~~~~^~~~~~ gcc $c -c glibcurl/glibcurl.c -o glibcurl/glibcurl.o g++ $cxx -c gtk/gtk-makeimage.cc -o gtk/gtk-makeimage.o In file included from zstream-gz.cc:26:0: ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalOut() const': ./zstream-gz.hh:55:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZobstreamGz::totalIn() const': ./zstream-gz.hh:56:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalOut() const': ./zstream-gz.hh:90:48: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalOut() const { return z.total_out; } ~~^~~~~~~~~ ./zstream-gz.hh: In member function 'virtual unsigned int ZibstreamGz::totalIn() const': ./zstream-gz.hh:91:47: warning: conversion to 'unsigned int' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] virtual unsigned totalIn() const { return z.total_in; } ~~^~~~~~~~ g++ $cxx -c gtk/gtk-single-url.cc -o gtk/gtk-single-url.o zstream-gz.cc: In function 'void {anonymous}::throwZerrorGz(int, const char*)': zstream-gz.cc:51:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_STREAM_ERROR"; ^~ zstream-gz.cc:52:5: note: here case Z_DATA_ERROR: ^~~~ zstream-gz.cc:53:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_DATA_ERROR"; ^~ zstream-gz.cc:54:5: note: here case Z_BUF_ERROR: ^~~~ zstream-gz.cc:55:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_BUF_ERROR"; ^~ zstream-gz.cc:56:5: note: here case Z_VERSION_ERROR: ^~~~ zstream-gz.cc:57:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (m.empty()) m = "zlib Z_VERSION_ERROR"; ^~ zstream-gz.cc:58:5: note: here default: ^~~~~~~ g++ $cxx -c gtk/gui.cc -o gtk/gui.o g++ $cxx -c gtk/interface.cc -o gtk/interface.o gtk/interface.cc: In member function 'GtkWidget* GUI::Window::create()': gtk/interface.cc:629:71: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (jigdo_ShortInfo), 7.45058e-09, 0.5); ^ gtk/interface.cc:685:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label229), 7.45058e-09, 0.5); ^ gtk/interface.cc:783:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label239), 7.45058e-09, 0.5); ^ gtk/interface.cc: In member function 'GtkWidget* GUI::Settings::create()': gtk/interface.cc:1602:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label121), 7.45058e-09, 0.5); ^ gtk/interface.cc:1611:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label122), 7.45058e-09, 0.5); ^ gtk/interface.cc:1619:64: warning: conversion to 'gfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] gtk_misc_set_alignment (GTK_MISC (label123), 7.45058e-09, 0.5); ^ gtk/gtk-single-url.cc: In member function 'void GtkSingleUrl::updateWindow()': gtk/gtk-single-url.cc:307:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ||state == ERROR && singleUrl->resumePossible())) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk/gtk-single-url.cc: In member function 'void GtkSingleUrl::resumeAsk(stat*)': gtk/gtk-single-url.cc:326:22: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int days = fileAge / (60*24); ~~~~~~~~^~~~~~~~~ gtk/gtk-single-url.cc:327:28: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int hours = fileAge / 60 - days * 24; ~~~~~~~~~~~~~^~~~~~~~~~~ gtk/gtk-single-url.cc:328:42: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int minutes = fileAge - (days * 60*24) - (hours * 60); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./util/bstream.hh:34:0, from ./util/bstream-counted.hh:24, from ./gtk/gtk-single-url.hh:25, from gtk/gtk-single-url.cc:21: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': gtk/gtk-single-url.cc:133:34: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ In file included from ./job/makeimagedl.hh:39:0, from ./gtk/gtk-makeimage.hh:27, from gtk/gtk-makeimage.cc:16: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gtk-makeimage.cc:16: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./gtk/gtk-makeimage.hh:27:0, from gtk/gtk-makeimage.cc:16: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gtk-makeimage.cc:16: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ gtk/gtk-makeimage.cc: In constructor 'GtkMakeImage::GtkMakeImage(const string&, const string&)': gtk/gtk-makeimage.cc:30:36: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned destLen = destDir.length(); ~~~~~~~~~~~~~~^~ gtk/gtk-makeimage.cc: In member function 'virtual bool GtkMakeImage::run()': gtk/gtk-makeimage.cc:61:44: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned lastSlash = mid.jigdoUri().rfind('/'); ~~~~~~~~~~~~~~~~~~~~^~~~~ gtk/gtk-makeimage.cc:63:17: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (lastSlash != string::npos) ~~~~~~~~~~^~~~~~~~~ In file included from ./gtk/joblist.hh:28:0, from ./gtk/jobline.hh:23, from ./gtk/gtk-makeimage.hh:26, from gtk/gtk-makeimage.cc:16: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::MakeImageDl::IO]': gtk/gtk-makeimage.cc:28:27: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ g++ $cxx -c gtk/jigdo.cc -o gtk/jigdo.o g++ $cxx -c gtk/jobline.cc -o gtk/jobline.o In file included from ./job/makeimagedl.hh:39:0, from ./gtk/gtk-makeimage.hh:27, from gtk/gui.cc:25: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gui.cc:25: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./gtk/gtk-makeimage.hh:27:0, from gtk/gui.cc:25: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/gui.cc:25: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ gtk/gui.cc: In function 'void {anonymous}::setLicenseText(GtkTextBuffer*)': gtk/gui.cc:244:62: warning: conversion to 'gint {aka int}' from 'std::streamsize {aka long int}' may alter its value [-Wconversion] gtk_text_buffer_insert(textBuf, &iter, buf, file.gcount()); ~~~~~~~~~~~^~ In file included from ./util/bstream.hh:34:0, from ./util/bstream-counted.hh:24, from ./gtk/gtk-single-url.hh:25, from gtk/gui.cc:24: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ g++ $cxx -c gtk/joblist.cc -o gtk/joblist.o g++ $cxx -c gtk/messagebox.cc -o gtk/messagebox.o gtk/jigdo.cc: In function 'int main(int, char**)': gtk/jigdo.cc:193:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("http_proxy="); ^ gtk/jigdo.cc:194:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("https_proxy="); ^ gtk/jigdo.cc:195:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("ftp_proxy="); ^ gtk/jigdo.cc:196:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("gopher_proxy="); ^ gtk/jigdo.cc:197:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("no_proxy="); ^ gtk/jigdo.cc:198:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("all_proxy="); ^ g++ $cxx -c gtk/support.cc -o gtk/support.o In file included from ./job/makeimagedl.hh:39:0, from ./gtk/gtk-makeimage.hh:27, from gtk/jobline.cc:19: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/jobline.cc:19: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./gtk/gtk-makeimage.hh:27:0, from gtk/jobline.cc:19: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from ./gtk/gtk-makeimage.hh:27, from gtk/jobline.cc:19: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ gtk/jobline.cc: In function 'bool {anonymous}::compareEnd(const string&, const char*)': gtk/jobline.cc:34:42: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] static const unsigned extLen = strlen(ext); ~~~~~~^~~~~ gtk/jobline.cc:36:31: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned pos = uri.size() - extLen; ~~~~~~~~~~~^~~~~~~~ gtk/jobline.cc: In static member function 'static void JobLine::create(const char*, const char*)': gtk/jobline.cc:59:40: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned destLen = destination.length(); ~~~~~~~~~~~~~~~~~~^~ gtk/jobline.cc:78:42: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned lastDirSep = destination.rfind(DIRSEP); ~~~~~~~~~~~~~~~~~^~~~~~~~ gtk/jobline.cc:99:41: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned lastDirSep = uriStr.rfind('/'); ~~~~~~~~~~~~^~~~~ gtk/joblist.cc: In static member function 'static void JobList::pixbufForJobLine(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer)': gtk/joblist.cc:184:41: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] subNr = cur * (PROGRESS_SUBDIV - 1) / total; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from ./gtk/joblist.hh:28:0, from ./gtk/jobline.hh:23, from ./gtk/gtk-makeimage.hh:26, from gtk/jobline.cc:19: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ g++ $cxx -c gtk/treeiter.cc -o gtk/treeiter.o g++ $cxx -c job/cached-url.cc -o job/cached-url.o g++ $cxx -c job/datasource.cc -o job/datasource.o g++ $cxx -c job/jigdo-io.cc -o job/jigdo-io.o g++ $cxx -c job/makeimage.cc -o job/makeimage.o g++ $cxx -c job/makeimagedl-info.cc -o job/makeimagedl-info.o job/cached-url.cc: In static member function 'static gboolean Job::CachedUrl::spoolDataCallback(gpointer)': job/cached-url.cc:144:48: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] unsigned toRead = uint64(readSpeed) * left / 1000000; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ job/cached-url.cc:147:33: warning: conversion to 'unsigned int' from 'std::streamsize {aka long int}' may alter its value [-Wconversion] unsigned n = x->file->gcount(); ~~~~~~~~~~~~~~~^~ job/cached-url.cc:173:38: warning: conversion to 'unsigned int' from 'glong {aka long int}' may alter its value [-Wconversion] unsigned now = (nowTime.tv_sec - start.tv_sec) * 1000000 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + nowTime.tv_usec - start.tv_usec; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ job/cached-url.cc:181:45: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] unsigned newSpeed = uint64(n) * 1000000 / timeTaken; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ g++ $cxx -c job/makeimagedl.cc -o job/makeimagedl.o In file included from ./job/makeimagedl.hh:39:0, from ./job/jigdo-io.hh:26, from job/jigdo-io.cc:20: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/jigdo-io.cc:16: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./job/jigdo-io.hh:26:0, from job/jigdo-io.cc:20: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/jigdo-io.cc:16: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/jigdo-io.cc: In member function 'virtual void Job::JigdoIO::gunzip_data(Gunzip*, byte*, unsigned int)': job/jigdo-io.cc:202:20: warning: conversion to 'unsigned int' from 'long int' may alter its value [-Wconversion] unsigned len = p - stringStart; ~~^~~~~~~~~~~~~ job/jigdo-io.cc: In member function 'void Job::JigdoIO::jigdoLine(std::__cxx11::string*)': job/jigdo-io.cc:406:29: warning: conversion to 'unsigned int' from 'long int' may alter its value [-Wconversion] entry(&labelName, &s, x - s.begin()); ~~^~~~~~~~~~~ job/jigdo-io.cc:436:21: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int i = url.size(); ~~~~~~~~^~ job/jigdo-io.cc: In member function 'void Job::JigdoIO::include(std::__cxx11::string*)': job/jigdo-io.cc:484:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr childDl( ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/jigdo-io.cc:16: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./util/configfile.hh:73:0, from job/jigdo-io.cc:18: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ In file included from ./util/md5sum.ih:17:0, from ./util/md5sum.hh:353, from ./job/makeimagedl.hh:35, from ./job/jigdo-io.hh:26, from job/jigdo-io.cc:20: ./util/mimestream.hh: In instantiation of 'Base64In& Base64In::operator<<(const string&) [with Output = {anonymous}::ArrayOut; std::__cxx11::string = std::__cxx11::basic_string]': job/jigdo-io.cc:577:30: required from here ./util/mimestream.hh:321:32: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] return put(x.data(), x.length()); ~~~~~~~~^~ job/makeimagedl.cc:584:2: warning: #warning "todo: mi.templateFinished();" [-Wcpp] #warning "todo: mi.templateFinished();" ^~~~~~~ g++ $cxx -c job/single-url.cc -o job/single-url.o In file included from ./job/makeimagedl.hh:39:0, from job/makeimagedl-info.cc:18: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from job/makeimagedl-info.cc:18: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from job/makeimagedl-info.cc:18:0: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from ./job/makeimagedl.hh:39, from job/makeimagedl-info.cc:18: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl-info.cc: In member function 'void Job::MakeImageDl::imageInfo(std::__cxx11::string*, bool, const char**) const': job/makeimagedl-info.cc:148:38: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned outputLen = output->length(); ~~~~~~~~~~~~~~^~ In file included from ./util/configfile.hh:73:0, from ./jigdoconfig.hh:27, from job/makeimagedl-info.cc:17: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ g++ $cxx -c job/url-mapping.cc -o job/url-mapping.o g++ $cxx -c net/download.cc -o net/download.o In file included from ./job/makeimagedl.hh:39:0, from ./job/jigdo-io.hh:26, from job/makeimagedl.cc:28: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/makeimagedl.cc:24: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./job/jigdo-io.hh:26:0, from job/makeimagedl.cc:28: ./job/makeimagedl.hh: In static member function 'static void Job::MakeImageDl::toggleLeafname(std::__cxx11::string*)': ./job/makeimagedl.hh:474:25: warning: conversion to 'int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] int off = s->length() - 23; ~~~~~~~~~~~~^~~~ ./job/makeimagedl.hh: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(PartUrlMapping*, const MD5*)': ./job/makeimagedl.hh:489:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > lastUrl(new vector); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/makeimagedl.cc:24: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In constructor 'Job::MakeImageDl::MakeImageDl(const string&, const string&)': job/makeimagedl.cc:65:33: warning: conversion to 'unsigned int' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its value [-Wconversion] unsigned destLen = dest.length(); ~~~~~~~~~~~^~ job/single-url.cc: In member function 'void Job::SingleUrl::setResumeOffset(uint64)': job/single-url.cc:54:18: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] resumeLeft = resumeOffset; ^~~~~~~~~~~~ job/single-url.cc: In member function 'bool Job::SingleUrl::writeToDestStream(uint64, const byte*, unsigned int)': job/single-url.cc:131:27: warning: conversion to 'unsigned int' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] realSize = destEndOff - off; ~~~~~~~~~~~^~~~~ job/single-url.cc: In member function 'virtual void Job::SingleUrl::download_data(const byte*, unsigned int, uint64)': job/single-url.cc:203:12: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] toRead -= n; ~~~~~~~^~~~ job/makeimagedl.cc: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childFor(const string&, const MD5*, std::__cxx11::string*, Job::MakeImageDl::Child*)': job/makeimagedl.cc:272:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr dl(new SingleUrl(url)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/makeimagedl.cc:24: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childForCompletedUrl(const stat&, const string&, const MD5*, Job::MakeImageDl::Child*)': job/makeimagedl.cc:297:31: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] int cacheEntryAge = time(0) - fileInfo.st_mtime; ^ job/makeimagedl.cc:305:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr dl(new CachedUrl(filename, 0)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/makeimagedl.cc:24: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'Job::MakeImageDl::Child* Job::MakeImageDl::childForCompletedContent(const stat&, const string&, const MD5*, Job::MakeImageDl::Child*)': job/makeimagedl.cc:337:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr dl(new CachedUrl(filename, 0)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/makeimagedl.cc:24: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'void Job::MakeImageDl::createJigdoDownload()': job/makeimagedl.cc:528:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr childDl(childFor(jigdoUrl)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/makeimagedl.cc:24: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ job/makeimagedl.cc: In member function 'void Job::MakeImageDl::jigdoFinished2()': job/makeimagedl.cc:568:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr childDl(childFor(templateUrls.get(), templateMd5Val)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from job/makeimagedl.cc:24: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ./util/bstream.hh:34:0, from ./job/cached-url.hh:28, from job/makeimagedl.cc:26: ./job/job.hh: In instantiation of 'void IOSource::addListener(SomeIO&) [with SomeIO = Job::DataSource::IO]': ./job/makeimagedl.hh:516:60: required from here ./job/job.hh:130:43: warning: the compiler can assume that the address of 'l' will never be NULL [-Waddress] void addListener(SomeIO& l) { Assert(&l != 0); list.push_front(l); } ./util/debug.hh:91:14: note: in definition of macro 'Assert' ((void) ((_expr) ? 0 : \ ^~~~~ g++ $cxx -c net/uri.cc -o net/uri.o In file included from job/url-mapping.cc:23:0: ./job/url-mapping.hh:168:3: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr > seen; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from ./job/url-mapping.hh:34, from job/url-mapping.cc:23: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ net/uri.cc: In function 'unsigned int findLabelColon(const string&)': net/uri.cc:89:29: warning: conversion to 'unsigned int' from '__gnu_cxx::__normal_iterator >::difference_type {aka long int}' may alter its value [-Wconversion] if (*i == ':') return i - s.begin(); ~~^~~~~~~~~~~ net/download.cc: In static member function 'static size_t Download::curlWriter(void*, size_t, size_t, void*)': net/download.cc:212:23: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] unsigned len = size * nmemb; ~~~~~^~~~~~~ net/download.cc:222:58: warning: conversion to 'double' from 'uint64 {aka long unsigned int}' may alter its value [-Wconversion] static_cast(contentLen + self->resumeOffset())); ~~~~~~~~~~~~~~~~~~^~ net/download.cc: In member function 'void Download::generateError(Download::State, int)': net/download.cc:395:19: warning: conversion to '__gnu_cxx::__alloc_traits >::value_type {aka char}' from 'int' may alter its value [-Wconversion] s[0] = toupper(s[0]); ~~~~~~~^~~~~~ net/download.cc:398:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] s = toupper(curlError[0]); ~~~~~~~^~~~~~~~~~~~~~ g++ $cxx -c net/proxyguess.cc -o net/proxyguess.o g++ $cxx -c util/gunzip.cc -o util/gunzip.o g++ $cxx -c util/progress.cc -o util/progress.o net/proxyguess.cc:57:2: warning: #warning TODO glibcurl_add_proxy [-Wcpp] #warning TODO glibcurl_add_proxy ^~~~~~~ util/gunzip.cc: In member function 'void Gunzip::inject(const byte*, unsigned int)': util/gunzip.cc:211:51: warning: conversion to 'uInt {aka unsigned int}' from 'long int' may alter its value [-Wconversion] crc = crc32(crc, oldNextOut, z.next_out - oldNextOut); ~~~~~~~~~~~^~~~~~~~~~~~ util/gunzip.cc:212:56: warning: conversion to 'unsigned int' from 'long int' may alter its value [-Wconversion] io->gunzip_data(this, oldNextOut, z.next_out - oldNextOut); ~~~~~~~~~~~^~~~~~~~~~~~ util/gunzip.cc:106:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:108:5: note: here case INIT1: ^~~~ util/gunzip.cc:118:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:120:5: note: here case HEADER_CM: ^~~~ util/gunzip.cc:131:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:133:5: note: here case HEADER_FLG: ^~~~ util/gunzip.cc:156:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:158:5: note: here case HEADER_FEXTRA1: ^~~~ util/gunzip.cc:181:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:183:5: note: here case HEADER_FCOMMENT: ^~~~ util/gunzip.cc:245:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:247:5: note: here case TRAILER_CRC1: ^~~~ util/gunzip.cc:256:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:258:5: note: here case TRAILER_CRC2: ^~~~ util/gunzip.cc:267:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (z.avail_in == 0) break; ^~ util/gunzip.cc:269:5: note: here case TRAILER_CRC3: ^~~~ util/progress.cc: In member function 'void Progress::appendProgress(std::__cxx11::string*) const': util/progress.cc:75:24: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] append(*s, 100.0 * currentSizeVal / dataSizeVal).append(_("%, ")); ^~~~~~~~~~~~~~ util/progress.cc:75:41: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] append(*s, 100.0 * currentSizeVal / dataSizeVal).append(_("%, ")); ^~~~~~~~~~~ util/progress.cc: In member function 'int Progress::speed(const GTimeVal&) const': util/progress.cc:169:32: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] double elapsed = (now.tv_sec - slotStart[calcSlot].tv_sec) * 1000000.0; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:171:28: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed += now.tv_usec - slotStart[calcSlot].tv_usec; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:173:44: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed -= slotStart[calcSlot].tv_usec - now.tv_usec; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ util/progress.cc: In member function 'int Progress::timeLeft(const GTimeVal&) const': util/progress.cc:198:32: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] double elapsed = (now.tv_sec - slotStart[oldestSlot].tv_sec) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:202:28: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed += now.tv_usec - slotStart[oldestSlot].tv_usec; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:204:46: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] elapsed -= slotStart[oldestSlot].tv_usec - now.tv_usec; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ util/progress.cc:205:34: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] double speed = (currentSizeVal - slotSizeVal[oldestSlot]) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ util/progress.cc:209:32: warning: conversion to 'double' from 'long unsigned int' may alter its value [-Wconversion] (dataSizeVal - currentSizeVal) / speed); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ net/proxyguess.cc: In constructor '{anonymous}::BrowserConfig::BrowserConfig(const string&, time_t)': net/proxyguess.cc:205:15: warning: conversion to 'int' from 'time_t {aka long int}' may alter its value [-Wconversion] age = now - timestamp; ~~~~^~~~~~~~~~~ g++ $cxx -c util/string-utf.cc -o util/string-utf.o g++ -o jigdo-file cachefile.o compat.o jigdo-file-cmd.o jigdo-file.o jigdoconfig.o mkimage.o mkjigdo.o mktemplate.o partialmatch.o recursedir.o scan.o util/bstream.o util/configfile.o util/glibc-getopt.o util/glibc-getopt1.o util/glibc-md5.o util/log.o util/md5sum.o util/rsyncsum.o util/string.o zstream.o zstream-bz.o zstream-gz.o util/debug.o -ldb -lbz2 -lz -lpthread util/string-utf.cc: In function 'gchar* {anonymous}::localeToUTF8(const char*)': util/string-utf.cc:98:19: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int len = strlen(input); ~~~~~~^~~~~~~ g++ -o jigdo compat.o glibcurl/glibcurl.o gtk/gtk-makeimage.o gtk/gtk-single-url.o gtk/gui.o gtk/interface.o gtk/jigdo.o gtk/jobline.o gtk/joblist.o gtk/messagebox.o gtk/support.o gtk/treeiter.o jigdoconfig.o job/cached-url.o job/datasource.o job/jigdo-io.o job/makeimage.o job/makeimagedl-info.o job/makeimagedl.o job/single-url.o job/url-mapping.o net/download.o net/uri.o net/proxyguess.o util/bstream.o util/configfile.o util/glibc-getopt.o util/glibc-getopt1.o util/glibc-md5.o util/gunzip.o util/log.o util/md5sum.o util/progress.o util/string-utf.o util/debug.o -ldb -lbz2 -lz -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype \ -lcurl # -lws2_32 -mwindows make[1]: Leaving directory '/builddir/build/BUILD/jigdo-0.7.3/src' cd doc && make all make[1]: Entering directory '/builddir/build/BUILD/jigdo-0.7.3/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/jigdo-0.7.3/doc' cd po && make all make[1]: Entering directory '/builddir/build/BUILD/jigdo-0.7.3/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/jigdo-0.7.3/po' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.clzd9F + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 + cd jigdo-0.7.3 + make DESTDIR=/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 'INSTALL_EXE=/usr/bin/install -c' install if test -n "de.gmo"; then for file in de.gmo; do \ lang=`echo $file | sed -e 's/\.gmo$//'`; \ dir="/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/locale/$lang/LC_MESSAGES"; \ echo "/usr/bin/install -c -d \"$dir\""; \ /usr/bin/install -c -d "$dir"; \ s="./po/$file"; \ if test -f "po/$file"; then s="po/$file"; fi; \ echo "/usr/bin/install -c -m 644 $s \"$dir/jigdo.mo\""; \ /usr/bin/install -c -m 644 "$s" "$dir/jigdo.mo" \ || exit 1; \ done; fi /usr/bin/install -c -d "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/locale/de/LC_MESSAGES" /usr/bin/install -c -m 644 po/de.gmo "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/locale/de/LC_MESSAGES/jigdo.mo" /usr/bin/install -c -d /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin /usr/bin/install -c src/jigdo-file /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin /usr/bin/install -c -d /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 x="doc/jigdo-file.1"; \ test -f "$x" || x="./$x"; \ /usr/bin/install -c "$x" /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -d "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin" /usr/bin/install -c -d "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo" /usr/bin/install -c -m 755 "./scripts/jigdo-lite" \ "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin" sed -e 's%"\(mirrors.jigdo"\)%"/usr/share/jigdo/debian-\1%' \ <"./scripts/jigdo-lite" \ >"/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin/jigdo-lite" /usr/bin/install -c -m 644 "./scripts/debian-mirrors.jigdo" \ "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo" /usr/bin/install -c -d /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 x="doc/jigdo-lite.1"; \ test -f "$x" || x="./$x"; \ /usr/bin/install -c "$x" /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -d "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin" /usr/bin/install -c -m 755 "./scripts/jigdo-mirror" \ "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin" /usr/bin/install -c -d /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 x="doc/jigdo-mirror.1"; \ test -f "$x" || x="./$x"; \ /usr/bin/install -c "$x" /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -d "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin" /usr/bin/install -c src/jigdo "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin" /usr/bin/install -c -d "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -m 644 "./gfx/close.png" "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -m 644 "./gfx/jigdo-logo.png" "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -m 644 "./gfx/pause.png" "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -m 644 "./gfx/progress-green.png" "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -m 644 "./gfx/restart.png" "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -m 644 "./gfx/start.png" "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -m 644 "./gfx/stop.png" "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/pixmaps" /usr/bin/install -c -d /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 x="doc/jigdo.1"; \ test -f "$x" || x="./$x"; \ /usr/bin/install -c "$x" /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 "./COPYING" \ "/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/jigdo/COPYING" + rm -f /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin/jigdo-mirror /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/man/man1/jigdo-mirror.1 + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 jigdo + mkdir -p /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64//usr/share/applications --add-category X-Fedora-Extra /builddir/build/SOURCES/jigdo.desktop /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64//usr/share/applications/jigdo.desktop: error: (will be fatal in the future): value "jigdo-icon.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + mkdir -p /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/pixmaps + install -m 0644 -p gfx/jigdo-icon.png /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/pixmaps + mkdir -p /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin + install -m 0755 scripts/jigdo-mirror /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/bin/jigdo-mirror + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in ./usr/bin/jigdo-lite from #! /bin/sh to #!/bin/sh mangling shebang in ./usr/bin/jigdo-mirror from #! /bin/sh to #!/bin/sh Processing files: jigdo-0.7.3-27.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fI9AId + umask 022 + cd /builddir/build/BUILD + cd jigdo-0.7.3 + DOCDIR=/builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + cp -pr changelog /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + cp -pr COPYING /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + cp -pr README /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + cp -pr THANKS /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + cp -pr doc/debian-jigdo-mini-howto.html doc/jigdo-file.html doc/jigdo-lite.html doc/jigdo-mirror.html doc/jigdo.html /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + cp -pr doc/TechDetails.txt /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + cp -pr doc/README-bindist.txt /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64/usr/share/doc/jigdo + exit 0 Provides: jigdo = 0.7.3-27.fc28 jigdo(riscv-64) = 0.7.3-27.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdb-5.3.so()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(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.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: jigdo-gui-0.7.3-27.fc28.riscv64 Provides: application() application(jigdo.desktop) jigdo-gui = 0.7.3-27.fc28 jigdo-gui(riscv-64) = 0.7.3-27.fc28 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) libatk-1.0.so.0()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libcurl.so.4()(64bit) libdb-5.3.so()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(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.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 Wrote: /builddir/build/SRPMS/jigdo-0.7.3-27.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/jigdo-0.7.3-27.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/jigdo-gui-0.7.3-27.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0WeO3u + umask 022 + cd /builddir/build/BUILD + cd jigdo-0.7.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jigdo-0.7.3-27.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff