Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888685 - sys-apps/pkgcore-0.12.18 installs more files with FEATURES=test
Summary: sys-apps/pkgcore-0.12.18 installs more files with FEATURES=test
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PkgCore project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-28 06:38 UTC by Agostino Sarubbo
Modified: 2023-12-17 06:23 UTC (History)
1 user (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 Agostino Sarubbo gentoo-dev 2022-12-28 06:38:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/pkgcore-0.12.18 installs more files with FEATURES=test.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue:
1) Install the package with FEATURES=test
2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_test )
3) Install the package without FEATURES=test
4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist_notest )
5) See the diff between the two files ( diff -ru /tmp/qlist_test /tmp/qlist_notest )

On this machine:
- the installed files with FEATURES=test are 1598
- the installed files without FEATURES=test are 1597

This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask.

In any case I'm providing a diff.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-28 06:39:11 UTC
DIFF:
--- /dev/fd/63  2022-12-27 20:26:58.724613887 +0100
+++ /dev/fd/62  2022-12-27 20:26:58.724613887 +0100
@@ -220,6 +220,7 @@
 /usr/lib/pkgcore/ebd/.generated/libs/8/src_prepare
 /usr/lib/pkgcore/ebd/.generated/libs/8/src_test
 /usr/lib/pkgcore/ebd/.generated/libs/8/src_unpack
+/usr/lib/pkgcore/ebd/.generated/libs/test/global
 /usr/lib/pkgcore/ebd/generate_eapi_cmd_list
 /usr/lib/pkgcore/ebd/generate_eapi_func_list
 /usr/lib/pkgcore/ebd/generate_eapi_lib
Comment 2 Larry the Git Cow gentoo-dev 2023-02-02 20:26:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=afef868cd7c3a249864bdc2b4d98b74ef808be3f

commit afef868cd7c3a249864bdc2b4d98b74ef808be3f
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-02-02 20:25:10 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-02-02 20:25:10 +0000

    ebuild/test_eapi: fix tests artifacts in EBD_PATH
    
    Bug: https://bugs.gentoo.org/888685
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 tests/ebuild/test_eapi.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Comment 3 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-12-17 06:23:18 UTC
I think I've already fixed it