Requires patching configure.ac as usual, as major_version will change, and no doubt other things too.
branch at asf/2200-feature-support-erlang-17.0
Generally where-ever we check for early-ish OTP releases like R13B04 or R14B03 (all NIF support related), we need to accommodate the new '17' format instead of R14 or similar. This should stay within configure.ac.
While the branch compiles & passes tests on OSX with OTP 17.0rc2, I still haven't gotten the configure.ac test working right for the older R* formats. Feel free to push a better solution.
imo we should rather focus on the new erlang build. there is no real reason to support r17 for the current couchdb product.
In the mean time, nobody has reviewed the rebar build, so of course, we will need to stick with the current build.... Anyway fair enough.
This would be useful for myself. I'm attempting to upgrade the erlang Formula in Mac Hombrew to use 17.0, and couchdb not supporting 17.0 is a blocker.
Just updated Erlang to 17.0 on Gentoo (it's already available for this OS for week or two as like as for Debian repos) and applied Dave's patch. All tests passed without additional changes.
+1 to merge, not that you need it under our committer rules.
To be clear, I was speaking to Dave in my last comment.
thanks Alexander Shorin for gentoo update. Unfortunately my hack doesn't work for older erlang versions, so we can't merge it just yet. I've not gotten the incantations right for both just yet.
Dave Cottlehuber it works, I ran the tests on Gentoo and FreeBSD against R14, R15 and R16. One moment is about comparison warnings: I left the note on GH about
Commit 296de8b1fe69e66d649294fd0445449b18c49194 in couchdb's branch refs/heads/master from Dave Cottlehuber
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=296de8b ]
Merge branch 'refs/heads/2200-feature-support-erlang-17.0'