From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Matt Weber <matthew.weber@collins.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/dnsmasq: fix build with ubus and without dnssec
Date: Wed, 16 Feb 2022 22:13:44 +0100 [thread overview]
Message-ID: <20220216211344.GD522310@scaer> (raw)
In-Reply-To: <20220214132944.2471362-1-fontaine.fabrice@gmail.com>
Fabrice, All,
On 2022-02-14 14:29 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump to version 2.86 in
> commit 5b29096f8fcb0acd8890073a56ba9d620b1f911c:
>
> rfc1035.c: In function 'report_addresses':
> rfc1035.c:978:49: error: 'struct dnsmasq_daemon' has no member named 'workspacename'
> 978 | if (!extract_name(header, len, &p, daemon->workspacename, 1, 0))
> | ^~
>
> Fixes:
> - http://autobuild.buildroot.org/results/51242d4f532373544e3c7ea45036b8d41390b29b
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> ...-not-DNSSEC-compile-options-selected.patch | 34 +++++++++++++++++++
> 1 file changed, 34 insertions(+)
> create mode 100644 package/dnsmasq/0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch
>
> diff --git a/package/dnsmasq/0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch b/package/dnsmasq/0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch
> new file mode 100644
> index 0000000000..9c98af2be5
> --- /dev/null
> +++ b/package/dnsmasq/0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch
> @@ -0,0 +1,34 @@
> +From 2c60441239e1c10c4987cb586653b1ea08f703c0 Mon Sep 17 00:00:00 2001
> +From: Simon Kelley <simon@thekelleys.org.uk>
> +Date: Tue, 28 Sep 2021 23:42:15 +0100
> +Subject: [PATCH] Fix FTBFS when CONNTRACK and UBUS but not DNSSEC compile
> + options selected.
> +
> +[Retrieved from:
> +https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=2c60441239e1c10c4987cb586653b1ea08f703c0]
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + src/dnsmasq.h | 5 ++++-
> + 1 file changed, 4 insertions(+), 1 deletion(-)
> +
> +diff --git a/src/dnsmasq.h b/src/dnsmasq.h
> +index c8a918a..3fdc1b0 100644
> +--- a/src/dnsmasq.h
> ++++ b/src/dnsmasq.h
> +@@ -1173,9 +1173,12 @@ extern struct daemon {
> + char *packet; /* packet buffer */
> + int packet_buff_sz; /* size of above */
> + char *namebuff; /* MAXDNAME size buffer */
> ++#if (defined(HAVE_CONNTRACK) && defined(HAVE_UBUS)) || defined(HAVE_DNSSEC)
> ++ /* CONNTRACK UBUS code uses this buffer, as well as DNSSEC code. */
> ++ char *workspacename;
> ++#endif
> + #ifdef HAVE_DNSSEC
> + char *keyname; /* MAXDNAME size buffer */
> +- char *workspacename; /* ditto */
> + unsigned long *rr_status; /* ceiling in TTL from DNSSEC or zero for insecure */
> + int rr_status_sz;
> + int dnssec_no_time_check;
> +--
> +2.20.1
> +
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2022-02-16 21:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-14 13:29 [Buildroot] [PATCH 1/1] package/dnsmasq: fix build with ubus and without dnssec Fabrice Fontaine
2022-02-16 21:13 ` Yann E. MORIN [this message]
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=20220216211344.GD522310@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=matthew.weber@collins.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox