Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711896 - app-portage/portage-utils-0.86 qlop -r fails when PORTAGE_LOGDIR is set
Summary: app-portage/portage-utils-0.86 qlop -r fails when PORTAGE_LOGDIR is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-08 19:42 UTC by Mike Gilbert
Modified: 2020-08-17 15:05 UTC (History)
3 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 Mike Gilbert gentoo-dev 2020-03-08 19:42:26 UTC
When PORTAGE_LOGDIR is set in make.conf, qlop -r fails to find any running emerge builds.

The /proc scan appears to look for build log paths ending with "/temp/build.log".

When PORTAGE_LOGDIR is set, build logs look like this:

${PORTAGE_LOGDIR}/${CATEGORY}:${PF}:YYYYMMDD-HH‐MMSS.log

See make.conf(5) for reference.
Comment 1 Fabian Groffen gentoo-dev 2020-03-08 20:07:09 UTC
awesome, thanks :/
Comment 2 Larry the Git Cow gentoo-dev 2020-08-17 13:08:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=345bb718f59c65823722e8ae94ac7ae9f9060dd1

commit 345bb718f59c65823722e8ae94ac7ae9f9060dd1
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-08-17 12:50:52 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2020-08-17 12:50:52 +0000

    qlop: recognise logfile naming when PORTAGE_LOGDIR is set, bug #711896
    
    Bug: https://bugs.gentoo.org/711896
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 qlop.c | 40 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-08-17 15:05:53 UTC
The bug has been closed via the following commit(s):

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

commit aa66d89f08797cc9d4f48e670fc277a57d1873bf
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-08-17 15:05:29 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2020-08-17 15:05:29 +0000

    app-portage/portage-utils-0.89: version bump
    
    Closes: https://bugs.gentoo.org/711896
    Closes: https://bugs.gentoo.org/698462
    Closes: https://bugs.gentoo.org/723422
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 app-portage/portage-utils/Manifest                     |  2 +-
 ...age-utils-0.80.ebuild => portage-utils-0.89.ebuild} | 18 +-----------------
 2 files changed, 2 insertions(+), 18 deletions(-)