Bug 1234812

Summary: spatch not functional in rawhide?
Product: [Fedora] Fedora Reporter: Nikos Mavrogiannopoulos <nmavrogi>
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: nmavrogi, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: coccinelle-1.0.1-3.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-23 15:01:45 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:

Description Nikos Mavrogiannopoulos 2015-06-23 10:02:08 UTC
Description of problem:
In rawhide I'm unable to compile caml-crush any more. spatch seems to fail.

Steps to Reproduce:
fedpkg clone caml-crush
cd caml-crush && fedpkg scratch-build


Actual results:
sed -i "s/* int/\* nativeint/g" ./pkcs11.mli
sed -i "s/* int/\* nativeint/g" ./pkcs11.ml
spatch --no-show-diff --in-place --sp-file ./pkcs11_stubs.cocci ./pkcs11_stubs.c
There is no standard.iso in /builddir/build/BUILD/caml-crush-1.0.6/src/bindings-pkcs11.
Are you sure you run a properly installed version of spatch ?\nNo 'spatch' nor 'spatch.opt' found in /builddir/build/BUILD/caml-crush-1.0.6/src/bindings-pkcs11
Makefile:24: recipe for target 'idl' failed


Expected results: (results from f22)
sed -i "s/* int/\* nativeint/g" ./pkcs11.mli
sed -i "s/* int/\* nativeint/g" ./pkcs11.ml
spatch --no-show-diff --in-place --sp-file ./pkcs11_stubs.cocci ./pkcs11_stubs.c
init_defs_builtins: /usr/share/coccinelle/standard.h

Comment 1 Richard W.M. Jones 2015-06-23 10:22:20 UTC
What is the full output?  In particular which versions of which
packages do you have installed?

Comment 2 Nikos Mavrogiannopoulos 2015-06-23 10:33:17 UTC
The output is from mockbuild. The failed build logs are available at:
http://koji.fedoraproject.org/koji/taskinfo?taskID=10189514

According to that, coccinelle-1.0.1-1.fc23 was used.

Comment 3 Richard W.M. Jones 2015-06-23 10:57:34 UTC
Can you try this version:
http://koji.fedoraproject.org/koji/taskinfo?taskID=10190618
coccinelle-1.0.1-3.fc23

Comment 4 Nikos Mavrogiannopoulos 2015-06-23 14:22:09 UTC
That works, thanks.