Bug 29358 - "undefined symbol" error in castxml
Summary: "undefined symbol" error in castxml
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-11 20:22 CEST by Oleg Bosis
Modified: 2021-08-11 21:14 CEST (History)
1 user (show)

See Also:
Source RPM: castxml-0.3.6-2.mga8.src.rpm
CVE:
Status comment:


Attachments

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.

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