vector icon indicating copy to clipboard operation
vector copied to clipboard

Fails to build with GCC 15

Open sergiodj opened this issue 10 months ago • 3 comments

Hi,

I'm filing this issue to let you know that vector is currently FTBFSing with GCC 15 (development version, snapshot from 20250411).

It's currently being affected by two problems:

  • https://github.com/MaterializeInc/rust-krb5-src/issues/28
  • https://github.com/rust-onig/rust-onig/issues/191

I'm attaching the full build log here just in case.

vector-0.46.1-r0.log

Thanks.

sergiodj avatar Apr 15 '25 20:04 sergiodj

Hi @sergiodj I noticed this too. vrl is the one depending on rust-onig through grok crate. I updated grok to 2.1.0 in https://github.com/vectordotdev/vrl/pull/1420 to fix vrl compilation.

I think rust-krb5-src may be a little more problematic to fix...

As a workaround, I think I will use CC=gcc-14 cargo build 😄

jorgehermo9 avatar Jun 09 '25 17:06 jorgehermo9

FYI krb5-src has been abandoned and archived. I don't think we'll see a fix coming from that direction.

See https://github.com/vectordotdev/vector/issues/24208#issuecomment-3554699363

lfrancke avatar Nov 20 '25 11:11 lfrancke

The "fix" here is that we unfortunately have to wait for the folks at rdkafka to add sasl support some other way. Only then can we bump rdkafka's version and close this.

thomasqueirozb avatar Nov 20 '25 21:11 thomasqueirozb