The patch does not work for me. I wrote this patch, and it works for me:
--- local.mk.orig 2008-01-11 09:45:13.000000000 -0800 +++ local.mk 2008-01-11 11:08:43.000000000 -0800 @@ -79,6 +79,8 @@ MAKE += CONFIG_AUFS=${CONFIG_AUFS} \ AUFS_EXTRA_CFLAGS="$(shell echo ${EXTRA_CFLAGS} | sed -e 's/\"/\\\\\\"/g')" +.PHONY: all FORCE clean util + all: ${Tgt} FORCE: @@ -104,27 +106,26 @@ ######################################## -clean: ${AufsVars} +clean: ${MAKE} -C ${KDIR} M=${CURDIR}/fs/aufs $@ ${MAKE} -C util $@ - ${RM} ${Tgt} ${AufsVars} + ${RM} ${Tgt} find . -type f \( -name '*~' -o -name '.#*[0-9]' \) | xargs -r ${RM} -util/aufs.5: FORCE -util/%: - ${MAKE} -j1 -C util -aufind.sh: util/aufind.sh - ln -s $< $@ -aufs.5: util/aufs.5 - -ln -s $< $@ -mount.aufs: util/mount.aufs - test -x $< || chmod a+x $< - ln -s $< $@ -auplink: util/auplink - -ln -s $< $@ -aulchown: util/aulchown - -ln -s $< $@ -umount.aufs: util/umount.aufs - -ln -s $< $@ +util: + ${MAKE} -C util +aufind.sh: util + ln -snf util/aufind.sh $@ +aufs.5: util + ln -snf util/aufs.5 $@ +mount.aufs: util + test -x util/mount.aufs || chmod a+x util/mount.aufs + ln -snf util/mount.aufs $@ +auplink: util + ln -snf util/auplink $@ +aulchown: util + ln -snf util/aulchown $@ +umount.aufs: util + ln -snf util/umount.aufs $@ -include priv.mk On Wed, 09 Jan 2008 10:29:11 +0900, sfjro wrote > "Tommy[D]": > > i attach one build log with -j2 (called j2) and one build log with -j4 (c= > > alled j4). > > > > i use the makefile suggested at aufs.sourceforge.net. > > > > running "make -jX" give those results for me: > > > > X=3D1: compiles fine > > X=3D2: compiles fine > > X=3D3: "text file busy" > > X=3D4: "text file busy" > > Thnaks. > On my test environment which has only one cpu, I could not reproduce > the problem. Will you try this patch, and let me the result? > > Junjiro Okajima > > diff -x CVS -x RCS -x .pdiff -rup ../../sf.anon/aufs/local.mk ./local.mk > --- ../../sf.anon/aufs/local.mk 2007-12-10 10:18:33.000000000 +0900 > +++ ./local.mk 2008-01-09 10:18:24.000000000 +0900 > @@ -104,15 +104,16 @@ kconfig: fs/aufs/Kconfig > > ######################################## > > -clean: ${AufsVars} > +clean: > ${MAKE} -C ${KDIR} M=${CURDIR}/fs/aufs $@ > ${MAKE} -C util $@ > - ${RM} ${Tgt} ${AufsVars} > + ${RM} ${Tgt} > find . -type f \( -name '*~' -o -name '.#*[0-9]' \) | xargs -r ${RM} > > util/aufs.5: FORCE > util/%: > - ${MAKE} -j1 -C util > +# ${MAKE} -j1 -C util > + ${MAKE} -C util > aufind.sh: util/aufind.sh > ln -s $< $@ > aufs.5: util/aufs.5 > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace