Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723684 - dev-python/cbor2 fails tests
Summary: dev-python/cbor2 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Brian Dolbec (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-18 10:30 UTC by Agostino Sarubbo
Modified: 2020-05-18 15:52 UTC (History)
0 users

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


Attachments
build.log (build.log,8.69 KB, text/plain)
2020-05-18 10:30 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-18 10:30:15 UTC
This is an auto-filed bug because dev-python/cbor2 fails tests.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-18 10:30:23 UTC
Created attachment 640074 [details]
build.log

build log and emerge --info
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2020-05-18 14:51:49 UTC
hmm, this appears to be a portage issue, not pulling in needed test deps

I confirmed this for portage-2.3.99-r1 and -r2




> storm /var/lib/buildbot_worker/catbot # FEATURES="test" emerge -v1a --jobs=1 cbor2 
>
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R    ] dev-python/cbor2-5.1.0::gentoo  USE="test" PYTHON_TARGETS="python3_6 python3_7 python3_8" 0 KiB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 KiB
>
> Would you like to merge these packages? [Yes/No] n
> 
> Quitting.
>
> storm /var/lib/buildbot_worker/catbot # emerge -va pytest-cov
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N     ] dev-python/pytest-cov-2.8.1::gentoo  USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8 -pypy3" 0 KiB
> 
> Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

storm /var/lib/buildbot_worker/catbot # 

'''
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2020-05-18 14:57:56 UTC
cbor2 does pass tests when pytest-cov is installed on my system.

It appears to be a regression in portage.  pytest-cov is a listed test dep for cbor2.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2020-05-18 15:12:14 UTC
It appears to broken even when using --with-test-deps=y


> storm /var/lib/buildbot_worker/catbot # FEATURES="test" emerge -v1a --jobs=1 --with-test-deps=y cbor2

> These are the packages that would be merged, in order:

> Calculating dependencies... done!
> [ebuild  N     ] dev-python/cbor2-5.1.0::gentoo  USE="test" PYTHON_TARGETS="python3_6 python3_7 python3_8" 0 KiB

> Total: 1 package (1 new), Size of downloads: 0 KiB

> Would you like to merge these packages? [Yes/No]
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2020-05-18 15:52:44 UTC
CRAP!, was a typo for DEPEND=

Fixed and pushed...