epel 6 fedpkg build or koji scratch builds failing — I'm stumped

Richard W.M. Jones rjones at redhat.com
Thu Nov 24 15:57:02 UTC 2011


On Thu, Nov 24, 2011 at 03:01:03PM +0000, Paul Howarth wrote:
> http://marc.info/?l=pptpclient-devel&m=132102054518031

This is indeed rather unexpected behaviour of make!

BTW I think your patch is incomplete, since it will create an
incomplete config.h if the disk runs out of space.  I think this would
be better, and should also avoid the parallel make problem:

config.h:
	echo "/* text added by Makefile target config.h */" > $@-t
	echo "#define PPTP_LINUX_VERSION \"$(VERSION)$(RELEASE)\"" >> $@-t
	echo "#define PPPD_BINARY \"$(PPPD)\"" >> $@-t
	echo "#define IP_BINARY \"$(IP)\"" >> $@-t
	mv $@-t $@

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top


More information about the devel mailing list