From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/usbguard: disable on musl
Date: Sun, 18 Jul 2021 21:14:47 +0200 [thread overview]
Message-ID: <20210718211447.1c57ac78@windsurf> (raw)
In-Reply-To: <20210704154848.3401838-1-fontaine.fabrice@gmail.com>
On Sun, 4 Jul 2021 17:48:48 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> usbguard doesn't build on musl because it uses GNU version of strerror_r
> as well as basename resulting in the following build failure:
>
> In file included from ./src/Library/public/usbguard/Rule.hpp:24,
> from src/CLI/usbguard-rule-parser.cpp:23:
> ./src/Library/public/usbguard/Exception.hpp: In static member function 'static std::string usbguard::ErrnoException::reasonFromErrno(int)':
> ./src/Library/public/usbguard/Exception.hpp:129:72: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(int)'
> 129 | return std::string(strerror_r(errno_value, buffer, sizeof buffer));
> |
>
> Fixes:
> - http://autobuild.buildroot.org/results/ac1fd7b8c7bd65c73a9213a40c5ed1c39204dab0
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/usbguard/Config.in | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2021-07-18 19:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-04 15:48 [Buildroot] [PATCH 1/1] package/usbguard: disable on musl Fabrice Fontaine
2021-07-18 19:14 ` Thomas Petazzoni [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=20210718211447.1c57ac78@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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.