Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 371053

Summary: sys-fs/aufs2-0_p20110605 - patching file fs/namei.c Hunk #1 FAILED at 1842.
Product: Gentoo Linux Reporter: rafnov <rafnov>
Component: [OLD] Core systemAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: tommy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
build.log
aufs2-base-38.patch.out

Description rafnov 2011-06-10 18:32:46 UTC
Tried to update sys-fs/aufs2-0_p20110605 but got the following result:

 * Patching your kernel...
 * Failed Patch: aufs2-base-38.patch !
 *  ( /usr/portage/sys-fs/aufs2/files/aufs2-base-38.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-fs/aufs2-0_p20110605/temp/aufs2-base-38.patch.out
 * ERROR: sys-fs/aufs2-0_p20110605 failed (setup phase):
 *   Failed Patch: aufs2-base-38.patch!
 * 
 * Call stack: 
 *                  ebuild.sh, line  56:  Called pkg_setup
 *   aufs2-0_p20110605.ebuild, line  47:  Called epatch '/usr/portage/sys-fs/aufs2/files/aufs2-base-38.patch' '/usr/portage/sys-fs/aufs2/files/aufs2-standalone-38.patch'
 *              eutils.eclass, line 235:  Called epatch '/usr/portage/sys-fs/aufs2/files/aufs2-base-38.patch'
 *              eutils.eclass, line 419:  Called die
 * The specific snippet of code:
 *                      die "Failed Patch: ${patchname}!"
 * 
 * If you need support, post the output of 'emerge --info =sys-fs/aufs2-0_p20110605',
 * the complete build log and the output of 'emerge -pqv =sys-fs/aufs2-0_p20110605'.
 * The complete build log is located at '/var/tmp/portage/sys-fs/aufs2-0_p20110605/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/aufs2-0_p20110605/temp/die.env'.
 * S: '/var/tmp/portage/sys-fs/aufs2-0_p20110605/work/aufs2-standalone'
 * 
 * The following package has failed to build or install:
 * 
 *  (sys-fs/aufs2-0_p20110605::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sys-fs/aufs2-0_p20110605/temp/build.log'

build.log in attachment

Reproducible: Always
Comment 1 rafnov 2011-06-10 18:33:17 UTC
Created attachment 276561 [details]
build.log
Comment 2 Andy Wilkinson 2011-06-10 19:31:42 UTC
Created attachment 276571 [details]
build.log

I can confirm.  Attached is another build log.  Patch output to follow.
Comment 3 Andy Wilkinson 2011-06-10 19:32:15 UTC
Created attachment 276573 [details]
aufs2-base-38.patch.out

Patch output log.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2011-06-11 17:15:59 UTC
I didn't test it again. So it may be true. Will check it later.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2011-06-12 06:59:30 UTC
oh I probably see the problem. I silently changed the patches , which might cause this mess. Please try with a fresh kernel and see if it works then.
Comment 6 Andy Wilkinson 2011-06-15 17:09:51 UTC
I can confirm that unmerging, deleting, and remerging the kernel sources allows this to work.  Kind of a circuitous work-around, though.
Comment 7 rafnov 2011-06-16 07:41:10 UTC
I can confirm too that removing tree, installing again, then installing aufs2 works.