I need a symlink like ln -sf en ${ED}/usr/share/doc/${PF}/html. I am using docompress -x /usr/share/doc/${PF}/en but the symlink gets compressed. Is this a bug?
Does the following command produce the intended result? docompress -x /usr/share/doc/${PF}/html
No, still the symlink gets compressed where as the directory not. Probably we should never compress symlinks.
This should fix it: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e3ab6f288110602d59c7e8fee8ee8c514c7a4329 As a workaround, you do something like this in pkg_preinst: rm -f "${ED}"/usr/share/doc/${PF}/html.* 2>/dev/null ln -sf en "${ED}"/usr/share/doc/${PF}/html
This is fixed in 2.1.10.45 and 2.2.0_alpha85.