Bug#820315: lgogdownloader: FTBFS: util.cpp:391:48: error: conversion from 'Json::Value::const_iterator {aka Json::ValueConstIterator}' to non-scalar type 'Json::ValueIterator' requested

Chris Lamb lamby at debian.org
Thu Apr 7 10:56:05 UTC 2016


Source: lgogdownloader
Version: 2.27-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

lgogdownloader fails to build from source in unstable/amd64:

  [..]

  	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var
  -- The CXX compiler identification is GNU 5.3.1
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Boost version: 1.58.0
  -- Found the following Boost libraries:
  --   system
  --   filesystem
  --   regex
  --   program_options
  --   date_time
  -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.47.0") 
  -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
  -- Checking for module 'oauth'
  --   Found oauth, version 1.0.1
  -- Checking for module 'jsoncpp'
  --   Found jsoncpp, version 1.7.2
  -- Checking for module 'htmlcxx'
  --   Found htmlcxx, version 0.86
  -- Checking for module 'tinyxml'
  --   Found tinyxml, version 2.6.2
  -- Configuring done
  -- Generating done
  CMake Warning:
    Manually-specified variables were not used by the project:
  
      CMAKE_INSTALL_LOCALSTATEDIR
      CMAKE_INSTALL_SYSCONFDIR
  
  
  -- Build files have been written to: /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu
     dh_auto_build
  	make -j1
  make[1]: Entering directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  /usr/bin/cmake -H/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27 -B/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
  /usr/bin/cmake -E cmake_progress_start /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu/CMakeFiles /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
  make -f CMakeFiles/Makefile2 all
  make[2]: Entering directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  make -f CMakeFiles/lgogdownloader.dir/build.make CMakeFiles/lgogdownloader.dir/depend
  make[3]: Entering directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  cd /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27 /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27 /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu/CMakeFiles/lgogdownloader.dir/DependInfo.cmake --color=
  Scanning dependencies of target lgogdownloader
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  make -f CMakeFiles/lgogdownloader.dir/build.make CMakeFiles/lgogdownloader.dir/build
  make[3]: Entering directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  [ 10%] Building CXX object CMakeFiles/lgogdownloader.dir/main.cpp.o
  /usr/bin/c++   -DVERSION_NUMBER=\"2.27\" -DVERSION_STRING="\"LGOGDownloader 2.27\"" -D_FILE_OFFSET_BITS=64 -I/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/include -I/usr/include/jsoncpp -I/usr/include/htmlcxx  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -std=c++11 -Wall -Wno-long-long -fexceptions   -o CMakeFiles/lgogdownloader.dir/main.cpp.o -c /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/main.cpp
  [ 20%] Building CXX object CMakeFiles/lgogdownloader.dir/src/api.cpp.o
  /usr/bin/c++   -DVERSION_NUMBER=\"2.27\" -DVERSION_STRING="\"LGOGDownloader 2.27\"" -D_FILE_OFFSET_BITS=64 -I/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/include -I/usr/include/jsoncpp -I/usr/include/htmlcxx  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -std=c++11 -Wall -Wno-long-long -fexceptions   -o CMakeFiles/lgogdownloader.dir/src/api.cpp.o -c /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/src/api.cpp
  [ 30%] Building CXX object CMakeFiles/lgogdownloader.dir/src/downloader.cpp.o
  /usr/bin/c++   -DVERSION_NUMBER=\"2.27\" -DVERSION_STRING="\"LGOGDownloader 2.27\"" -D_FILE_OFFSET_BITS=64 -I/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/include -I/usr/include/jsoncpp -I/usr/include/htmlcxx  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -std=c++11 -Wall -Wno-long-long -fexceptions   -o CMakeFiles/lgogdownloader.dir/src/downloader.cpp.o -c /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/src/downloader.cpp
  [ 40%] Building CXX object CMakeFiles/lgogdownloader.dir/src/progressbar.cpp.o
  /usr/bin/c++   -DVERSION_NUMBER=\"2.27\" -DVERSION_STRING="\"LGOGDownloader 2.27\"" -D_FILE_OFFSET_BITS=64 -I/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/include -I/usr/include/jsoncpp -I/usr/include/htmlcxx  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -std=c++11 -Wall -Wno-long-long -fexceptions   -o CMakeFiles/lgogdownloader.dir/src/progressbar.cpp.o -c /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/src/progressbar.cpp
  [ 50%] Building CXX object CMakeFiles/lgogdownloader.dir/src/util.cpp.o
  /usr/bin/c++   -DVERSION_NUMBER=\"2.27\" -DVERSION_STRING="\"LGOGDownloader 2.27\"" -D_FILE_OFFSET_BITS=64 -I/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/include -I/usr/include/jsoncpp -I/usr/include/htmlcxx  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -std=c++11 -Wall -Wno-long-long -fexceptions   -o CMakeFiles/lgogdownloader.dir/src/util.cpp.o -c /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/src/util.cpp
  /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/src/util.cpp: In function 'void Util::getDownloaderUrlsFromJSON(const Json::Value&, std::vector<std::__cxx11::basic_string<char> >&)':
  /home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/src/util.cpp:391:48: error: conversion from 'Json::Value::const_iterator {aka Json::ValueConstIterator}' to non-scalar type 'Json::ValueIterator' requested
           for(Json::ValueIterator it = root.begin() ; it != root.end() ; ++it)
                                                  ^
  CMakeFiles/lgogdownloader.dir/build.make:161: recipe for target 'CMakeFiles/lgogdownloader.dir/src/util.cpp.o' failed
  make[3]: *** [CMakeFiles/lgogdownloader.dir/src/util.cpp.o] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/lgogdownloader.dir/all' failed
  make[2]: *** [CMakeFiles/lgogdownloader.dir/all] Error 2
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  Makefile:130: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160407113052.e5mz1FQa3p/lgogdownloader-2.27/obj-x86_64-linux-gnu'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lgogdownloader.2.27-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1750 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160407/6e892c91/attachment.obj>


More information about the Pkg-games-devel mailing list