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

Bug 890204

Summary: dev-python/clang-python-15.0.6 fails tests
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://reviews.llvm.org/D141248
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-01-08 08:51:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/clang-python-15.0.6 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-08 08:51:29 UTC
Created attachment 847890 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-08 08:51:30 UTC
Error(s) that match a know pattern:


AssertionError: '/var/tmp/portage/dev-python/clang-python-1[58 chars]r1.h' != '/usr/include/gentoo/fortify.h'
AttributeError: 'NoneType' object has no attribute 'name'
FAILED (failures=1, errors=1)
FAIL: test_inclusion_directive (tests.cindex.test_translation_unit.TestTranslationUnit)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-09 04:34:01 UTC
Sent https://reviews.llvm.org/D141248 upstream.
Comment 4 Larry the Git Cow gentoo-dev 2023-01-09 08:09:49 UTC
The bug has been closed via the following commit(s):

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

commit 5069e652b20d6373be051301d38a17d624dcf6cc
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-01-09 07:02:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-01-09 08:09:36 +0000

    dev-python/clang-python: Disable default configs for tests
    
    Disable default configs to resolve test failures due to unexpected
    input.  Let's do it in ebuild until the problem is resolved upstream.
    
    Closes: https://bugs.gentoo.org/890204
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/clang-python/clang-python-15.0.6.9999.ebuild        | 3 ++-
 dev-python/clang-python/clang-python-15.0.6.ebuild             | 3 ++-
 dev-python/clang-python/clang-python-16.0.0.9999.ebuild        | 3 ++-
 dev-python/clang-python/clang-python-16.0.0_pre20230107.ebuild | 1 +
 4 files changed, 7 insertions(+), 3 deletions(-)