The full functionality of noweb is written in the language icon but the Gentoo ebuild does not use it. It uses the alternative awk implementation that only provides partial functionality. I assume this is to give minimal dependency bloat when installing LyX (which depends on noweb). However for those using noweb as a literate programming tool, as opposed to a build tool for LyX, this is not good. It is easy to change: 1. add dev-lang/icon as a dependency of app-text/noweb 2. Change the Makefile to have ICONC=icont (already in the gentoo diff file) LIBSRC=icon (instead of awk) Reproducible: Always Steps to Reproduce: 1. emerge noweb
Thanks for the report. I added "icon" USE flag to noweb which enables support for icon language. If you want to use noweb as as literate programming tool you can enable it to get functional noweb. (and for those who need noweb as a dependency for lyx noweb I'd assume icon support isn't needed)