package/pax-utils: needs wchar

pax-utils uses asprintf() since version 1.2.4 (commit
9c0ec154d782795daa3b7d2ae273bbda2b36ae83), and recent versions of
gnulib make use of wctomb() in their implementation of asprintf(),
causing a build failure.

While it seems to be an issue in gnulib, let's for now mark pax-utils
as being not available with !wchar toolchains.

Fixes:

  http://autobuild.buildroot.org/results/613840edba8ea161bb900f3b56d8d3605961c78f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-10-31 16:08:36 +01:00 committed by Thomas Petazzoni
parent ec6598150f
commit 04739c78e6

View File

@ -1,7 +1,11 @@
config BR2_PACKAGE_PAX_UTILS
bool "pax-utils"
depends on BR2_USE_WCHAR
help
ELF related utils for ELF 32/64 binaries that can check files
for security relevant properties.
http://www.gentoo.org/proj/en/hardened/pax-utils.xml
comment "pax-utils needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR