Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1297855

Summary: coccinelle-1.0.4-2 build failure on ppc64le
Product: [Fedora] Fedora Reporter: Than Ngo <than>
Component: coccinelleAssignee: Richard W.M. Jones <rjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: rjones, than
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: coccinelle-1.0.4-3.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-14 11:58:33 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:
Bug Depends On:    
Bug Blocks: 1071880    

Description Than Ngo 2016-01-12 16:05:04 UTC
Description of problem:

+ /builddir/build/BUILDROOT/coccinelle-1.0.4-2.fc24.ppc64le/usr/bin/spatch -sp_file demos/simple.cocci demos/simple.c
init_defs_builtins: /builddir/build/BUILDROOT/coccinelle-1.0.4-2.fc24.ppc64le/usr/lib64/coccinelle/standard.h
Fatal error: exception Failure("dump: impossible tag (1002)")
error: Bad exit status from /var/tmp/rpm-tmp.PSxACl (%check)

Version-Release number of selected component (if applicable):
coccinelle-1.0.4-2

How reproducible:
always

Steps to Reproduce:
ppc-koji build --scratch f24 ppc-koji build --scratch f24 coccinelle-1.0.4-2.fc24.src.rpm

Actual results:
http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/345/3060345/build.log

Expected results:
it should build fine

Comment 1 Richard W.M. Jones 2016-01-13 13:48:54 UTC
I sent an email about this to the upstream mailing list:

https://systeme.lip6.fr/pipermail/cocci/2016-January/002742.html

Comment 2 Richard W.M. Jones 2016-01-14 10:31:31 UTC
Upstream supplied a patch which either fixes or works around
the problem.  I have applied it to coccinelle-1.0.4-3.fc24 so
please try that version.

Comment 3 Than Ngo 2016-01-14 11:26:33 UTC
i'm testing it and will let you know the results soon. Thanks

Comment 4 Than Ngo 2016-01-14 11:58:33 UTC
i confirm that the patch fixes the build failure on ppc64le.
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3064507