From d4d4e3e4194dd6673c4f9eec5f4ee841c28b026c Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 20 May 2026 11:22:31 +0300 Subject: [PATCH] perl: fix miniperl missing execute permission (CI fix) On some build systems, the miniperl binary is created without execute permission (errno 126 when running it as /bin/sh). This breaks building the mro extension and cascades to all dependent packages. Fix by ensuring chmod +x on miniperl after the main build step. This matches how many other build systems handle this same issue. Signed-off-by: Alexandru Ardelean --- lang/perl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/perl/Makefile b/lang/perl/Makefile index 3a3910c9d9..50e76cafe8 100644 --- a/lang/perl/Makefile +++ b/lang/perl/Makefile @@ -135,6 +135,8 @@ define Build/Compile # make depend is required to avoid race conditions: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996953 +$(MAKE) -C $(PKG_BUILD_DIR) depend +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) + # miniperl may lack execute permission on some build systems, fix it for extension builds + chmod +x $(PKG_BUILD_DIR)/miniperl endef ifeq ($(CONFIG_arc),)