ports/183500: Some ports fail to install with error work/.metadir/+INSTALL: No such file or directory

Kevin Rauwolf sweetpea-freebsd at tentacle.net
Wed Oct 30 22:20:01 UTC 2013


The following reply was made to PR ports/183500; it has been noted by GNATS.

From: Kevin Rauwolf <sweetpea-freebsd at tentacle.net>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/183500: Some ports fail to install with error
 work/.metadir/+INSTALL: No such file or directory
Date: Wed, 30 Oct 2013 14:33:18 -0700

 Ah, I see what’s going on… the cp commands in bsd.pkgng.mk have been changed to cat, but there’s no redirect to create +INSTALL.
 
 I’m not sure whether +INSTALL should be overwritten or appended to, but I’ve included the following patch assuming overwrite:
 
 --- bsd.pkgng.mk.old	2013-10-30 14:28:30.065727917 -0700
 +++ bsd.pkgng.mk	2013-10-30 14:29:22.441694094 -0700
 @@ -81,7 +81,7 @@
  .endfor
  .undef opt
  	@${ECHO_CMD} "}" >> ${MANIFESTF}
 -	@[ -f ${PKGINSTALL} ] && ${CAT} ${PKGINSTALL} ${METADIR}/+INSTALL; \
 +	@[ -f ${PKGINSTALL} ] && ${CAT} ${PKGINSTALL} > ${METADIR}/+INSTALL; \
  	${RM} -f ${METADIR}/+PRE_INSTALL ; \
  	for a in ${PKGPREINSTALL}; do \
  		[ -f $$a ] && ${CAT} $$a >> ${METADIR}/+PRE_INSTALL ; \


More information about the freebsd-ports-bugs mailing list