Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2015 23:13:56 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Tijl Coosemans <tijl@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: INSTALL_TARGET=install-strip runs into "permission denied"
Message-ID:  <alpine.LSU.2.11.1501182140060.2527@tuna.site>
In-Reply-To: <20150118130127.71b8cba9@kalimero.tijl.coosemans.org>
References:  <alpine.LSU.2.11.1501181210570.2527@tuna.site> <20150118130127.71b8cba9@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 2015-01-18 13:01, Tijl Coosemans wrote:
>> Here is the build log:
>> 
>> install   -m 555 fixinc.sh .../prefix/gcc5/libexec/gcc5/gcc/i386-portbld-freebsd10.1/5.0.0/install-tools/fixinc.sh
>> install  -s  -m 555 fixincl .../prefix/gcc5/libexec/gcc5/gcc/i386-portbld-freebsd10.1/5.0.0/install-tools/fixincl
>> install   -m 555 mkheaders .../prefix/gcc5/libexec/gcc5/gcc/i386-portbld-freebsd10.1/5.0.0/install-tools/mkheaders
>> test -z 'strip' || strip .../prefix/gcc5/libexec/gcc5/gcc/i386-portbld-freebsd10.1/5.0.0/install-tools/fixincl
>> strip: unable to copy file '.../prefix/gcc5/libexec/gcc5/gcc/i386-portbld-freebsd10.1/5.0.0/install-tools/fixincl'; reason: Permission denied
>> Makefile:191: recipe for target 'install-strip' failed
>> gmake[3]: *** [install-strip] Error 1
> This strip command seems redundant.  Isn't fixincl already stripped by
> the "install -s" command above?

Good point.

> What does this piece of the log look like outside the ports framework?

/usr/bin/install -c fixinc.sh .../gcc-ref8-amd64/libexec/gcc/x86_64-unknown-freebsd8.4/5.0.0/install-tools/fixinc.sh
/usr/bin/install -c fixincl .../gcc-ref8-amd64/libexec/gcc/x86_64-unknown-freebsd8.4/5.0.0/install-tools/fixincl
/usr/bin/install -c mkheaders .../gcc-ref8-amd64/libexec/gcc/x86_64-unknown-freebsd8.4/5.0.0/install-tools/mkheaders
test -z 'strip' || strip .../gcc-ref8-amd64/libexec/gcc/x86_64-unknown-freebsd8.4/5.0.0/install-tools/fixincl
gmake[2]: Leaving directory '.../OBJ-0118-1528/fixincludes'

(I also tried setting STRIP_CMD to true, alas that is not used by GCC.)

Gerald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.11.1501182140060.2527>