From owner-freebsd-ports@FreeBSD.ORG Sun Jan 18 22:14:01 2015 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 190D6F5C; Sun, 18 Jan 2015 22:14:01 +0000 (UTC) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E82CB6D3; Sun, 18 Jan 2015 22:14:00 +0000 (UTC) Received: from ip-109-43-41-217.web.vodafone.de (ip-109-43-41-217.web.vodafone.de [109.43.41.217]) by ainaz.pair.com (Postfix) with ESMTPSA id 4F8943F495; Sun, 18 Jan 2015 17:13:58 -0500 (EST) Date: Sun, 18 Jan 2015 23:13:56 +0100 (CET) From: Gerald Pfeifer To: Tijl Coosemans Subject: Re: INSTALL_TARGET=install-strip runs into "permission denied" In-Reply-To: <20150118130127.71b8cba9@kalimero.tijl.coosemans.org> Message-ID: References: <20150118130127.71b8cba9@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 22:14:01 -0000 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