tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

apache24 failure




www/apache24 is failing stage-qa on CentOS:

/bin/chmod -x /home/bacon/Pkgsrc/pkgsrc/www/apache24/work/.destdir/home/bacon/Pkgsrc/pkg/sbin/envvars-std /bin/chmod: /home/bacon/Pkgsrc/pkgsrc/www/apache24/work/.destdir/home/bacon/Pkgsrc/pkg/sbin/envvars-std: new permissions are rw-r--r-x, not rw-r--r--
*** Error code 1

Stop.
bmake.bin[2]: stopped in /home/bacon/Pkgsrc/pkgsrc/www/apache24
*** Error code 1

Stop.
bmake.bin[1]: stopped in /home/bacon/Pkgsrc/pkgsrc/www/apache24
*** Error code 1

Stop.
bmake.bin: stopped in /home/bacon/Pkgsrc/pkgsrc/www/apache24
** 'cd /home/bacon/Pkgsrc/pkgsrc/www/apache24 && /home/bacon/Pkgsrc/pkg/bin/bmake.bin update CLEANDEPENDS=yes' failed ** ** 'cd /home/bacon/Pkgsrc/pkgsrc/www/apache24 && /home/bacon/Pkgsrc/pkg/bin/bmake.bin update CLEANDEPENDS=yes' failed

Any concerns about the following fix? Based on the CentOS chmod man page, it seems like omitting the 'a' should work, but it doesn't.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/apache24/Makefile,v
retrieving revision 1.92
diff -u -r1.92 Makefile
--- Makefile    2 Jun 2020 08:24:55 -0000    1.92
+++ Makefile    21 Jun 2020 20:27:24 -0000
@@ -194,9 +194,9 @@
     ${CHOWN} ${MANOWN}:${MANGRP} ${DESTDIR}${PREFIX}/${PKGMANDIR}/${file}
 .endfor

-    ${CHMOD} -x ${DESTDIR}${PREFIX}/sbin/envvars-std
+    ${CHMOD} a-x ${DESTDIR}${PREFIX}/sbin/envvars-std
 .if exists(${DESTDIR}${PREFIX}/sbin/suexec)
-    ${CHMOD} -w ${DESTDIR}${PREFIX}/sbin/suexec
+    ${CHMOD} a-w ${DESTDIR}${PREFIX}/sbin/suexec
 .endif

 .include "../../mk/pthread.buildlink3.mk"




Home | Main Index | Thread Index | Old Index