Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586478 - sys-kernel/tuxonice-sources: detect_arch in global scope
Summary: sys-kernel/tuxonice-sources: detect_arch in global scope
Status: RESOLVED DUPLICATE of bug 586474
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-20 15:27 UTC by Göktürk Yüksek
Modified: 2016-06-21 00:32 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Göktürk Yüksek archtester gentoo-dev 2016-06-20 15:27:59 UTC
The call to detect_arch() results in a call to KV_to_int() down the call stack. This call is completely useless in the global scope during ebuild sourcing and future versions of portage will die on this behavior. Please migrate them to pkg_setup() or a similar phase.
Comment 1 SpanKY gentoo-dev 2016-06-21 00:32:27 UTC

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