Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 691088

Summary: dev-python/aiohttp-socks-0.2.2 should depend on net-proxy/3proxy
Product: Gentoo Linux Reporter: Francesco Turco <fturco>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bertrand, Klaus+gentoo, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
info.txt

Description Francesco Turco 2019-07-30 20:24:20 UTC
On a system without net-proxy/3proxy I get the following build error when emerging dev-python/aiohttp-socks-0.2.2:

> ln: failed to create symbolic link 'tests/3proxy/bin/linux/' -> '': No such file or directory

This can be easily fixed by first emerging net-proxy/3proxy and then re-emerging dev-python/aiohttp-socks.
Comment 1 Francesco Turco 2019-07-30 20:24:54 UTC
Created attachment 585206 [details]
build.log
Comment 2 Francesco Turco 2019-07-30 20:25:13 UTC
Created attachment 585208 [details]
info.txt

emerge --info
Comment 3 José Pekkarinen 2019-07-31 07:53:19 UTC
I hit this very same, making the lines related to depend
on the test use flag made it for me, in other words, I
changed the function python_configure_all in the ebuild
for this:

python_configure_all() {
    if use test; then
        rm tests/3proxy/bin/*/* || die
        ln -s "$(type -P 3proxy)" tests/3proxy/bin/linux/ || die
    fi
}

My only dependency on it, still seems to work correctly
so it may be safe to assume it's a test dependency.

Best regards.

José Pekkarinen.
Comment 4 Klaus Ethgen 2019-08-01 08:01:19 UTC
I also hit that bug.

Ans as to say I don't like the idea to have yet another proxy SERVER installed on my system to just fulfill the needs for this library (and it seems to need it only for build tests) to fulfill electrum.

Please fix that to just disable the test when no 3proxy is installed.
Comment 5 Weiping Xu 2019-08-01 11:24:08 UTC
I hit that bug too. Today's daily upgrade emerged this package. The ebuild requires 3proxy at test USE disable.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-08-04 11:07:15 UTC

*** This bug has been marked as a duplicate of bug 691266 ***