Bug 2321486

Summary: dtc-1.7.1-1: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: dtcAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: arnd, jwboyer, pbonzini, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: dtc-1.7.1-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-02 02:24:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.