man-db 2.5.7 crashes when asked to display uncompressed manpages in languages other than English. The error message is : man: man.c:2401: display: Assertion `decomp->ncommands == 1' failed. Aborted Reproducible: Always Steps to Reproduce: 1. Disable portage automatic compression in /etc/make.conf with : PORTAGE_COMPRESS="" 2. Enable installation of some localized pages in /etc/make.conf : LINGUAS="en fr" 3. Unmerge sys-apps/man (it blocks man-db) : # emerge -ca sys-apps/man 4. Emerge man-db : # ACCEPT_KEYWORDS=~x86 emerge -av =sys-apps/man-db-2.5.7 5. Try to display man-db own manpage : $ LANG=fr LANGUAGE=fr man man Actual Results: man: man.c:2401: display: Assertion `decomp->ncommands == 1' failed. Aborted Expected Results: It should have displayed the manual. Workarounds (choose any of) : 1) do not disable compression 2) use an english-only configuration 3) stay with the good old sys-apps/man
Created attachment 237909 [details] My emerge --info (see bug description above)
Created attachment 237913 [details] My build log (see bug report above) Regards, Korbian
Created attachment 243177 [details, diff] patch for man-db 2.5.7 I found on linuxfromscratch.org[1] a patch for this issue. I modified it to have it working on Gentoo. [1] http://archive.linuxfromscratch.org/mail-archives/patches/2010-May/003694.html
Created attachment 243179 [details, diff] ebuild diff Here is a diff for man-db-2.5.7.ebuild (it adds the needed "epatch" line) Bye.
i'm sure Colin will be interested in the patch
The patch is a backport from latest bzr. I agree that you should apply it. I'm hoping to get round to a 2.5.8 release relatively soon but haven't managed to carve out time for it yet.
thanks ... wasnt aware it was already upstream. wanted to make sure it was. added to 2.5.7-r1