New release after 1.0.7?
Hi,
Is there a plan for a new release after 1.0.7? 1.0.7 was not tagged and no tarballs were released, so I'm not sure what is the status of it. Additionally, I've had problems compiling it, and bisected it to this commit:
commit 7ab8f01b63d7cdec988e5f05065f3c18fdab7319 (refs/bisect/bad)
Author: Thierry Martinez <[email protected]> AuthorDate: Wed Jun 20 15:46:18 2018 +0200 Commit: Thierry Martinez <[email protected]> CommitDate: Wed Jun 20 15:46:18 2018 +0200
Allow bytecode compilation for pyml/generate
This change generalizes a patch submitted by
Christopher Zimmermann <[email protected]>
for allowing pyml/generate to be compiled by ocamlc if ocamlopt is not available.
The rules are adapted from pyml-current/Makefile.
Nevertheless, the compilation problem I had seems to be fixed in the latest master (commit 97695d059cd5).
We (in the Linux backports project) have made a change to support the new attributes style[1], which was supposed to work with 1.0.6, but that seems to be broken too.
We don't want to revert to using the pre-1.0.6 versions, so we are waiting for new release to choose for our project. So, my question again, can we expect a new stable release any time soon?
--
Cheers,
Luca.
Quoted 25 lines · Luciano Coelho
Hi,
Is there a plan for a new release after 1.0.7? 1.0.7 was not tagged and no tarballs were released, so I'm not sure what is the status of it. Additionally, I've had problems compiling it, and bisected it to this commit:
commit
7ab8f01b63d7cdec988e5f05065f3c18fdab7319(refs/bisect/bad)Author: Thierry Martinez <[email protected]> AuthorDate: Wed Jun 20 15:46:18 2018 +0200 Commit: Thierry Martinez <[email protected]> CommitDate: Wed Jun 20 15:46:18 2018 +0200Allow bytecode compilation for pyml/generate
This change generalizes a patch submitted by
Christopher Zimmermann <[email protected]>
for allowing pyml/generate to be compiled by ocamlc if ocamlopt is not available.The rules are adapted from pyml-current/Makefile.
Nevertheless, the compilation problem I had seems to be fixed in the latest master (commit
97695d059cd5).
Quoted 7 lines
We (in the Linux backports project) have made a change to support the new attributes style[1], which was supposed to work with 1.0.6, but that seems to be broken too.
We don't want to revert to using the pre-1.0.6 versions, so we are waiting for new release to choose for our project. So, my question again, can we expect a new stable release any time soon?
Sorry, I'm not sure where 1.0.7 came from. I think that the compilation issues should not be resolved, although if someone still sees problems with the github version please report them. I'm surprised that the attributes have degraded, since I don't recall a change with respect to that recently. Could you send a .c and .cocci file that shows the problem?
I would indeed like to make a release now that the compiations issues are resolved and things seem more stable.
julia
Quoted 12 lines
--
Cheers,
Luca.
_______________________________________________
Cocci mailing list
Cocci at systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
Hi Julia,
Thanks for the quick response!
Quoted 37 lines · Julia Lawall
Quoted 34 lines · Luciano Coelho
Hi,
Is there a plan for a new release after 1.0.7? 1.0.7 was not tagged and
no tarballs were released, so I'm not sure what is the status of it.
Additionally, I've had problems compiling it, and bisected it to this
commit:commit
7ab8f01b63d7cdec988e5f05065f3c18fdab7319(refs/bisect/bad)Author: Thierry Martinez <[email protected]> AuthorDate: Wed Jun 20 15:46:18 2018 +0200 Commit: Thierry Martinez <[email protected]> CommitDate: Wed Jun 20 15:46:18 2018 +0200Allow bytecode compilation for pyml/generate
This change generalizes a patch submitted by
Christopher Zimmermann <[email protected]>
for allowing pyml/generate to be compiled by ocamlc if ocamlopt is not available.The rules are adapted from pyml-current/Makefile.
Nevertheless, the compilation problem I had seems to be fixed in the
latest master (commit97695d059cd5).We (in the Linux backports project) have made a change to support the
new attributes style[1], which was supposed to work with 1.0.6, but that seems to be broken too.
Quoted 5 lines
Quoted 3 lines
We don't want to revert to using the pre-1.0.6 versions, so we are waiting for new release to choose for our project. So, my question again, can we expect a new stable release any time soon?
Sorry, I'm not sure where 1.0.7 came from.
This is the version bump in the git repo:
commit c1522bde1ffff0ba8b977fd1e9bd259635ef6a3a
Author: Thierry Martinez <[email protected]> AuthorDate: Wed Jul 4 16:06:35 2018 +0200 Commit: Thierry Martinez <[email protected]> CommitDate: Wed Jul 4 16:57:00 2018 +0200
Release 1.0.7
Quoted 8 lines
I think that the compilation
issues should not be resolved, although if someone still sees problems
with the github version please report them. I'm surprised that the attributes have degraded, since I don't recall a change with respect to
that recently. Could you send a .c and .cocci file that shows the problem?
I'm not sure it's a regression, but I just couldn't get the attributes to work with 1.0.6 either with and without Johannes' changes to upgrade it to the 1.0.6 syntax.
This is the cocci that doesn't work (which is supposed to work with 1.0.6):
And, IIRC, this is the file that it's supposed to alter:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/wireless/nl80211.c
Quoted 3 lines
I would indeed like to make a release now that the compiations issues are
resolved and things seem more stable.
Sounds good! :)
--
Cheers,
Luca.
Quoted 4 lines
I'm not sure it's a regression, but I just couldn't get the attributes to work with 1.0.6 either with and without Johannes' changes to upgrade it to the 1.0.6 syntax.
Quoted 8 lines
This is the cocci that doesn't work (which is supposed to work with 1.0.6):
And, IIRC, this is the file that it's supposed to alter:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/wireless/nl80211.c
With the current version, I get the diff below. Is it what you expect?
julia
tmp/cocci-output-11687-71a383-nl80211.c renamed from nl80211.c +6 -4
@@ -48,7 +48,7 @@ enum nl80211_multicast_groups {NL80211_MCGRP_TESTMODE /* keep last - ifdef! */ }; -static const struct genl_multicast_group nl80211_mcgrps[] = { +static __genl_const struct genl_multicast_group nl80211_mcgrps[] = { [NL80211_MCGRP_CONFIG ] = { .name =NL80211_MULTICAST_GROUP_CONFIG }, [NL80211_MCGRP_SCAN ] = { .name =NL80211_MULTICAST_GROUP_SCAN }, [NL80211_MCGRP_REGULATORY ] = { .name =NL80211_MULTICAST_GROUP_REG },
@@ -12894,7 +12894,8 @@ static int nl80211_tx_control_port(struc NL80211_FLAG_CHECK_NETDEV_UP)#define NL80211_FLAG_CLEAR_SKB 0x20 -static int nl80211_pre_doit (const struct genl_ops *ops,struct sk_buff *skb, +static int nl80211_pre_doit(__genl_const struct genl_ops *ops, +struct sk_buff *skb,struct genl_info *info) {struct cfg80211_registered_device *rdev;
@@ -12956,7 +12957,8 @@ static int nl80211_pre_doit(const structreturn 0 ; } -static void nl80211_post_doit (const struct genl_ops *ops,struct sk_buff *skb, +static void nl80211_post_doit(__genl_const struct genl_ops *ops, +struct sk_buff *skb,struct genl_info *info) {if (info->user_ptr[1 ]) {
@@ -12985,7 +12987,7 @@ static void nl80211_post_doit(const stru } } -static const struct genl_ops nl80211_ops[] = { +static __genl_const struct genl_ops nl80211_ops[] = { { .cmd =NL80211_CMD_GET_WIPHY , .doit = nl80211_get_wiphy,
Quoted 10 lines · Julia Lawall
Quoted 10 lines
I'm not sure it's a regression, but I just couldn't get the attributes
to work with 1.0.6 either with and without Johannes' changes to upgrade
it to the 1.0.6 syntax.This is the cocci that doesn't work (which is supposed to work with 1.0.6):
Quoted 4 lines
Quoted 4 lines
And, IIRC, this is the file that it's supposed to alter:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/wireless/nl80211.c
Quoted 43 lines
With the current version, I get the diff below. Is it what you expect?
julia
tmp/cocci-output-11687-71a383-nl80211.c renamed from nl80211.c +1
-1@@ -48,7 +48,7 @@ enum nl80211_multicast_groups {NL80211_MCGRP_TESTMODE /* keep last - ifdef! */ }; -static const struct genl_multicast_group nl80211_mcgrps[] = { +static __genl_const struct genl_multicast_group nl80211_mcgrps[] = { [NL80211_MCGRP_CONFIG ] = { .name =NL80211_MULTICAST_GROUP_CONFIG }, [NL80211_MCGRP_SCAN ] = { .name =NL80211_MULTICAST_GROUP_SCAN },
[NL80211_MCGRP_REGULATORY] = { .name =NL80211_MULTICAST_GROUP_REG},tmp/cocci-output-11687-71a383-nl80211.c renamed from nl80211.c +2
-1@@ -12894,7 +12894,8 @@ static int nl80211_tx_control_port(struc NL80211_FLAG_CHECK_NETDEV_UP)#define NL80211_FLAG_CLEAR_SKB 0x20 -static int nl80211_pre_doit (const struct genl_ops *ops,struct sk_buff *skb, +static int nl80211_pre_doit(__genl_const struct genl_ops *ops, + struct sk_buff *skb, struct genl_info *info) {tmp/cocci-output-11687-71a383-nl80211.c renamed from nl80211.c +2
-1struct cfg80211_registered_device *rdev;@@ -12956,7 +12957,8 @@ static int nl80211_pre_doit(const structreturn 0 ; } -static void nl80211_post_doit (const struct genl_ops *ops,struct sk_buff *skb, +static void nl80211_post_doit(__genl_const struct genl_ops *ops, + struct sk_buff *skb, struct genl_info *info) {tmp/cocci-output-11687-71a383-nl80211.c renamed from nl80211.c +0
-0if (info->user_ptr[1 ]) {
tmp/cocci-output-11687-71a383-nl80211.c static void nl80211_post_doit(const stru · line 12993
Quoted 8 lines
tmp/cocci-output-11687-71a383-nl80211.c renamed from nl80211.c +1
-1@@ -12985,7 +12987,7 @@ static void nl80211_post_doit(const stru } } -static const struct genl_ops nl80211_ops[] = { +static __genl_const struct genl_ops nl80211_ops[] = { { .cmd =NL80211_CMD_GET_WIPHY , .doit = nl80211_get_wiphy,
Yes, this looks right! So it seems to be working with 1.0.8. :P
Thanks a lot for checking and helping here.
--
Cheers,
Luca.
Quoted 2 lines · Luciano Coelho
Yes, this looks right! So it seems to be working with 1.0.8. :P
There is no 1.0.8 though.
Julia, can you clear up the confusion with 1.0.7 and perhaps make a 1.0.8 release? Right now, there's only a very old (1.0.4 I think) release that can do this at all, but it isn't compatible with the current syntax. We'd like to have a release that has this ability so we can check for the (minimum) version.
Thanks,
johannes
Quoted 5 lines · Johannes Berg
Quoted 2 lines · Luciano Coelho
Yes, this looks right! So it seems to be working with 1.0.8. :P
There is no 1.0.8 though.
I know, I was just hinting that what works now should be released as 1.0.8. ;)
--
Luca.
--
To unsubscribe from this list: send the line "unsubscribe backports" in
[Cocci] Adjustment for const qualification
In reply to Luciano CoelhoQuoted 1 line
How do you think about to try the following SmPL script variant out?
@replacement@
@@
-const
+__genl_const
struct
(
genl_multicast_group
|genl_ops
)
Regards,
Markus
[Cocci] Adjustment for const qualification
Quoted 9 lines · SF Markus Elfring
Quoted 1 line
How do you think about to try the following SmPL script variant out?
@replacement@
@@(quoted diff) +1
-1-const +__genl_const struct
Quoted 4 lines
(
genl_multicast_group
|genl_ops
)
This is rejected by the semantic patch parser.
julia
[Cocci] Adjustment for const qualification
Quoted 13 lines
Quoted 11 lines
How do you think about to try the following SmPL script variant out?
@replacement@
@@(quoted diff) +1
-1-const +__genl_const struct(
genl_multicast_group
|genl_ops
)This is rejected by the semantic patch parser.
Can my update suggestion make sense if the parsing software will be adjusted anyhow?
Does this variant need a small adjustment to get it working with the current tool version?
Regards,
Markus
[Cocci] Adjustment for const qualification
Quoted 14 lines · SF Markus Elfring
Quoted 13 lines
Quoted 11 lines
How do you think about to try the following SmPL script variant out?
@replacement@
@@(quoted diff) +1
-1-const +__genl_const struct(
genl_multicast_group
|genl_ops
)This is rejected by the semantic patch parser.
Quoted 5 lines
Can my update suggestion make sense if the parsing software will be adjusted anyhow?
Does this variant need a small adjustment to get it working with the current tool version?
I don't know. It may be large and it may be small. You are welcome to try to change it if you want. Otherwise it doesn't seem urgent.
julia
Re: [Cocci] Adjustment for const qualification
In reply to Julia LawallQuoted 1 line
This is rejected by the semantic patch parser.
The software version “Coccinelle 1.0.7-00472-g99fc302b” accepts the following SmPL script variant.
@replacement@
attribute name __genl_const;
@@
-const
+__genl_const
struct
(genl_multicast_group
|genl_ops
)
Would it be nice if such a transformation approach can work also without the specified metavariable?
https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/tree/patches/0027-genl-const/genl-const.cocci?id=694b78f1533eb72c638c83754e0567630a93f456
Regards,
Markus
--
To unsubscribe from this list: send the line "unsubscribe backports" in
Julia,
Quoted 4 lines · Julia Lawall
Sorry, I'm not sure where 1.0.7 came from. [...]
I would indeed like to make a release now that the compiations issues are resolved and things seem more stable.
Were you able to clear this up?
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commit c1522bde ("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?
johannes
Quoted 11 lines · Johannes Berg
Julia,
Quoted 4 lines · Julia Lawall
Sorry, I'm not sure where 1.0.7 came from. [...]
I would indeed like to make a release now that the compiations issues are resolved and things seem more stable.
Were you able to clear this up?
Quoted 7 lines
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commitc1522bde("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?
I'm still somewhat lost about it. There is now a 1.0.7 source code on the web site, which is the proper 1.0.7. But the binaries on the web site are still 1.0.6. The previous thing that seemed to be 1.0.7 was an accidental side effect of a test of the release script. I think that my engineer was waiting me to confirm something before putting a tag in github, but I'm not sure what I was to confirm. I will try to clear everything up. But the source code on the Coccinelle website is the official 1.0.7.
julia
Quoted 11 lines · Johannes Berg
Julia,
Quoted 4 lines · Julia Lawall
Sorry, I'm not sure where 1.0.7 came from. [...]
I would indeed like to make a release now that the compiations issues are resolved and things seem more stable.
Were you able to clear this up?
Quoted 7 lines
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commitc1522bde("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?
There is now a tag for the official release of 1.0.7 in github.
julia
Quoted 9 lines · Julia Lawall
Quoted 7 lines
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commitc1522bde("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?There is now a tag for the official release of 1.0.7 in github.
Great, thanks!
johannes
Quoted 10 lines · Johannes Berg
Quoted 8 lines · Julia Lawall
Quoted 7 lines
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commitc1522bde("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?
Quoted 3 lines
Quoted 1 line
There is now a tag for the official release of 1.0.7 in github.
Great, thanks!
Were you able to build this tag? I probably have dependency issues on our build server. I tried following the install.txt in coccinelle repo, but still getting failures. Some hints might be useful. The server runs ubuntu trusty which is pretty old of course.
Gr. AvS
--
To unsubscribe from this list: send the line "unsubscribe backports" in
Quoted 11 lines · Arend van Spriel
Quoted 10 lines · Johannes Berg
Quoted 8 lines · Julia Lawall
Quoted 7 lines
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commitc1522bde("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
There is now a tag for the official release of 1.0.7 in github.
Great, thanks!
Were you able to build this tag? I probably have dependency issues on our build server. I tried following the install.txt in coccinelle repo, but still getting failures. Some hints might be useful. The server runs ubuntu trusty which is pretty old of course.
Hmm. I built something, either that tag or the tarball?
johannes
--
To unsubscribe from this list: send the line "unsubscribe backports" in
Quoted 16 lines · Johannes Berg
Quoted 15 lines · Arend van Spriel
Quoted 13 lines · Johannes Berg
Quoted 9 lines · Julia Lawall
Quoted 7 lines
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commitc1522bde("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?There is now a tag for the official release of 1.0.7 in github.
Great, thanks!
Quoted 8 lines
Quoted 4 lines
Were you able to build this tag? I probably have dependency issues on our build server. I tried following the install.txt in coccinelle repo, but still getting failures. Some hints might be useful. The server runs ubuntu trusty which is pretty old of course.
Hmm. I built something, either that tag or the tarball?
johannes
I built the tag on Debian stable successfully, some older versions did not build but this tag worked.
Hauke
Quoted 22 lines · Hauke Mehrtens
Quoted 21 lines · Johannes Berg
Quoted 19 lines · Arend van Spriel
Quoted 10 lines · Johannes Berg
Quoted 8 lines · Julia Lawall
Quoted 7 lines
I see now that the website advertises the 1.0.7 release, however
* it's not tagged in git(hub) - all previous releases have a tag
* commitc1522bde("Release 1.0.7") is NOT what's released as 1.0.7 on the website
* it *looks* like the actual 1.0.7 release was cut from a much newer git commit, likely with the fix?Quoted 3 lines
Quoted 1 line
There is now a tag for the official release of 1.0.7 in github.
Great, thanks!
Were you able to build this tag? I probably have dependency issues on our build server. I tried following the install.txt in coccinelle repo, but still getting failures. Some hints might be useful. The server runs ubuntu trusty which is pretty old of course.
Quoted 6 lines
Quoted 3 lines
Hmm. I built something, either that tag or the tarball?
johannes
I built the tag on Debian stable successfully, some older versions did not build but this tag worked.
That is Debian 9.5 I take it?
Gr. AvS
--
To unsubscribe from this list: send the line "unsubscribe backports" in