Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930139 - dev-build/scons-4.7.0 fails tests with sys-devel/gcc[d] and sys-libs/ncurses[tinfo]
Summary: dev-build/scons-4.7.0 fails tests with sys-devel/gcc[d] and sys-libs/ncurses[...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2024-04-17 12:18 UTC by Jonathan Lovelace
Modified: 2024-04-20 09:18 UTC (History)
1 user (show)

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


Attachments
dev-build:scons-4.7.0:20240417-113500.log.gz (dev-build:scons-4.7.0:20240417-113500.log.gz,79.48 KB, text/plain; charset=utf-8)
2024-04-17 12:19 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,12.24 KB, text/plain; charset=utf-8)
2024-04-17 12:19 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-04-17 12:18:50 UTC
=dev-build/scons-4.7.0 fails its test suite on my system, specifically the test test/D/HSTeoh/sconstest-linkingProblem_gdc.py. This test is only enabled when GCC is built with D support, and the output from the test suggests the failure is related to the split 'libtinfo' when ncurses is built with USE=tinfo:

269/1243 (21.64%) /var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0-python3_11/install/usr/bin/python3.11 test/D/HSTeoh/sconstest-linkingProblem_gdc.py
/var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0/scripts/scons.py returned 2
STDOUT =========================================================================
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cc -o cprog.o -c cprog.c
cc -o ncurs_impl.o -c ncurs_impl.c
cc -o cprog cprog.o ncurs_impl.o -lncurses
scons: building terminated because of errors.

STDERR =========================================================================
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ncurs_impl.o: undefined reference to symbol 'keypad'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
scons: *** [cprog] Error 1


FAILED test of /var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0/scripts/scons.py
        at line 673 of /var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0/testing/framework/TestCommon.py (_complete)
        from line 775 of /var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0/testing/framework/TestCommon.py (run)
        from line 458 of /var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0/testing/framework/TestSCons.py (run)
        from line 54 of /var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0/test/D/HSTeoh/Common/linkingProblem.py (testForTool)
        from line 31 of /var/tmp/portage/dev-build/scons-4.7.0/work/scons-4.7.0/test/D/HSTeoh/sconstest-linkingProblem_gdc.py
Comment 1 Jonathan Lovelace 2024-04-17 12:19:10 UTC
Created attachment 890962 [details]
dev-build:scons-4.7.0:20240417-113500.log.gz
Comment 2 Jonathan Lovelace 2024-04-17 12:19:34 UTC
Created attachment 890963 [details]
emerge-info.txt
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-20 09:14:33 UTC
Feel like reporting it upstream?  The best I can do for scons, is adding it to the list of known-broken tests.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-20 09:18:22 UTC
The bug has been closed via the following commit(s):

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

commit a97ab6a46d1c72af7445cbc3d8c8ccc13377f0f0
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-20 09:14:00 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-20 09:14:00 +0000

    dev-build/scons: Deselect broken D test
    
    Closes: https://bugs.gentoo.org/930139
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-build/scons/scons-4.7.0.ebuild | 1 +
 1 file changed, 1 insertion(+)