Bug 1234812 - spatch not functional in rawhide?
Summary: spatch not functional in rawhide?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: coccinelle
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-23 10:02 UTC by Nikos Mavrogiannopoulos
Modified: 2015-06-23 15:01 UTC (History)
2 users (show)

Fixed In Version: coccinelle-1.0.1-3.fc23
Clone Of:
Environment:
Last Closed: 2015-06-23 15:01:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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