Repository navigation
Fix protoc version checking, since v20.x - #1875
Conversation
|
I'm trying to build this and I'm getting issue |
Can you share your config.log please? Alternatively have a look here for something else to test that might help...: |
Sure ola-git configuration log
I'll try that when I'm back at that machine. Thanks. |
That's not quite what I'm looking for unfortunately. When it runs ./configure within that process, that should generate a file called config.log with a more verbose view of the configuration stage (and the failure).
Thanks. |
|
config.log Most likely this is the problem: |
I picked the two commits with the version check into my C14 branch and added |
That looks fine.
You don't need that bit unless you're trying to cross-compile, which I suspect you aren't.
Again this doesn't tell us enough and we need the config.log which will have a more informative error like you found above, but also some key info in the lines above the error, like did my gnu++11 flagging get correctly through to that code... |
|
This is the config.log from my c14 branch mentioned above: |
|
Okay, because we're getting lots of discussion about the same stuff in lots of different places, please continue any further discussion around issues with newer protoc that aren't our versioning tests in #1879 . |
|
@kripton when you get a chance to review, I've checked with check runs that this handles new and old style protobuf versioning, so if you're happy with the code this can be merged and we can address build issues with the newest absl and protobuf in a PR linked to #1879 as this code will at least help as is for middle aged protobuf. |
|
Sorry that it took me so long. to on my machine featureing protobuf 23.3-r2 and protobuf-c 1.4.1-r1 I need yet to find out why but since it IS able to detect the version of protoc correctly, I would merge this now. I might further investigate this tomorrow evening. |
kripton
left a comment
There was a problem hiding this comment.
Formal approval since the changes look good and they work for people. Header problem is probably local to my machine
What does your config.log look like? |
I'm seeing the same configuration error using v0.10.9 + this patch. See my config.log or CI run logs for details. The config.log includes the Abseil error requiring > C++14 so that is already tracked as #1879. |
|
Why is this pr not merged, the header problem does not look to be related to the version parsing. |
|
I think I was hoping for some more positive noises from someone else @jasger9000 . As far as I can see, my tests on action runs have been the only successful usage of this change, and aside from running Does the change work for you and does OLA function correctly afterwards? |
Not completely, unfortunately, I also hang at the script not finding my protoc header files, the regex however works perfectly. This looks however like a misconfiguration of
I currently don't have a manual build, since I use a build from the proaudio Arch Linux repo since they had an up-to-date binary available. |
|
@jasger9000 there is no easy fix for that in ola because the underlying issue is missing C++14 compatibility, see #1879. I'll add the protoc compat package from @topas-rec to the proaudio repo later and finally fix the ola PKGBUILD for that. Will have to check for potential conflicts with the official protoc package tho. |
Okay that will do me, I've merged it now. As @cbix notes, the reason it fails is because of C++14 (or even later compatibility) as tracked in the other issue. If you look at the config.log it has stuff like this: in_place_t is I think C++17 (not even 14!). |
Closes #1867