From saper@saper.info  Sun Jul 17 22:50:10 2011
Return-Path: <saper@saper.info>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E5129106564A;
	Sun, 17 Jul 2011 22:50:10 +0000 (UTC)
	(envelope-from saper@saper.info)
Received: from l.saper.info (l.saper.info [IPv6:2001:41d0:1:d467::1000])
	by mx1.freebsd.org (Postfix) with ESMTP id 45A8F8FC08;
	Sun, 17 Jul 2011 22:50:10 +0000 (UTC)
Received: from l.saper.info (uucp@localhost [127.0.0.1])
	by l.saper.info (8.14.4/8.14.4) with ESMTP id p6HMn2Tx012234
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 17 Jul 2011 22:49:02 GMT
	(envelope-from saper@saper.info)
Received: (from uucp@localhost)
	by l.saper.info (8.14.4/8.14.4/Submit) with UUCP id p6HMn2S4012233;
	Sun, 17 Jul 2011 22:49:02 GMT
	(envelope-from saper@saper.info)
Received: from radziecki.saper.info (localhost [127.0.0.1])
	by radziecki.saper.info (8.14.4/8.14.4) with ESMTP id p6HMne0Z002839
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 17 Jul 2011 22:49:40 GMT
	(envelope-from saper@saper.info)
Received: (from saper@localhost)
	by radziecki.saper.info (8.14.4/8.14.4/Submit) id p6HMndEi002821;
	Sun, 17 Jul 2011 22:49:39 GMT
	(envelope-from saper)
Message-Id: <201107172249.p6HMndEi002821@radziecki.saper.info>
Date: Sun, 17 Jul 2011 22:49:39 GMT
From: Marcin Cieslak <saper@saper.info>
To: FreeBSD-gnats-submit@freebsd.org
Cc: stas@freebsd.org
Subject: devel/cross-gcc attempts to use $PRFIX/../../ranlib on make install instead of a freshly compiled one
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         159003
>Category:       ports
>Synopsis:       devel/cross-gcc attempts to use $PRFIX/../../ranlib on make install instead of a freshly compiled one
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 17 23:00:23 UTC 2011
>Closed-Date:    Tue Feb 19 14:34:34 UTC 2013
>Last-Modified:  Tue Feb 19 14:34:34 UTC 2013
>Originator:     Marcin Cieslak
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD radziecki.saper.info 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r219785M: Mon Mar 21 11:40:40 CET 2011 saper@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64

arm-elf-gcc-4.5.2 installed at the build time

>Description:
>How-To-Repeat:

Compile, install arm-elf-gcc-4.5.2 ( make TGTABI=elf TGTARCH=arm )
I did this first without CXX enabled.
Now I compile and install devel/cross-gcc again (this time with CXX)
and after "make deinstall" the "make install" fails:

libtool: install: chmod 644 /usr/local/arm-elf/lib/thumb/libssp.a
libtool: install: /usr/local/libexec/gcc/arm-elf/4.5.2/ranlib /usr/local/arm-elf/lib/thumb/libssp.a
eval: /usr/local/libexec/gcc/arm-elf/4.5.2/ranlib: not found


>Fix:

Rebuild from scratch with arm-elf-gcc uninstalled works.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jul 17 23:00:35 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159003 
Responsible-Changed-From-To: stas->freebsd-ports-bugs 
Responsible-Changed-By: tabthorpe 
Responsible-Changed-When: Sat Nov 5 04:13:05 UTC 2011 
Responsible-Changed-Why:  
- back to the heap 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159003 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Feb 19 14:34:32 UTC 2013 
State-Changed-Why:  
I can't reproduce that error. I close this pr here. If you still see the 
error please let me know I will reopen then. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159003 
>Unformatted:
