>>> Install xkeycaps-2.46-r1 into /temp/portage/xkeycaps-2.46-r1/image/ category x11-misc + mkdir -p /temp/portage/xkeycaps-2.46-r1/image//usr/X11R6/bin install -c xkeycaps /temp/portage/xkeycaps-2.46-r1/image//usr/X11R6/bin/xkeycaps install in . done rm -f xkeycaps.1x.html xkeycaps.1x-html rman -f HTML < xkeycaps._man \ > xkeycaps.1x-html && mv -f xkeycaps.1x-html xkeycaps.1x.html rman: rman.c:426: tocadd: Assertion `text!=((void *)0) && strlen(text)>0' failed. /bin/sh: line 1: 25138 Aborted rman -f HTML <xkeycaps._man >xkeycaps.1x-html make: *** [xkeycaps.1x.html] Error 134 !!! ERROR: x11-misc/xkeycaps-2.46-r1 failed. !!! Function src_install, Line 37, Exitcode 2 !!! make install.man failed Reproducible: Always Steps to Reproduce: 1. 2. 3.
Same problem for me on ppc architecture. I think that the resolution to bug #70318 (emerge xkeycaps doesn't generate manpage) is the source of the problem here. I tried fixing this in my own slightly modified version of the 2.46 ebuild and ended up with the same problem. In fact, when I simply unzip the xkeycaps.tar.Z file in a directory and follow the instructions in the README, I get the same error (after typing make and before typing make install or make install.man), so it looks to me like a problem with the package itself, not Gentoo's ebuild for it. I think that the sed line in the ebuild function src_compile() is the reason that the 2.46 ebuild (the non-r1 version) works fine rather than failing like the package itself. When simply unpacking the tarball in a directory and building by hand, one does get an executable xkeycaps and a manpage, so this at least helps.
the problem is install.man. removed the revision for now.