Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 884685

Summary: [guru] dev-python/statmake-0.5.1 fails tests (CLANG-STRICTER-SYSTEM)
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Alessandro Barbieri <lssndrbarbieri>
Status: RESOLVED FIXED    
Severity: normal CC: guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-07 12:24:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/statmake-0.5.1 fails tests (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-07 12:24:46 UTC
Created attachment 840625 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-07 12:24:47 UTC
Error(s) that match a know pattern:


            except TypeError:
E                   ValueError: Not enough values in [200] to structure as typing.Tuple[float, float]
FAILED tests/test_make_stat.py::test_load_stylespace_broken_range - ValueErro...
Comment 3 Larry the Git Cow gentoo-dev 2023-05-06 06:59:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96b4548ddc662a2c94dfb1434bbee79577e886f2

commit 96b4548ddc662a2c94dfb1434bbee79577e886f2
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2023-05-04 02:19:13 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2023-05-04 02:20:16 +0000

    dev-python/statmake: enable py3.11
    
    Closes: https://bugs.gentoo.org/884685
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 dev-python/statmake/metadata.xml             | 20 ++++++-------
 dev-python/statmake/statmake-0.6.0-r1.ebuild | 34 +++++++++++++++++++++
 dev-python/statmake/statmake-0.6.0.ebuild    | 45 ----------------------------
 3 files changed, 44 insertions(+), 55 deletions(-)