Staging and INFO (was: [QAT] r331172: 3x leftovers, 1x install_error)

Gerald Pfeifer gerald at pfeifer.com
Wed Oct 23 00:29:33 UTC 2013


On Tue, 22 Oct 2013, Ports-QAT wrote:
> STAGEify.
> ---------------------------------------------------------------------
> 
>   Build ID:          20131021182801-5361
>   Job owner:         gerald at 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


More information about the freebsd-ports mailing list