threads / discuss / 21916

rerere failed to parse conflict hunks

Subject: rerere failed to parse conflict hunks

## tl;dr

3 messages between Dec 9, 2009 and Dec 9, 2009.

replies: 2people: 2as markdown or json

Uwe Kleine-König· Dec 9, 2009, 08:46 UTC · lore
Hello,

I just tried to merge linux-next (5c1af82119f11c5b322156b09d38cc37318849c4) into my private tree (based on 2b876f95d03e226394b5d360c86127cbefaf614b) and this happened:

	...
	Removing sound/soc/au1x/sample-ac97.c
	Recorded preimage for 'arch/Kconfig'
	Recorded preimage for 'arch/arm/mach-s3c2440/mach-anubis.c'
	Recorded preimage for 'arch/arm/plat-mxc/Makefile'
	error: Could not parse conflict hunks in arch/arm/plat-s3c/dev-hsmmc2.c
	Recorded preimage for 'arch/arm/plat-s3c/include/plat/sdhci.h'
	Recorded preimage for 'arch/arm/plat-samsung/Kconfig'
	Recorded preimage for 'arch/x86/include/asm/x86_init.h'
	Recorded preimage for 'arch/x86/kernel/x86_init.c'
	Recorded preimage for 'drivers/net/wireless/ray_cs.c'
	Recorded preimage for 'kernel/Makefile'
	Recorded preimage for 'kernel/power/hibernate.c'
	Recorded preimage for 'net/sctp/sysctl.c'
	Automatic merge failed; fix conflicts and then commit the result.

If you are interested, I can provide you the two trees above. When reproducing the line "error: ..." came later, but is still present.

I guess this should be reproduceable with
	git clone -n git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
	cd linux-2.6
	git remote add -f next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
	git checkout 2b876f95d03e226394b5d360c86127cbefaf614b
	git merge 5c1af82119f11c5b322156b09d38cc37318849c4
I havn't tried though.
The only non-trivial conflict is:
	#include <plat/sdhci.h>
	#include <plat/devs.h>
	<<<<<<< HEAD
	=======
	<<<<<<< HEAD
	#include <plat/cpu.h>
	=======
	>>>>>>> next-s5pc1xx
	>>>>>>> next/master

Best regards Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |
Michael J Gruber· Dec 9, 2009, 09:47 UTC · re: Uwe Kleine-König · lore

Re: rerere failed to parse conflict hunks

Uwe Kleine-König venit, vidit, dixit 09.12.2009 09:46:
Show 48 quoted lines
> Hello,
> 
> I just tried to merge linux-next
> (5c1af82119f11c5b322156b09d38cc37318849c4) into my private tree
> (based on 2b876f95d03e226394b5d360c86127cbefaf614b) and this
> happened:
> 
> 	...
> 	Removing sound/soc/au1x/sample-ac97.c
> 	Recorded preimage for 'arch/Kconfig'
> 	Recorded preimage for 'arch/arm/mach-s3c2440/mach-anubis.c'
> 	Recorded preimage for 'arch/arm/plat-mxc/Makefile'
> 	error: Could not parse conflict hunks in arch/arm/plat-s3c/dev-hsmmc2.c
> 	Recorded preimage for 'arch/arm/plat-s3c/include/plat/sdhci.h'
> 	Recorded preimage for 'arch/arm/plat-samsung/Kconfig'
> 	Recorded preimage for 'arch/x86/include/asm/x86_init.h'
> 	Recorded preimage for 'arch/x86/kernel/x86_init.c'
> 	Recorded preimage for 'drivers/net/wireless/ray_cs.c'
> 	Recorded preimage for 'kernel/Makefile'
> 	Recorded preimage for 'kernel/power/hibernate.c'
> 	Recorded preimage for 'net/sctp/sysctl.c'
> 	Automatic merge failed; fix conflicts and then commit the result.
> 
> If you are interested, I can provide you the two trees above.  When
> reproducing the line "error: ..." came later, but is still present.
> 
> I guess this should be reproduceable with
> 
> 	git clone -n git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 	cd linux-2.6
> 	git remote add -f next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> 	git checkout 2b876f95d03e226394b5d360c86127cbefaf614b
> 	git merge 5c1af82119f11c5b322156b09d38cc37318849c4
> 
> I havn't tried though.
> 
> The only non-trivial conflict is:
> 
> 	#include <plat/sdhci.h>
> 	#include <plat/devs.h>
> 	<<<<<<< HEAD
> 	=======
> 	<<<<<<< HEAD
> 	#include <plat/cpu.h>
> 	=======
> 	>>>>>>> next-s5pc1xx
> 	>>>>>>> next/master
> 

Someone committed a file with conflict markers. Bad bad boy. I guess a8c4f01 (fixup sdhci merge failure, 2009-11-23) did not quite what it promised.

Michael
Uwe Kleine-König· Dec 9, 2009, 10:00 UTC · re: Michael J Gruber · lore

Re: rerere failed to parse conflict hunks

Best regards Uwe

On Wed, Dec 09, 2009 at 10:47:10AM +0100, Michael J Gruber wrote:
Show 53 quoted lines
> Uwe Kleine-König venit, vidit, dixit 09.12.2009 09:46:
> > Hello,
> > 
> > I just tried to merge linux-next
> > (5c1af82119f11c5b322156b09d38cc37318849c4) into my private tree
> > (based on 2b876f95d03e226394b5d360c86127cbefaf614b) and this
> > happened:
> > 
> > 	...
> > 	Removing sound/soc/au1x/sample-ac97.c
> > 	Recorded preimage for 'arch/Kconfig'
> > 	Recorded preimage for 'arch/arm/mach-s3c2440/mach-anubis.c'
> > 	Recorded preimage for 'arch/arm/plat-mxc/Makefile'
> > 	error: Could not parse conflict hunks in arch/arm/plat-s3c/dev-hsmmc2.c
> > 	Recorded preimage for 'arch/arm/plat-s3c/include/plat/sdhci.h'
> > 	Recorded preimage for 'arch/arm/plat-samsung/Kconfig'
> > 	Recorded preimage for 'arch/x86/include/asm/x86_init.h'
> > 	Recorded preimage for 'arch/x86/kernel/x86_init.c'
> > 	Recorded preimage for 'drivers/net/wireless/ray_cs.c'
> > 	Recorded preimage for 'kernel/Makefile'
> > 	Recorded preimage for 'kernel/power/hibernate.c'
> > 	Recorded preimage for 'net/sctp/sysctl.c'
> > 	Automatic merge failed; fix conflicts and then commit the result.
> > 
> > If you are interested, I can provide you the two trees above.  When
> > reproducing the line "error: ..." came later, but is still present.
> > 
> > I guess this should be reproduceable with
> > 
> > 	git clone -n git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> > 	cd linux-2.6
> > 	git remote add -f next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > 	git checkout 2b876f95d03e226394b5d360c86127cbefaf614b
> > 	git merge 5c1af82119f11c5b322156b09d38cc37318849c4
> > 
> > I havn't tried though.
> > 
> > The only non-trivial conflict is:
> > 
> > 	#include <plat/sdhci.h>
> > 	#include <plat/devs.h>
> > 	<<<<<<< HEAD
> > 	=======
> > 	<<<<<<< HEAD
> > 	#include <plat/cpu.h>
> > 	=======
> > 	>>>>>>> next-s5pc1xx
> > 	>>>>>>> next/master
> > 
> 
> Someone committed a file with conflict markers. Bad bad boy. I guess
> a8c4f01 (fixup sdhci merge failure, 2009-11-23) did not quite what it
> promised.
obviously, yes.
Ben, you might want to redo commit a8c4f018ba69266aeb3cccf73c36b6663189e730

Best regards Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

← back to recent threads