Skip to contentSkip to conversation

Coccinelle fails

DISCUSSION Ioannis Valasakis 2 participants 8 messages Nov 4, 2018

lore
Share & tools
lore
#0 lore raw

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

Thank you
ioannis

#1 lore raw
Quoted 5 lines · Ioannis Valasakis

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

What version of Coccinelle do you have? You can put DEBUG_FILE=cocci.err on the command line, which should give some more information about the problem.

julia

Quoted 11 lines

Thank you
ioannis

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181104200908.GA26807%40kvasir.local.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw
Quoted 7 lines · Julia Lawall
Quoted 3 lines · Ioannis Valasakis

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

Quoted 6 lines
Quoted 2 lines

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

What version of Coccinelle do you have? You can put DEBUG_FILE=cocci.err on the command line, which should give some more information about the problem.

coccinelle is in version (1.0.4.deb-3+b4). After running with the debug file I am getting this "Fatal error:
exception Sys_error("pool_zalloc-simple: No such file or directory")."

thanks
ioannis

Quoted 14 lines

julia

Quoted 11 lines

Thank you
ioannis

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181104200908.GA26807%40kvasir.local.
For more options, visit https://groups.google.com/d/optout.

#3 lore raw
Quoted 11 lines · Ioannis Valasakis
Quoted 10 lines · Julia Lawall
Quoted 5 lines · Ioannis Valasakis

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

Quoted 6 lines
Quoted 3 lines

What version of Coccinelle do you have? You can put DEBUG_FILE=cocci.err on the command line, which should give some more information about the problem.

coccinelle is in version (1.0.4.deb-3+b4). After running with the debug file I am getting this "Fatal error:
exception Sys_error("pool_zalloc-simple: No such file or directory")."

OK, I don'treally understand the message, but it would be better to use a more recent version. You can get the most recent version from github:

https://github.com/coccinelle/coccinelle

julia

Quoted 19 lines

thanks
ioannis

Quoted 14 lines

julia

Quoted 11 lines

Thank you
ioannis

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181104200908.GA26807%40kvasir.local.
For more options, visit https://groups.google.com/d/optout.

#4 lore raw
Quoted 22 lines · Julia Lawall
Quoted 11 lines · Ioannis Valasakis
Quoted 10 lines · Julia Lawall
Quoted 5 lines · Ioannis Valasakis

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

Quoted 6 lines
Quoted 3 lines

What version of Coccinelle do you have? You can put DEBUG_FILE=cocci.err on the command line, which should give some more information about the problem.

coccinelle is in version (1.0.4.deb-3+b4). After running with the debug file I am getting this "Fatal error:
exception Sys_error("pool_zalloc-simple: No such file or directory")."

Quoted 7 lines

OK, I don'treally understand the message, but it would be better to use a more recent version. You can get the most recent version from github:

https://github.com/coccinelle/coccinelle

julia

Sounds like looking for this file but it seems to be correct on my
system: $ find . -name "pool_zalloc-simple*" ./scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci

I'll download the latest version and let you know.

Thanks
ioannis

Quoted 19 lines
Quoted 19 lines

thanks
ioannis

Quoted 14 lines

julia

Quoted 11 lines

Thank you
ioannis

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181104200908.GA26807%40kvasir.local.
For more options, visit https://groups.google.com/d/optout.

#5 lore raw
In reply to Julia Lawall
Quoted 18 lines · Julia Lawall
Quoted 14 lines · Ioannis Valasakis
Quoted 13 lines · Julia Lawall
Quoted 5 lines · Ioannis Valasakis

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

What version of Coccinelle do you have? You can put DEBUG_FILE=cocci.err on the command line, which should give some more information about the problem.

Quoted 8 lines
Quoted 3 lines

coccinelle is in version (1.0.4.deb-3+b4). After running with the debug file I am getting this "Fatal error:
exception Sys_error("pool_zalloc-simple: No such file or directory")."

OK, I don'treally understand the message, but it would be better to use a more recent version. You can get the most recent version from github:

https://github.com/coccinelle/coccinelle

I can verify that it works with the latest version (1.0.7). Apprently the experimental version on Debian still gives an error:
"Semantic patch uses python, but Coccinelle has been compiled without Python support". FYI!

Thanks
ioannis

Quoted 22 lines

julia

Quoted 19 lines

thanks
ioannis

Quoted 14 lines

julia

Quoted 11 lines

Thank you
ioannis

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181104200908.GA26807%40kvasir.local.
For more options, visit https://groups.google.com/d/optout.

#6 lore raw
Quoted 23 lines · Ioannis Valasakis
Quoted 22 lines · Julia Lawall
Quoted 17 lines · Ioannis Valasakis
Quoted 7 lines · Julia Lawall
Quoted 3 lines · Ioannis Valasakis

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

Quoted 6 lines
Quoted 2 lines

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

What version of Coccinelle do you have? You can put DEBUG_FILE=cocci.err on the command line, which should give some more information about the problem.

coccinelle is in version (1.0.4.deb-3+b4). After running with the debug file I am getting this "Fatal error:
exception Sys_error("pool_zalloc-simple: No such file or directory")."

Quoted 8 lines
Quoted 4 lines

OK, I don'treally understand the message, but it would be better to use a more recent version. You can get the most recent version from github:

https://github.com/coccinelle/coccinelle

I can verify that it works with the latest version (1.0.7). Apprently the experimental version on Debian still gives an error:
"Semantic patch uses python, but Coccinelle has been compiled without Python support". FYI!

The experimental version on Debian is which Coccinelle version?

julia

#7 lore raw
Quoted 30 lines · Julia Lawall
Quoted 26 lines · Ioannis Valasakis
Quoted 25 lines · Julia Lawall
Quoted 11 lines · Ioannis Valasakis
Quoted 10 lines · Julia Lawall
Quoted 5 lines · Ioannis Valasakis

Any idea why if I try to run coccinelle in report mode it fails? E.g.:
make coccicheck MODE=report M=drivers/staging/speakup/

coccicheck failed
make: *** [Makefile:1650: coccicheck] Error 2

Quoted 6 lines
Quoted 3 lines

What version of Coccinelle do you have? You can put DEBUG_FILE=cocci.err on the command line, which should give some more information about the problem.

coccinelle is in version (1.0.4.deb-3+b4). After running with the debug file I am getting this "Fatal error:
exception Sys_error("pool_zalloc-simple: No such file or directory")."

OK, I don'treally understand the message, but it would be better to use a more recent version. You can get the most recent version from github:

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

https://github.com/coccinelle/coccinelle

I can verify that it works with the latest version (1.0.7). Apprently the experimental version on Debian still gives an error:
"Semantic patch uses python, but Coccinelle has been compiled without Python support". FYI!

The experimental version on Debian is which Coccinelle version?

This is the one: https://packages.debian.org/experimental/coccinelle

Quoted 2 lines

julia