From: Alexandru Ardelean Date: Wed, 20 May 2026 08:22:31 +0000 (+0300) Subject: perl: fix miniperl missing execute permission (CI fix) X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d4d4e3e4194dd6673c4f9eec5f4ee841c28b026c;p=openwrt-packages.git 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 --- diff --git a/lang/perl/Makefile b/lang/perl/Makefile index 3a3910c9d..50e76cafe 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),)