rllola / zeronet-torrent-plugin

Torrent Plugin for Zeronet
31 stars 5 forks source link

conan fails with being unable to find Torrent package #10

Closed anoadragon453 closed 5 years ago

anoadragon453 commented 5 years ago
$ conan install --build=missing . 
Auto detecting your dev setup to initialize the default profile (/home/user/.conan/profiles/default)
Found gcc 8
gcc>=5, using the major as version

************************* WARNING: GCC OLD ABI COMPATIBILITY ***********************

Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to
'libstdc++' for backwards compatibility.
Your compiler is likely using the new CXX11 ABI by default (libstdc++11).

If you want Conan to use the new ABI, edit the default profile at:

    ~/.conan/profiles/default

adjusting 'compiler.libcxx=libstdc++11'

************************************************************************************

Default settings
    os=Linux
    os_build=Linux
    arch=x86_64
    arch_build=x86_64
    compiler=gcc
    compiler.version=8
    compiler.libcxx=libstdc++
    build_type=Release
*** You can change them in /home/user/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***

Configuration:
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=8
compiler.libcxx=libstdc++
build_type=Release
[options]
[build_requires]
[env]

WARN: Remotes registry file missing, creating default one in /home/user/.conan/registry.txt
Libtorrent/1.1.8@lola/stable: Not found in local cache, looking in remotes...
Libtorrent/1.1.8@lola/stable: Trying with 'conan-center'...
ERROR: Failed requirement 'Libtorrent/1.1.8@lola/stable' from 'PROJECT'
ERROR: Unable to find 'Libtorrent/1.1.8@lola/stable' in remotes
user@debian:~/Documents/zeronet/plugins/Torrent$ 

Is there a remote I need to add?

Debian Linux x64

rllola commented 5 years ago

Yes !

You need to add my Libtorrent repo :

conan remote add libtorrent https://api.bintray.com/conan/rllola80/Libtorrent
anoadragon453 commented 5 years ago

That worked for that dependency, but now I'm unable to grab this one:

ERROR: Failed requirement 'zlib/1.2.11@conan/stable' from 'OpenSSL/1.0.2o@conan/stable'
ERROR: {"message":"Oops. Looks like you've reached a dark spot."}. [Remote: conan-center]
rllola commented 5 years ago

Lol. what ?

anoadragon453 commented 5 years ago

That's what I get when I run the previously mentioned command now lol

rllola commented 5 years ago

It seems to be working correctly in travis : https://travis-ci.org/rllola/zeronet-torrent-plugin/jobs/439247722#L898

Could you verify conan version and try to remove the precedent package:

conan remove Libtorrent
anoadragon453 commented 5 years ago
Conan version 1.8.2

Are you using conan from pip3 by any chance?

anoadragon453 commented 5 years ago

No, apparently not as your conanfile crashes on python3 conan lol

rllola commented 5 years ago

No, I am using pip and python 2.7

Conan versino 1.8.2 should work. Could you past the full log ?

rllola commented 5 years ago

Also could you try again ? They have done a modification (https://bintray.com/conan-community/conan/zlib%3Aconan/1.2.11%3Astable) and you might have tried at the moment they were updated (really really unlucky).

anoadragon453 commented 5 years ago

Ah, it works now. That was probably the reason yeah.