Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 02:29:21 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Ports-QAT <qat@redports.org>
Cc:        ports@FreeBSD.org, decke@FreeBSD.org
Subject:   Staging and INFO (was: [QAT] r331172: 3x leftovers, 1x install_error)
Message-ID:  <alpine.LNX.2.00.1310222331470.16823@trevally.site>
In-Reply-To: <E1VYWJ7-000J91-GC@qat.redports.org>
References:  <E1VYWJ7-000J91-GC@qat.redports.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Oct 2013, Ports-QAT wrote:
> STAGEify.
> ---------------------------------------------------------------------
> 
>   Build ID:          20131021182801-5361
>   Job owner:         gerald@FreeBSD.org
>   Buildtime:         13 hours
>   Enddate:           Tue, 22 Oct 2013 07:23:12 GMT
> 
>   Revision:          r331172
>   Repository:        https://svnweb.freebsd.org/ports?view=revision&revision=331172
> 
> ---------------------------------------------------------------------
> 
>     Port:            lang/gcc49 4.9.0.20131020
> 
>       Buildgroup:     8.4-QAT/amd64
>       Buildstatus:   LEFTOVERS
>       Log: https://qat.redports.org//~gerald@FreeBSD.org/20131021182801-5361-211000/gcc-4.9.0.20131020.log

This is an extra directory usr/local/info/gcc49 left.

Looks like a bug in the staging code to me that should also affect
a number of other ports, not the lang/gcc49 port.

I tried the patch below, alas that didn't do the trick.  Perhaps it 
inspires someone, though?

Gerald


Index: bsd.stage.mk
===================================================================
--- bsd.stage.mk	(revision 331331)
+++ bsd.stage.mk	(working copy)
@@ -70,6 +70,7 @@
 		>> ${TMPPLIST}
 .else
 	@${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}${PREFIX}/:@info\ :g >> ${TMPPLIST}
+	@${ECHO_CMD} "@dirrmtry %D/${INFO_PATH}" >> ${TMPPLIST}
 .endif
 .endfor
 .endif



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