Bug 2321486 - dtc-1.7.1-1: FTBFS in rawhide
Summary: dtc-1.7.1-1: FTBFS in rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dtc
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-24 11:17 UTC by Jitka Plesnikova
Modified: 2024-11-02 02:24 UTC (History)
4 users (show)

Fixed In Version: dtc-1.7.1-1.fc41
Clone Of:
Environment:
Last Closed: 2024-11-02 02:24:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2024-10-24 11:17:46 UTC
The build of dtc-1.7.1 is failing with error:

/builddir/build/BUILD/dtc-1.7.1-build/dtc-1.7.1/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’:
/builddir/build/BUILD/dtc-1.7.1-build/dtc-1.7.1/./pylibfdt/libfdt_wrap.c:5599:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’
 5599 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~

It is caused by swig 4.3.0. I'll attached the patch for it. 

However, it is still failing with this patch. The error is:

Compiler for C supports link arguments -Wl,--no-undefined: YES 
Library dl found: NO

../tests/meson.build:107:27: ERROR: Unknown variable "util_dep".

A full log can be found at /builddir/build/BUILD/dtc-1.7.1-build/dtc-1.7.1/build_win32/meson-logs/meson-log.txt


Reproducible: Always

Comment 2 Peter Robinson 2024-10-24 11:22:35 UTC
Something has changed in the python bindings, I need to investigate whether it's an upstream or Fedora issue.

Comment 3 Fedora Update System 2024-10-31 12:04:00 UTC
FEDORA-2024-8af4266a6c (dtc-1.7.1-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8af4266a6c

Comment 4 Fedora Update System 2024-11-01 01:35:41 UTC
FEDORA-2024-8af4266a6c has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8af4266a6c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8af4266a6c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-11-02 02:24:43 UTC
FEDORA-2024-8af4266a6c (dtc-1.7.1-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.