Skip to contentSkip to conversation

1.0.0-rc23 release

Cocci Julia Lawall 2 participants 11 messages Dec 11, 2014 – Dec 16, 2014 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Some changes:

- Ability to add, but not match or remove, attributes.

- Some parsing and pretty printing improvements.

julia

#1 lore raw
Quoted 5 lines

Some changes:

- Ability to add, but not match or remove, attributes.

- Some parsing and pretty printing improvements.

Dear Julia,

Thanks for your software update.

1. How do you think about to correct a dangling link on your download page?
https://software.opensuse.org/package/coccinelle/

https://build.opensuse.org/package/show?project=openSUSE%3A13.2&package=coccinelle

2. Would you like to mention the parameter "parse-handler" (addition in the previous release) also in the documentation source file "spatch_options.tex"?

Regards,
Markus

A message that is not in the archive (sent off-list or not yet received): alpine.DEB.2.10.1412131601220.2114@hadrien

#4 lore raw

[Cocci] 1.0.0-rc23 release - Clarification of build tweaks

In reply to Julia Lawall
Quoted 1 line

Some changes:

Dear Julia,

I am curious on a bit more background information for improvements you did not explicitly mention in the release notes here.
Who did update the build files like "configure.ac" and "commons/Makefile"?
https://github.com/coccinelle/coccinelle/commit/c5ff9aff461df30b31ff23b17d2487127c8b9d0a#diff-67e997bcfdac55191033d57a16d1408a

Regards,
Markus

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

[Cocci] 1.0.0-rc23 release - Clarification of build tweaks

Quoted 3 lines
Quoted 2 lines

Who did update the build files like "configure.ac" and "commons/Makefile"?
https://github.com/coccinelle/coccinelle/commit/c5ff9aff461df30b31ff23b17d2487127c8b9d0a#diff-67e997bcfdac55191033d57a16d1408a

Why do you want to know this?

We have got a few difficulties in the past to find someone for further consideration of my proposed corrections around the affected build scripts. Did the expertise concerns change a bit in the meantime?

Quoted 1 line

They were updated mostly to accomodate changes in more recent versions of ocaml.

I find that it would also be nice to mention such adjustments in the release notes, wouldn't it?

Regards,
Markus

#7 lore raw

[Cocci] 1.0.0-rc23 release - Clarification of build tweaks

In reply to a message not in the archive
Quoted 5 lines
Quoted 2 lines

Who did update the build files like "configure.ac" and "commons/Makefile"?
https://github.com/coccinelle/coccinelle/commit/c5ff9aff461df30b31ff23b17d2487127c8b9d0a#diff-67e997bcfdac55191033d57a16d1408a

Why do you want to know this? They were updated mostly to accomodate changes in more recent versions of ocaml.

I have tried another configuration variant out with the command "./configure --enable-release --enable-ocamlbuild". The corresponding software build was quickly interrupted.

elfring at Sonne:~/Projekte/Coccinelle/1.0.0-rc23> LANG=C make all make all-release
make[1]: Entering directory '/home/elfring/Projekte/Coccinelle/1.0.0-rc23' Building opt-only
make opt-only
make[2]: Entering directory '/home/elfring/Projekte/Coccinelle/1.0.0-rc23' /usr/bin/ocamlbuild -j 0 main.native
Finished, 0 targets (0 cached) in 00:00:00.
SANITIZE: a total of 2 files that should probably not be in your source tree
has been found. A script shell file "/home/elfring/Projekte/Coccinelle/1.0.0-rc23/_build/sanitize.sh" is being created. Check this script and run it to remove unwanted files or use other options (such as defining hygiene exceptions or using the -no-hygiene option).

Would you like to improve this situation?

Regards,
Markus

#8 lore raw

[Cocci] 1.0.0-rc23 release - Clarification of build tweaks

Quoted 9 lines · SF Markus Elfring
Quoted 5 lines
Quoted 2 lines

Who did update the build files like "configure.ac" and "commons/Makefile"?
https://github.com/coccinelle/coccinelle/commit/c5ff9aff461df30b31ff23b17d2487127c8b9d0a#diff-67e997bcfdac55191033d57a16d1408a

Why do you want to know this? They were updated mostly to accomodate changes in more recent versions of ocaml.

I have tried another configuration variant out with the command "./configure --enable-release --enable-ocamlbuild". The corresponding software build was quickly interrupted.

Quoted 14 lines

elfring at Sonne:~/Projekte/Coccinelle/1.0.0-rc23> LANG=C make all make all-release
make[1]: Entering directory '/home/elfring/Projekte/Coccinelle/1.0.0-rc23' Building opt-only
make opt-only
make[2]: Entering directory '/home/elfring/Projekte/Coccinelle/1.0.0-rc23' /usr/bin/ocamlbuild -j 0 main.native
Finished, 0 targets (0 cached) in 00:00:00.
SANITIZE: a total of 2 files that should probably not be in your source tree
has been found. A script shell file "/home/elfring/Projekte/Coccinelle/1.0.0-rc23/_build/sanitize.sh" is being created. Check this script and run it to remove unwanted files or use other options (such as defining hygiene exceptions or using the -no-hygiene option).

I have no idea what this relates to. What are the files that are objected to?

julia

#9 lore raw

[Cocci] 1.0.0-rc23 release - Clarification of build tweaks

Quoted 1 line

I have no idea what this relates to.

I am curious how much source tree hygiene will matter here.

Quoted 1 line

What are the files that are objected to?

elfring at Sonne:~/Projekte/Coccinelle/1.0.0-rc23> cat _build/sanitize.sh #!/bin/sh
# File generated by ocamlbuild

cd /home/elfring/Projekte/Coccinelle/1.0.0-rc23

rm -f bundles/pycaml/chemoelectric-pycaml-8614105/pycaml.o rm -f ctl/ctl.a
rm -f ctl/ctl.cmxa
# Also clean the script itself
rm -f /home/elfring/Projekte/Coccinelle/1.0.0-rc23/_build/sanitize.sh

Regards,
Markus

#10 lore raw

[Cocci] 1.0.0-rc23 release - Menhir updates

In reply to Julia Lawall
Quoted 1 line

- Some parsing and pretty printing improvements.

Dear Julia,

I have installed the current parser generator "Menhir 20141215" on my openSUSE Tumbleweed system a moment ago.

The corresponding build works a bit longer for your software when I try a configuration variant out with the simple command "./configure --enable-release".
Unfortunately, I stumble on another surprise then.

elfring at Sonne:~/Projekte/Coccinelle/1.0.0-rc23> LANG=C make all
...
/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib64/ocaml/menhirLib -c parser_cocci_menhir.ml File "parser_cocci_menhir.ml", line 1879, characters 8-321:
Error: The record field MenhirLib.EngineTypes.stack is not mutable
Makefile:126: recipe for target 'parser_cocci_menhir.cmx' failed
make[6]: *** [parser_cocci_menhir.cmx] Error 2
make[6]: Leaving directory '/home/elfring/Projekte/Coccinelle/1.0.0-rc23/parsing_cocci'
Makefile:82: recipe for target 'all.opt' failed
...

How should this implementation detail be resolved?

Do I need to reuse an older Menhir software library here?

Regards,
Markus

#11 lore raw

[Cocci] 1.0.0-rc23 release - Menhir updates

Quoted 23 lines · SF Markus Elfring
Quoted 1 line

- Some parsing and pretty printing improvements.

Dear Julia,

I have installed the current parser generator "Menhir 20141215" on my openSUSE Tumbleweed system a moment ago.

The corresponding build works a bit longer for your software when I try a configuration variant out with the simple command "./configure --enable-release".
Unfortunately, I stumble on another surprise then.

elfring at Sonne:~/Projekte/Coccinelle/1.0.0-rc23> LANG=C make all
...
/usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib64/ocaml/menhirLib -c parser_cocci_menhir.ml File "parser_cocci_menhir.ml", line 1879, characters 8-321:
Error: The record field MenhirLib.EngineTypes.stack is not mutable
Makefile:126: recipe for target 'parser_cocci_menhir.cmx' failed
make[6]: *** [parser_cocci_menhir.cmx] Error 2
make[6]: Leaving directory '/home/elfring/Projekte/Coccinelle/1.0.0-rc23/parsing_cocci'
Makefile:82: recipe for target 'all.opt' failed
...

Quoted 3 lines

How should this implementation detail be resolved?

Do I need to reuse an older Menhir software library here?

I haven't tried the new version of menhir. Thanks for the warning. Perhaps you can use the old version for the moment.

julia

#12 lore raw

[Cocci] 1.0.0-rc23 release - Menhir updates

Quoted 3 lines
Quoted 1 line

Do I need to reuse an older Menhir software library here?

I haven't tried the new version of menhir. Thanks for the warning.

Now I am curious when your software will work together with this one again.

Quoted 1 line

Perhaps you can use the old version for the moment.

I can reuse source files from the archive "menhir-20130911.tar.gz" (for example) for a while.

I guess that dependency management will become more interesting for corresponding software packages, won't it?

Regards,
Markus