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 <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2026-05-20 11:22:31 +03:00
committed by Alexandru Ardelean
parent 8c62419cd8
commit d4d4e3e419
+2
View File
@@ -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 depend is required to avoid race conditions: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996953
+$(MAKE) -C $(PKG_BUILD_DIR) depend +$(MAKE) -C $(PKG_BUILD_DIR) depend
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) +$(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 endef
ifeq ($(CONFIG_arc),) ifeq ($(CONFIG_arc),)