Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] packages/exim: fix build failures
@ 2020-02-07 15:14 Luca Ceresoli
  2020-02-07 15:14 ` [Buildroot] [PATCH 1/3] package/exim: fix target build on some toolchains Luca Ceresoli
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Luca Ceresoli @ 2020-02-07 15:14 UTC (permalink / raw)
  To: buildroot

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.

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.

Luca

Luca Ceresoli (3):
  package/exim: fix target build on some toolchains
  package/exim: fix various build failures
  package/exim: fix build error during install step

 ..._lock-fix-lstat-related-build-errors.patch | 50 +++++++++++++++++++
 .../exim/0006-sieve-fix-build-errors.patch    | 41 +++++++++++++++
 package/exim/exim.mk                          |  7 ++-
 3 files changed, 96 insertions(+), 2 deletions(-)
 create mode 100644 package/exim/0005-exim_lock-fix-lstat-related-build-errors.patch
 create mode 100644 package/exim/0006-sieve-fix-build-errors.patch

-- 
2.25.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-10  9:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-07 15:14 [Buildroot] [PATCH 0/3] packages/exim: fix build failures Luca Ceresoli
2020-02-07 15:14 ` [Buildroot] [PATCH 1/3] package/exim: fix target build on some toolchains Luca Ceresoli
2020-02-07 15:14 ` [Buildroot] [PATCH 2/3] package/exim: fix various build failures Luca Ceresoli
2020-02-07 15:14 ` [Buildroot] [PATCH 3/3] package/exim: fix build error during install step Luca Ceresoli
2020-02-08  8:02 ` [Buildroot] [PATCH 0/3] packages/exim: fix build failures Peter Korsgaard
2020-02-10  9:01   ` Luca Ceresoli
2020-02-10  9:50     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox