tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/39528: src/tools/file fails to install due to permission problem
> >Synopsis: src/tools/file fails to install due to permission problem
:
> >Description:
> On build.sh tools, "make install" in src/tools/files invokes
> "src/dist/file/install-sh" script directly for "MKDIR_P"
> (at least on NetBSD/i386 4.99.72 host).
>
> But source sets in the [RELEASE]/source/sets directory
> (which are created by src/distrib/sets/makesrcsets)
> don't preserve executable bits in archives, so
> the installation fails due to "permission denied."
Is it okay to commit this workaround for builds with source tar sets?
If there is no objection, I'll commit this in this weekend.
> ===================================================================
> RCS file: /cvsroot/src/dist/file/configure,v
> retrieving revision 1.19
> diff -u -r1.19 configure
> --- dist/file/configure 30 Aug 2008 12:16:51 -0000 1.19
> +++ dist/file/configure 13 Sep 2008 01:38:54 -0000
> @@ -2159,7 +2159,7 @@
> # break other packages using the cache if that directory is
> # removed, or if the value is a relative name.
> test -d ./--version && rmdir ./--version
> - MKDIR_P="$ac_install_sh -d"
> + MKDIR_P="\$(SHELL) $ac_install_sh -d"
> fi
> fi
> { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index