Skip to content

packages/exim: fix build failures

Peter Korsgaard buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/3] packages/exim: fix build failures
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Luca" == Luca Ceresoli <[email protected]> writes:

exim is failing on the autobuilders since the version bump to 4.93 (commit 6038c3232acfdb: "package/exim: bump version to 4.93.0.3").

Commit 2c692e81a844b30b ("package/exim: fix host build") fixed one failure when building the host tools, but we still have a similar ("'for' loop initial declarations are only allowed in C99 mode") one when cross-building target files.

In patch 1 I applied a similar fix (add -std=c99), but more failures started appearing later in the build process.

I have not completely understood the new failures, yet with a couple of patches it is now building. This is done in patch 2 but I'm not sure it is a correct solution.

Quoted 6 lines

Finally another failure appeared. It is yet another for-loop-initial-declaration error, but happens later in the install step. This is fixed in patch 3 adding another -std=c99.

I cannot work on this issue for the next few days, so here are my patches, as-is, in case anybody wants to have a look before 2020.02.

Thanks, the patches looks sensible to me. Did you submit them upstream? We normally add a link to that in the patches.

Signature · 1 line
Bye, Peter Korsgaard