Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953525 - sys-apps/dtc-1.7.2 fails test - [meson] [gcc-15] 3/8 dtc FAIL 4.69s exit status 1
Summary: sys-apps/dtc-1.7.2 fails test - [meson] [gcc-15] 3/8 dtc FAIL 4.69s exit stat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: glibc-2.41 954135
  Show dependency tree
 
Reported: 2025-04-10 16:37 UTC by Toralf Förster
Modified: 2025-04-27 22:53 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.29 KB, text/plain)
2025-04-10 16:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,21.94 KB, text/plain)
2025-04-10 16:37 UTC, Toralf Förster
Details
environment (environment,114.24 KB, text/plain)
2025-04-10 16:37 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.38 KB, application/x-xz)
2025-04-10 16:37 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,39.18 KB, application/x-xz)
2025-04-10 16:37 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,60.83 KB, text/plain)
2025-04-10 16:37 UTC, Toralf Förster
Details
sys-apps:dtc-1.7.2:20250410-155737.log (sys-apps:dtc-1.7.2:20250410-155737.log,233.76 KB, text/plain)
2025-04-10 16:37 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.04 KB, application/x-xz)
2025-04-10 16:37 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,98.75 KB, application/x-xz)
2025-04-10 16:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-04-10 16:37:44 UTC
Tree "named_root.dtb", 76 bytes
[2/156] Generating version_gen.h with a custom command
fatal: not a git repository (or any parent up to mount point /var/tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
1/8 libfdt            OK                3.62s800s
2/8 utilfdt           OK                0.03s800s
3/8 dtc               FAIL              4.69s   exit status 1
>>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=183 MESON_TEST_ITERATION=1 NO_PYTHON=1 NO_YAML=1 LD_LIBRARY_PATH=/var/tmp/portage/sys-apps/dtc-1.7.2/work/dtc-1.7.2-build/libfdt ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /var/tmp/portage/sys-apps/dtc-1.7.2/work/dtc-1.7.2/tests/run_tests.sh -t dtc
 ✀  

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd_abi32+64_test-20250409-195823

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  [meson] Please re-assign to ztrawhcse@ if it works with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
llvm-config: Python 3.12.10
Available Rust versions:
  [1]   rust-bin-1.85.1 *
  HEAD of ::gentoo
commit f7f28aa710916c33b6d0273bd19c924ae459ddb0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 10 14:20:59 2025 +0000

    2025-04-10 14:20:59 UTC

The tinderbox task was: %emerge -1u /lib*/*.a /usr/lib*/*.a @world

emerge -qpvO =sys-apps/dtc-1.7.2
[ebuild  N    ] sys-apps/dtc-1.7.2  USE="test -python -static-libs -yaml" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2025-04-10 16:37:46 UTC
Created attachment 924303 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-10 16:37:47 UTC
Created attachment 924304 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-04-10 16:37:48 UTC
Created attachment 924305 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-10 16:37:49 UTC
Created attachment 924306 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-10 16:37:50 UTC
Created attachment 924307 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-10 16:37:51 UTC
Created attachment 924308 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2025-04-10 16:37:53 UTC
Created attachment 924309 [details]
sys-apps:dtc-1.7.2:20250410-155737.log
Comment 8 Toralf Förster gentoo-dev 2025-04-10 16:37:54 UTC
Created attachment 924310 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2025-04-10 16:37:55 UTC
Created attachment 924311 [details]
tests.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-10 16:48:08 UTC
```
dtc -I dts -O asm -o oasm_test_tree1.dts.test.s /var/tmp/portage/sys-apps/dtc-1.7.2/work/dtc-1.7.2/tests/test_tree1.dts:	PASS
asm_to_so oasm_test_tree1.dts:	PASS
dtc -I dts -O dtb -o test_tree1.dts.test.dtb /var/tmp/portage/sys-apps/dtc-1.7.2/work/dtc-1.7.2/tests/test_tree1.dts:	PASS
asm_tree_dump ./oasm_test_tree1.dts.test.so oasm_test_tree1.dts.test.dtb:	FAIL	Couldn't dlopen() ./oasm_test_tree1.dts.test.so
cmp oasm_test_tree1.dts.test.dtb test_tree1.dts.test.dtb:	FAIL Returned error code 2
dtc -I dts -O asm -o oasm_escapes.dts.test.s /var/tmp/portage/sys-apps/dtc-1.7.2/work/dtc-1.7.2/tests/escapes.dts:	PASS
```
Comment 11 Sergei Trofimovich 2025-04-11 09:44:23 UTC
glibc-2.41 fallout: https://github.com/dgibson/dtc/commit/ce1d8588880aecd7af264e422a16a8b33617cef7
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-27 22:41:22 UTC
(In reply to Sergei Trofimovich from comment #11)
> glibc-2.41 fallout:
> https://github.com/dgibson/dtc/commit/
> ce1d8588880aecd7af264e422a16a8b33617cef7

Thanks! While looking at this, I also found fallout from swig-4.2 (https://github.com/dgibson/dtc/issues/159) w/ USE=python. Will add that fix in too.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-27 22:43:02 UTC
(In reply to Sam James from comment #12)
> (In reply to Sergei Trofimovich from comment #11)
> > glibc-2.41 fallout:
> > https://github.com/dgibson/dtc/commit/
> > ce1d8588880aecd7af264e422a16a8b33617cef7
> 
> Thanks! While looking at this, I also found fallout from swig-4.2
> (https://github.com/dgibson/dtc/issues/159) w/ USE=python. Will add that fix
> in too.

*4.3
Comment 14 Larry the Git Cow gentoo-dev 2025-04-27 22:53:02 UTC
The bug has been closed via the following commit(s):

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

commit bfafbcc5b6aaf3ea33eb905c6d44fbce586777d6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-27 22:45:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-27 22:52:25 +0000

    sys-apps/dtc: fix USE=python tests w/ >=swig-4.3, fix tests w/ glibc-2.41
    
    Closes: https://bugs.gentoo.org/953525
    Thanks-to: Sergei Trofimovich <slyich@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/dtc/dtc-1.7.2-r1.ebuild                   | 82 ++++++++++++++++++++
 sys-apps/dtc/dtc-9999.ebuild                       |  8 +-
 .../dtc/files/dtc-1.7.2-glibc-2.41-execstack.patch | 41 ++++++++++
 sys-apps/dtc/files/dtc-1.7.2-swig-4.3.patch        | 89 ++++++++++++++++++++++
 4 files changed, 219 insertions(+), 1 deletion(-)