cmucl-20b_p001 fails to emerge, apparently because of a bad patch. Here is the relevant output: .... 2011-05-01 09:37:57 (368 KB/s) - “/usr/portage/distfiles/cmucl-20b-x86-linux.tar.bz2” saved [17612706/17612706] * cmucl-20b-x86-linux.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: dev-lisp/cmucl-20b_p001 * Repository: gentoo * Maintainer: grozin@gentoo.org common-lisp@gentoo.org * USE: X elibc_glibc kernel_linux sse2 userland_GNU x86 * FEATURES: sandbox splitdebug userpriv usersandbox You should enable -g (or higher) for debugging! >>> Unpacking source... >>> Unpacking cmucl-src-20b.tar.bz2 to /var/tmp/portage/dev-lisp/cmucl-20b_p001/work >>> Unpacking cmucl-20b-x86-linux.tar.bz2 to /var/tmp/portage/dev-lisp/cmucl-20b_p001/work >>> Source unpacked in /var/tmp/portage/dev-lisp/cmucl-20b_p001/work >>> Preparing source in /var/tmp/portage/dev-lisp/cmucl-20b_p001/work ... * Applying 20b-patch001.patch ... * Failed Patch: 20b-patch001.patch ! * ( /usr/portage/dev-lisp/cmucl/files/20b-patch001.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-lisp/cmucl-20b_p001/temp/20b-patch001.patch.out * ERROR: dev-lisp/cmucl-20b_p001 failed (prepare phase): * Failed Patch: 20b-patch001.patch! * * Call stack: * ebuild.sh, line 56: Called src_prepare * environment, line 2227: Called epatch '/usr/portage/dev-lisp/cmucl/files/20b-patch001.patch' * environment, line 1091: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =dev-lisp/cmucl-20b_p001', * the complete build log and the output of 'emerge -pqv =dev-lisp/cmucl-20b_p001'. * The complete build log is located at '/var/tmp/portage/dev-lisp/cmucl-20b_p001/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/cmucl-20b_p001/temp/environment'. * S: '/var/tmp/portage/dev-lisp/cmucl-20b_p001/work' >>> Failed to emerge dev-lisp/cmucl-20b_p001, Log file: Reproducible: Always
I don't have time to fix this now. Mr. Grozin, any thoughts/help?
I see what has happened. cvs commit has mangled the file 20b-patch001.patch, because it contains a string $Header: <something> $ (in fact, twice). This is why emerge worked OK with this file on my local disk, when I tested it before committing; after committing, the file in cvs became wrong. Does anybody know how to commit a file containing $Header: ... $ in such a way that it does not change on the fly? For now, I'll simply omit this chunk, because it is not crucial. Please re-sync after some time and check that the problem is fixed.
I confirm that the fix (comment no 2) works. Thanks!
OK, closing