ports/148102: make install can fail for ports-mgmt/packagekit [patch]

Don Lewis truckman at FreeBSD.org
Thu Jul 8 07:27:41 UTC 2010


On 24 Jun, Jeremy Messenger wrote:
> On Thu, 24 Jun 2010 17:38:36 -0500, Don Lewis <truckman at freebsd.org> wrote:

>> I just looked at the output from make and found that not only did my
>> patch not change anything, but that there are three more instances of
>> the same problem:
>>
>> make.out:xsltproc  
>> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl  
>> pkcon.xml &> /dev/null
>> make.out:xsltproc  
>> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl  
>> pkmon.xml &> /dev/null
>> make.out:xsltproc  
>> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl  
>> pkgenpack.xml &> /dev/null
>> make.out:xsltproc  
>> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl  
>> pk-debuginfo-install.xml &> /dev/null
>>
>> The others instances are in contrib/device-rebind/ and client/, though
>> the former doesn't appear to get executed.
> 
> Quick way would be add in the post-patch something looks like this:
> 
> 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
> 		's|.xml [$$]? &> /dev|.xml $$? > /dev|g'
> 
> It's untest, I will test it this weekend and see if it works.

s/xml/xsl/g

I had a forced rebuild and reinstall using portupgrade fail four times
in a row during the install phase with the port unpatched.  With your
suggested change to the port Makefile (and xml changed to xsl), the
rebuild and reinstall succeeded the three times I tested it.



More information about the freebsd-gnome mailing list