package/pax-utils: needs wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 31 Oct 2020 15:08:36 +0000 (16:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 31 Oct 2020 20:42:38 +0000 (21:42 +0100)
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>
package/pax-utils/Config.in

index 58100e482afdd108f112cabdc4385b6f6dcc667f..ebcca98500bc7c2f924f745a1ecbf8062f1fd185 100644 (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