Bug 1642806

Summary: kabi-dw reports error when comparing build-in structures
Product: [Fedora] Fedora Reporter: Ziqian SUN (Zamir) <zsun>
Component: kabi-dwAssignee: Zamir SUN <sztsian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jmarchan, skozina, sztsian, zsun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kabi-dw-0-0.12.20181112git6fbd644.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-05 02:33:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kabi-dw-obj_parse-440 none

Description Ziqian SUN (Zamir) 2018-10-25 06:29:27 UTC
Created attachment 1497328 [details]
kabi-dw-obj_parse-440

Description of problem:
kabi-dw reports error when comparing build-in structures

Version-Release number of selected component (if applicable):
kabi-dw-0-0.11.20180906git626d942

How reproducible:
Always

Steps to Reproduce:
1. The easiest reproducer is to decompress the attachement, go into directory kabi-dw-obj_parse-440 and do
$ kabi-dw compare test1 test2
2.
3.

Actual results:
$ kabi-dw compare test1 test2
Unexpected entry "/"
error: syntax error
obj_parse():440 No object build for file test1/struct--__va_list.txt


Expected results:
No error reported

Additional info:

Comment 1 Jerome Marchand 2018-10-30 12:27:29 UTC
AFAICT, this is not a bug. The file field for built-in object is always 
File: <built-in>:0
without any path in front of <built-in>

Comment 2 Stanislav Kozina 2018-10-30 12:29:20 UTC
Ziqian, how did you generate the attachment? Did you create it using some standard way, or did you just hack the text files? Thanks!

Comment 3 Ziqian SUN (Zamir) 2018-10-30 14:53:05 UTC
Hi Jerome, 

So in this way, I would say, the bug might need to change to 'No patch should be added before <built-in> symbols'.

Hi Stanislav,

This file is generated by `kabi-dw generate` on aarch64 and copied out to simplify the bug reporting.

Comment 4 Fedora Update System 2018-11-16 09:03:48 UTC
kabi-dw-0-0.12.20181112git6fbd644.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a863832aa8

Comment 5 Fedora Update System 2018-11-17 04:43:49 UTC
kabi-dw-0-0.12.20181112git6fbd644.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a863832aa8

Comment 6 Fedora Update System 2018-12-05 02:33:01 UTC
kabi-dw-0-0.12.20181112git6fbd644.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.