Bug 29358

Summary: "undefined symbol" error in castxml
Product: Mageia Reporter: Oleg Bosis <olelukoie>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: castxml-0.3.6-2.mga8.src.rpm CVE:
Status comment:

Description Oleg Bosis 2021-08-11 20:22:07 CEST
Description of problem:
Trying to run castxml I get the following error:

$ castxml
castxml: symbol lookup error: castxml: undefined symbol: LLVMInitializePowerPCTargetInfo, version LLVM_11

Version-Release number of selected component (if applicable):
castxml-0.3.6-2

How reproducible:
Always

Steps to Reproduce:
1. Run castxml
2.
3.
Comment 1 Lewis Smith 2021-08-11 21:09:48 CEST
Thank you for the report, and apologies for the problem. I confirm the fault.

I cannot find any upstream bug about this. 
 https://github.com/CastXML/CastXML
makes our versioning look odd: it refers to 3.6-12.0. "This version of CastXML has been tested with LLVM/Clang".
 
Cauldron shows:
Nov 26 2020 : rebuild for llvm/clang 11.0
Mar 2 2021 : rebuild for llvm/clang-12
Mar 4 2021 : new version: 0.4.2
Mar 8 2021 : new version: 0.4.3

A search on 'LLVMInitializePowerPCTargetInfo' throws up little, and I could find no reference to castxml. Most references are to 'rust'.

Assigning this to ThierryV for llvm/clang; CC'ing DavidG for latest versions.

CC: (none) => geiger.david68210
Assignee: bugsquad => thierry.vignaud

Comment 2 Oleg Bosis 2021-08-11 21:14:41 CEST
I've tried simple rebuild of the source package and the bug disappeared.
So it seems like castxml was just forgotten and was not rebuilt after llvm was updated in MGA8 last time.