Package Details: lgogdownloader 3.1-1

Git Clone URL: https://aur.archlinux.org/lgogdownloader.git (read-only)
Package Base: lgogdownloader
Description: An open source downloader for GOG.com games, uses the GOG.com API
Upstream URL: https://sites.google.com/site/gogdownloader/
Keywords: api downloader games gaming gog gog.com
Licenses: WTFPL
Submitter: tea
Maintainer: tea
Last Packager: tea
Votes: 38
Popularity: 0.315219
First Submitted: 2012-08-01 22:40
Last Updated: 2017-01-13 21:17

Latest Comments

alan1world commented on 2017-02-04 04:58

Fails to build:

-- Build files have been written to: /tmp/yaourt-tmp-human1/aur-lgogdownloader/src/lgogdownloader-3.1/build
==> Starting build()...
Scanning dependencies of target lgogdownloader
[ 9%] Building CXX object CMakeFiles/lgogdownloader.dir/main.cpp.o
In file included from /tmp/yaourt-tmp-human1/aur-lgogdownloader/src/lgogdownloader-3.1/main.cpp:11:0:
/tmp/yaourt-tmp-human1/aur-lgogdownloader/src/lgogdownloader-3.1/include/ssl_thread_setup.h: In function ‘void thread_locking_callback(int, int, const char*, int)’:
/tmp/yaourt-tmp-human1/aur-lgogdownloader/src/lgogdownloader-3.1/include/ssl_thread_setup.h:18:63: warning: unused parameter ‘file’ [-Wunused-parameter]
void thread_locking_callback(int mode, int n, const char* file, int line)
^~~~
/tmp/yaourt-tmp-human1/aur-lgogdownloader/src/lgogdownloader-3.1/include/ssl_thread_setup.h:18:73: warning: unused parameter ‘line’ [-Wunused-parameter]
void thread_locking_callback(int mode, int n, const char* file, int line)
^~~~
[ 18%] Building CXX object CMakeFiles/lgogdownloader.dir/src/api.cpp.o
[ 27%] Building CXX object CMakeFiles/lgogdownloader.dir/src/website.cpp.o
[ 36%] Building CXX object CMakeFiles/lgogdownloader.dir/src/downloader.cpp.o
[ 45%] Building CXX object CMakeFiles/lgogdownloader.dir/src/progressbar.cpp.o
[ 54%] Building CXX object CMakeFiles/lgogdownloader.dir/src/util.cpp.o
[ 63%] Building CXX object CMakeFiles/lgogdownloader.dir/src/blacklist.cpp.o
[ 72%] Building CXX object CMakeFiles/lgogdownloader.dir/src/gamefile.cpp.o
[ 81%] Building CXX object CMakeFiles/lgogdownloader.dir/src/gamedetails.cpp.o
[ 90%] Linking CXX executable lgogdownloader
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(rhash.o): relocation R_X86_64_32 against `.rodata.rhash_file.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(hex.o): relocation R_X86_64_32S against `.LC0' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(torrent.o): relocation R_X86_64_32 against `.rodata.bt_final.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(crc32.o): relocation R_X86_64_32S against symbol `rhash_crc32_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(sha256.o): relocation R_X86_64_32 against `.rodata.rhash_k256' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(sha512.o): relocation R_X86_64_32 against `.rodata.rhash_k512' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(sha3.o): relocation R_X86_64_32 against `.rodata.keccak_round_constants' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(gost.o): relocation R_X86_64_32 against symbol `rhash_gost_sbox_cryptpro' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(snefru.o): relocation R_X86_64_32 against `.rodata.rhash_snefru_sbox' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(tiger.o): relocation R_X86_64_32S against symbol `rhash_tiger_sboxes' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(whirlpool.o): relocation R_X86_64_32 against `.rodata.rc.3238' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/librhash.a(rhash.o): relocation R_X86_64_PC32 against symbol `free@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/lgogdownloader.dir/build.make:317: lgogdownloader] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/lgogdownloader.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
==> ERROR: A failure occurred in build().

tea commented on 2016-05-14 19:47

Recompiled boost is out of staging so this should build fine now.

xDShot commented on 2016-05-13 08:38

It compiles now with gcc 6.1 when boost and boost-libs are installed manually from staging repo:
https://www.archlinux.org/packages/staging/x86_64/boost/
https://www.archlinux.org/packages/staging/x86_64/boost-libs/

tea commented on 2016-05-07 14:33

Pending an upstream update, this will not build with GCC 6 which has just hit repos. You need to downgrade to 5.3.0 or earlier for now.

Alternatively I have a repo up at https://repo.warhaggis.com. Bear in mind that the repo is 64bit only and is signed with PGP key 30E698EA.

chungy commented on 2016-03-26 05:14

You may want to include that commit as a patch in this package, at least until v2.28 is out.

tea commented on 2016-03-25 21:16

Upstream worked quick - commit 519cb78 fixes this. Use lgogdownloader-git for now.

tea commented on 2016-03-25 21:09

I was able to build and run with jsoncpp 1.6.5 but not 1.7.1, which is the latest in the repos.

Pending an upstream update I've updated the PKGBUILD to require 1.6.5 or lower.

tea commented on 2016-03-25 20:27

jsoncpp updated recently, I'm gonna guess it broke compatibility.

hollunder commented on 2016-03-25 20:02

Fails to work:
terminate called after throwing an instance of 'Json::RuntimeError'
what(): ConstIterator to Iterator should never be allowed.
lgogdownloader.sh: line 1: 2035 Aborted (core dumped) lgogdownloader --save-serials --platform l+w --download

(returns 134)

Also fails to build:
[ 50%] Building CXX object CMakeFiles/lgogdownloader.dir/src/util.cpp.o
/home/murks/cower/lgogdownloader/src/lgogdownloader-2.27/src/util.cpp: In function ‘void Util::getDownloaderUrlsFromJSON(const Json::Value&, std::vector<std::__cxx11::basic_string<char> >&)’:
/home/murks/cower/lgogdownloader/src/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:158: recipe for target 'CMakeFiles/lgogdownloader.dir/src/util.cpp.o' failed
make[2]: *** [CMakeFiles/lgogdownloader.dir/src/util.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/lgogdownloader.dir/all' failed
make[1]: *** [CMakeFiles/lgogdownloader.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Must be some recent change.

bwrsandman commented on 2016-01-03 21:55

You may want to bump up the pkgrel to force recompilation against boost 1.59.0.
Otherwise, the following error happens and there is no indication of needing to rebuild lgogdownloader:

lgogdownloader: error while loading shared libraries: libboost_system.so.1.59.0: cannot open shared object file: No such file or directory

All comments