-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.1
-
None
-
golang-1.25.0-4.el10
-
No
-
Moderate
-
rhel-pt-go
-
None
-
False
-
False
-
-
None
-
None
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Due to the new dwarf5 support set as default format on go1.25, packages (e.g. weldr-client-35.12-4.el9_6) rpmbuilding with golang-1.25.0-1.el10 fail with the following:
+ /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 35.12-4.el9 --unique-debug-suffix -35.12-4.el9.aarch64 --unique-debug-src-base weldr-client-35.12-4.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /tmp/tmp.WLFGziRSpc/BUILD/weldr-client-35.12 /usr/bin/debugedit: /tmp/tmp.WLFGziRSpc/BUILDROOT/weldr-client-35.12-4.el9.aarch64/usr/libexec/tests/composer-cli/composer-cli-tests: Unsupported .debug_line directory 0 path DW_FORM_0x8 /usr/bin/debugedit: /tmp/tmp.WLFGziRSpc/BUILDROOT/weldr-client-35.12-4.el9.aarch64/usr/libexec/tests/composer-cli/composer-cli-tests: Unsupported .debug_line directory 0 path DW_FORM_0x8 /usr/bin/debugedit: /tmp/tmp.WLFGziRSpc/BUILDROOT/weldr-client-35.12-4.el9.aarch64/usr/libexec/tests/composer-cli/composer-cli-tests: Unsupported .debug_line directory 0 path DW_FORM_0x8 (...) error: Empty %files file /tmp/tmp.WLFGziRSpc/BUILD/weldr-client-35.12/debugsourcefiles.list Empty %files file /tmp/tmp.WLFGziRSpc/BUILD/weldr-client-35.12/debugsourcefiles.list
The root cause seems to be related to an issue with dwarf5 on debugedit: https://sourceware.org/bugzilla/show_bug.cgi?id=33204
On Fedora, this has been fixed (as a workaround) on go-rpm-macros with GOEXPERIMENT=nodwarf5 (https://src.fedoraproject.org/rpms/go-rpm-macros/pull-request/30#), however this might not solve the issue for packages that don't use go-rpm-macros.
- links to
-
RHBA-2025:154416 golang update