Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940578 - dev-python/pygccxml-2.5.0 fails tests: FAILED test_smart_pointer.py::Test::test_smart_pointer_value_type - AssertionError: <pygccxml.declarations.cpptypes.unknown_t object at 0xf5a48d48> is not an instance of <class pygccxml.declarations.cpptypes.int_t>
Summary: dev-python/pygccxml-2.5.0 fails tests: FAILED test_smart_pointer.py::Test::te...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-10-01 06:45 UTC by Agostino Sarubbo
Modified: 2024-10-28 18:46 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,107.37 KB, text/plain)
2024-10-01 06:45 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 2024-10-01 06:45:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pygccxml-2.5.0 fails tests.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-01 06:45:33 UTC
Created attachment 904428 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-01 06:45:33 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       AssertionError: <pygccxml.declarations.cpptypes.unknown_t object at 0xf5a48d48> is not an instance of <class 'pygccxml.declarations.cpptypes.int_t'>
E       AssertionError: False is not true
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED unittests/test_smart_pointer.py::Test::test_smart_pointer_value_type - AssertionError: <pygccxml.declarations.cpptypes.unknown_t object at 0xf5a48d48> is not an instance of <class 'pygccxml.declarations.cpptypes.int_t'>
FAILED unittests/test_va_list_tag_removal.py::Test::test_keep_va_list_tag - AssertionError: False is not true
FAILED unittests/test_va_list_tag_removal.py::Test::test_remove_va_list_tag - AssertionError: False is not true
unittests/test_smart_pointer.py::Test::test_smart_pointer_value_type FAILED [31/38]
unittests/test_va_list_tag_removal.py::Test::test_keep_va_list_tag FAILED [34/38]
unittests/test_va_list_tag_removal.py::Test::test_remove_va_list_tag FAILED [35/38]
Comment 3 Thomas Beierlein gentoo-dev 2024-10-19 12:13:29 UTC
Can confirm unittests/test_smart_pointer.py failing with GCC-15 also on stable MUSL system and unstable amd64. Switching back to GCC-13 the test failure vanishes.

The other two test failures from the bug report 

unittests/test_va_list_tag_removal.py::Test::test_keep_va_list_tag FAILED [34/38]
unittests/test_va_list_tag_removal.py::Test::test_remove_va_list_tag FAILED [35/38]

do not show up on non x86 systems.

There will be additional build failures if llvm-19 is active.
Comment 4 Thomas Beierlein gentoo-dev 2024-10-28 18:34:33 UTC
Reported upstream, see https://github.com/CastXML/pygccxml/issues/205.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-28 18:44:47 UTC
Thank you!!
Comment 6 Larry the Git Cow gentoo-dev 2024-10-28 18:46:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03fafab2f12506b1d36610a950fbbcb37851625e

commit 03fafab2f12506b1d36610a950fbbcb37851625e
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2024-10-28 18:32:38 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2024-10-28 18:35:06 +0000

    dev-python/pygccxml: exclude failing single test with >=GCC-15.0.2
    
    Closes: https://bugs.gentoo.org/940578
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 dev-python/pygccxml/pygccxml-2.5.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)