Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614192 - [FR] Define a shell variable with build.log path when emerge failed
Summary: [FR] Define a shell variable with build.log path when emerge failed
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-29 09:11 UTC by Ural
Modified: 2017-03-29 09:27 UTC (History)
0 users

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 Ural 2017-03-29 09:11:11 UTC
Hello. When emerge fails, it is hard to type 'less /var/tmp/portage/cat/packages/temp/build.log', when you don't use X. 
When emerge fails to single package, please define a shell env variable blog=/path/to/log, so after emerge I can type 'less $blog' and read logs. Thanks

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-29 09:27:36 UTC
It is not possible to set environment variables in spawning shell from a subprocess. You can use tab-completion to get the path typed easier though.