I'll try to reduce this to the minimum: flame@yamato netembryo % git cherry-pick fcea6009f36490ae9501c6b3269601fa0e5fc08a zsh: segmentation fault (core dumped) git cherry-pick fcea6009f36490ae9501c6b3269601fa0e5fc08a […] Program received signal SIGSEGV, Segmentation fault. 0x0000000000464b78 in get_message ( raw_message=0x7a4150 "tree 0c7bc2914aa8066e732fef98d4b03489d1217427\nparent 17c2a6656c6e0e55c51d8f26f1a08df29a678ffe\nauthor Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> 1274886428 +0200\ncommitter Diego Elio 'Flamee"..., out=0x7fffffffce60) at builtin/revert.c:121 121 in builtin/revert.c (gdb) info locals encoding = 0x51a74a "UTF-8" p = 0x0 abbrev = 0x79f900 "fcea600" eol = 0x0 q = 0x0 abbrev_len = 7 oneline_len = 8116136 […] in get_message(): if ((out->reencoded_message = reencode_string(raw_message, git_commit_encoding, encoding))) out->message = out->reencoded_message; […] p = out->message; while (*p && (*p != '\n' || p[1] != '\n')) p++; in utf8.h: #ifndef NO_ICONV char *reencode_string(const char *in, const char *out_encoding, const char *in_encoding); #else #define reencode_string(a,b,c) NULL #endif
fixed in CVS, 1.7.1-r1
*** Bug 320871 has been marked as a duplicate of this bug. ***
please add iconv ebuild to deps on uclibc (maybe also freebsd) because it's a separate package