Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832524 - sys-libs/libcxx-13.0.0 fails test when sys-devel/gdb is compiled with -python USE flag
Summary: sys-libs/libcxx-13.0.0 fails test when sys-devel/gdb is compiled with -python...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-01 23:45 UTC by unhappy-ending
Modified: 2022-02-02 07:20 UTC (History)
2 users (show)

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


Attachments
failure build log (libcxx-13.0.0:20220201-230448.tar.gz,93.32 KB, application/gzip)
2022-02-01 23:48 UTC, unhappy-ending
Details
success! build log (libcxx-13.0.0:20220201-231827.tar.gz,162.27 KB, application/gzip)
2022-02-01 23:49 UTC, unhappy-ending
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unhappy-ending 2022-02-01 23:45:00 UTC
When sys-devel/gdb is compiled without the python USE flag, libcxx will fail a single test libcxx/gdb/gdb_pretty_printer_test.sh.cpp since it seems to rely on a gdb_pretty_printer_test.sh.cpp.py file to run. Compiling gdb with the python USE flag enabled fixes the problem.

If the test flag is enabled, we should probably add sys-devel/gdb[python] to the ebuild for ridiculous people like me who try to run minimal setups, lol :)

Reproducible: Always

Steps to Reproduce:
1. compile gdb -python
2. compile and test libcxx
3. profit
Actual Results:  
libcxx fails the test phase

Expected Results:  
this should be expected since gdb was compiled without python support and libcxx requires it for testing
Comment 1 unhappy-ending 2022-02-01 23:48:53 UTC
Created attachment 764159 [details]
failure build log
Comment 2 unhappy-ending 2022-02-01 23:49:15 UTC
Created attachment 764160 [details]
success! build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-02 07:17:08 UTC
Thanks for the report, attaching *both* logs (really helpful, thank you!), diagnosing the issue!
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-02 07:18:54 UTC
Oh, nit: if only attaching one file, can compress without using tar.
Comment 5 Larry the Git Cow gentoo-dev 2022-02-02 07:20:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d677f6922e0ac2433cf3d0189004e8b9b1fb211

commit 6d677f6922e0ac2433cf3d0189004e8b9b1fb211
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-02 07:20:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-02 07:20:29 +0000

    sys-libs/libcxx: depend on sys-devel/gdb[python] for tests
    
    Closes: https://bugs.gentoo.org/832524
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/libcxx/libcxx-13.0.1.9999.ebuild | 1 +
 sys-libs/libcxx/libcxx-13.0.1_rc3.ebuild  | 1 +
 sys-libs/libcxx/libcxx-14.0.0.9999.ebuild | 1 +
 3 files changed, 3 insertions(+)