Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849470 - dev-python/autobahn-22.5.1 installs more files with FEATURES=test
Summary: dev-python/autobahn-22.5.1 installs more files with FEATURES=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Brian Dolbec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-03 09:28 UTC by Agostino Sarubbo
Modified: 2022-06-03 11:37 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-06-03 09:28:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/autobahn-22.5.1 installs more files with FEATURES=test.
Discovered on: amd64 (internal ref: ci)

NOTE:
This is an experimental tinderbox feature.
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 2045
- the installed files without FEATURES=test are 2039
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-03 09:28:41 UTC
DIFF:
--- /dev/fd/63  2022-06-03 09:19:39.394523297 +0200
+++ /dev/fd/62  2022-06-03 09:19:39.394523297 +0200
@@ -669,6 +669,8 @@
 /usr/lib/python3.10/site-packages/autobahn/xbr/templates/py-autobahn/test_service.py.jinja2
 /usr/lib/python3.10/site-packages/autobahn/xbr/templates/sol-eip712/obj-eip712.sol.jinja2
 /usr/lib/python3.10/site-packages/_nvx_utf8validator.abi3.so
+/usr/lib/python3.10/site-packages/_trial_temp/test.log
+/usr/lib/python3.10/site-packages/_trial_temp/_trial_marker
 /usr/lib/python3.10/site-packages/twisted/plugins/autobahn_endpoints.py
 /usr/lib/python3.10/site-packages/twisted/plugins/autobahn_twistd.py
 /usr/lib/python3.10/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-310.opt-1.pyc
@@ -1347,6 +1349,8 @@
 /usr/lib/python3.8/site-packages/autobahn/xbr/templates/py-autobahn/test_service.py.jinja2
 /usr/lib/python3.8/site-packages/autobahn/xbr/templates/sol-eip712/obj-eip712.sol.jinja2
 /usr/lib/python3.8/site-packages/_nvx_utf8validator.abi3.so
+/usr/lib/python3.8/site-packages/_trial_temp/test.log
+/usr/lib/python3.8/site-packages/_trial_temp/_trial_marker
 /usr/lib/python3.8/site-packages/twisted/plugins/autobahn_endpoints.py
 /usr/lib/python3.8/site-packages/twisted/plugins/autobahn_twistd.py
 /usr/lib/python3.8/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-38.opt-1.pyc
@@ -2025,6 +2029,8 @@
 /usr/lib/python3.9/site-packages/autobahn/xbr/templates/py-autobahn/test_service.py.jinja2
 /usr/lib/python3.9/site-packages/autobahn/xbr/templates/sol-eip712/obj-eip712.sol.jinja2
 /usr/lib/python3.9/site-packages/_nvx_utf8validator.abi3.so
+/usr/lib/python3.9/site-packages/_trial_temp/test.log
+/usr/lib/python3.9/site-packages/_trial_temp/_trial_marker
 /usr/lib/python3.9/site-packages/twisted/plugins/autobahn_endpoints.py
 /usr/lib/python3.9/site-packages/twisted/plugins/autobahn_twistd.py
 /usr/lib/python3.9/site-packages/twisted/plugins/__pycache__/autobahn_endpoints.cpython-39.opt-1.pyc
Comment 2 Larry the Git Cow gentoo-dev 2022-06-03 11:37:04 UTC
The bug has been closed via the following commit(s):

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

commit 116b0a59726fdc7f9f7469c4d18735a929ecb89d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-06-03 11:34:37 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-06-03 11:37:01 +0000

    dev-python/autobahn: Fix wrongly installing _trial_temp
    
    Run tests from ${S} rather than the installed sitedir, so that
    _trial_temp ends up there rather than installed.
    
    Closes: https://bugs.gentoo.org/849470
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../autobahn/{autobahn-22.3.2.ebuild => autobahn-22.3.2-r1.ebuild}   | 5 +++--
 dev-python/autobahn/autobahn-22.4.2.ebuild                           | 5 +++--
 .../autobahn/{autobahn-22.5.1.ebuild => autobahn-22.5.1-r1.ebuild}   | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)