| Summary: | Emerge fails, but there's a simple solution | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Anders Dahlqvist <anders> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | blocker | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
My comment: thank God for such considerate Gentoo users! Solved my problem immediately, thanks again. |
portage 2.0.49-r17 ANY emerge fails, giving the message Traceback (most recent call last): File "/usr/bin/emerge", line 1784, in ? ip=socket.gethostbyname(hostname) NameError: name 'socket' is not defined Reproducible: Always Steps to Reproduce: 1. emerge <arguments> 2.ebuild <ebuild> argument 3. Actual Results: Traceback (most recent call last): File "/usr/bin/emerge", line 1784, in ? ip=socket.gethostbyname(hostname) NameError: name 'socket' is not defined Solution: Change line 6 in /usr/bin/emerge from import os,sys to import os,sys,socket My comment: thank God for open source and python!