From: Peter Korsgaard <peter@korsgaard.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/3] package/e2fsprogs: don't install compile_et
Date: Thu, 02 Dec 2021 18:33:12 +0100 [thread overview]
Message-ID: <871r2uewtj.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20211019172532.3431240-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 19 Oct 2021 19:25:30 +0200")
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Don't install compile_et as it raises the following build failure with
> samba4 since, at least, bump to version 4.14.7 in commit
> 630e85f8f5ed64933b45599fc4332d9609177c5c:
> source4/heimdal/lib/asn1/asn1_err.c:47:23: error: 'link' redeclared as different kind of symbol
> 47 | static struct et_list link = { 0, 0 };
> | ^~~~
> In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/s390x-buildroot-linux-gnu/sysroot/usr/include/bits/sigstksz.h:24,
> from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/s390x-buildroot-linux-gnu/sysroot/usr/include/signal.h:328,
> from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/s390x-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28,
> from ../../lib/replace/../replace/replace.h:659,
> from ../../source4/heimdal_build/config.h:10,
> from source4/heimdal/lib/asn1/asn1_err.c:1:
> /home/giuliobenetti/autobuild/run/instance-1/output-1/host/s390x-buildroot-linux-gnu/sysroot/usr/include/unistd.h:819:12: note: previous declaration of 'link' was here
> 819 | extern int link (const char *__from, const char *__to)
> | ^~~~
> Fixes:
> - http://autobuild.buildroot.org/results/d6de6ed59c553f6f413d280f3c65184945bb3850
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/e2fsprogs/e2fsprogs.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
> diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
> index ca891066a2..76215e8c34 100644
> --- a/package/e2fsprogs/e2fsprogs.mk
> +++ b/package/e2fsprogs/e2fsprogs.mk
> @@ -90,5 +90,11 @@ define HOST_E2FSPROGS_INSTALL_CMDS
> $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) install install-libs
> endef
> +# Remove compile_et which raises a build failure with samba4
> +define HOST_E2FSPROGS_REMOVE_COMPILE_ET
> + $(RM) $(HOST_DIR)/bin/compile_et
> +endef
> +HOST_E2FSPROGS_POST_INSTALL_HOOKS += HOST_E2FSPROGS_REMOVE_COMPILE_ET
This is not so great as you then end up if without compile_et is
e2fsprogs is (re)built after heimdall - But OK, heimdall depends on
e2fsprogs so in a normal build this will not trigger.
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2021-12-02 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 17:25 [Buildroot] [PATCH 1/3] package/e2fsprogs: don't install compile_et Fabrice Fontaine
2021-10-19 17:25 ` [Buildroot] [PATCH 2/3] package/heimdal: " Fabrice Fontaine
2021-12-02 17:35 ` Peter Korsgaard
2021-12-12 11:49 ` Peter Korsgaard
2021-10-19 17:25 ` [Buildroot] [PATCH 3/3] package/samba4: drop third patch Fabrice Fontaine
2021-12-02 17:35 ` Peter Korsgaard
2021-12-12 11:49 ` Peter Korsgaard
2021-12-02 17:33 ` Peter Korsgaard [this message]
2021-12-12 11:49 ` [Buildroot] [PATCH 1/3] package/e2fsprogs: don't install compile_et Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871r2uewtj.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.