Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715052 - dev-python/docker-py fails to compile on amd64
Summary: dev-python/docker-py fails to compile on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 715022
  Show dependency tree
 
Reported: 2020-03-27 13:20 UTC by Agostino Sarubbo
Modified: 2020-03-27 15:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,101.88 KB, text/plain)
2020-03-27 13:20 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-03-27 13:20:41 UTC
This is an auto-filled bug because dev-python/docker-py fails to compile on amd64. Feel free to adjust the summary to clarify the exact issue. Attached build log and emerge --info
Comment 1 Agostino Sarubbo gentoo-dev 2020-03-27 13:20:46 UTC
Created attachment 626404 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-27 15:19:27 UTC
Ok, so the problem is that your hostname is not present in /etc/hosts.  I've prepared a workaround-patch for Portage [1], and I'll also commit a cheap hack to the ebuild.

[1] https://github.com/gentoo/portage/pull/539
Comment 3 Larry the Git Cow gentoo-dev 2020-03-27 15:24:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0db8b99a3a944a1c6934360621b382ddbded75c

commit a0db8b99a3a944a1c6934360621b382ddbded75c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-03-27 15:23:07 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-03-27 15:24:30 +0000

    dev-python/docker-py: Use localhost instead of hostname in tests
    
    Use 'localhost' in tests since it has a better chance of being
    resolvable (via /etc/hosts) inside network-sandbox than the system
    hostname.
    
    Closes: https://bugs.gentoo.org/715052
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/docker-py/docker-py-4.2.0-r1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)