On Wed, Aug 01, 2018 at 11:03:39AM +0200, Sebastien Marie wrote:
> Hi,
> 
> After issuing a "make clean=build" on a port, I am unable to build
> again.
> 
> "make" failed in 'configure' stage:
> 
> $ make
> ...
> /bin/sh: cannot create 
> /home/semarie/repos/openbsd/ports/pobj/rust-1.28.0/bin/aclocal: Permission 
> denied
> *** Error 1 in . 
> (/home/semarie/repos/openbsd/ports/infrastructure/mk/bsd.port.mk:2689 
> '_post-configure-finalize': @printf '#!/bin/sh\nexit ...)
> *** Error 1 in . 
> (/home/semarie/repos/openbsd/ports/infrastructure/mk/bsd.port.mk:2708 
> '/home/semarie/repos/openbsd/ports/pobj/rust-1.28.0/build-amd64/.configure_done')
> *** Error 1 in /home/semarie/ports/mystuff/lang/rust 
> (/home/semarie/repos/openbsd/ports/infrastructure/mk/bsd.port.mk:2396 'all')
> 
> It is due to _post-configure-finalize target that chmod 555 on the file,
> and after that, ksh is unable to override it.
> 
> One possibility is to have just 755 on mode.
> 
> Another would be to rm -f ${WRKDIR}/bin/${_wrap} before the printf.
> 
> Thanks.
> -- 
> Sebastien Marie
Oh, actually, the aclocal part was not intended at all. Lol

Reply via email to