Procházet zdrojové kódy

package/ltrace: mark as unavailable on musl

Commit bf9583a50276f52edbc37d9f85df5f2cc7fdb5dc enabled elfutils on
musl, as well as all its reverse dependencies, including ltrace. Turns
out that even with elfutils fixed, ltrace doesn't build on musl.

Fabrice proposed a patch to fix it, at:

  https://patchwork.ozlabs.org/project/buildroot/patch/20231104155857.110364-1-fontaine.fabrice@gmail.com/

but ltrace has no active upstream, and some aspects of the patch don't
look correct. So err on the safe side and make ltrace unavailable for
musl configurations.

Fixes:

  http://autobuild.buildroot.org/results/a3a5c46e8562d3f091a9b4b205322168fbf9d16b

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas Petazzoni před 9 měsíci
rodič
revize
859bd54582
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 4 2
      package/ltrace/Config.in

+ 4 - 2
package/ltrace/Config.in

@@ -15,6 +15,7 @@ config BR2_PACKAGE_LTRACE
 	depends on BR2_USE_WCHAR # elfutils
 	depends on !BR2_STATIC_LIBS # elfutils
 	depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
+	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
 	depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
 	select BR2_PACKAGE_ELFUTILS
 	help
@@ -25,7 +26,8 @@ config BR2_PACKAGE_LTRACE
 
 	  http://ltrace.org
 
-comment "ltrace needs a toolchain w/ wchar, dynamic library, threads"
+comment "ltrace needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
 	depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
 	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
-		|| !BR2_TOOLCHAIN_HAS_THREADS
+		|| !BR2_TOOLCHAIN_HAS_THREADS \
+		|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)