The ebuild for sci-libs/torch-3.1 appears to have a minor variable name error in it which causes a lot of the development headers to be missed during the install. The attached patch (a one-line fix in the ebuild) fixes the problem. Reproducible: Always Steps to Reproduce:
Created attachment 223371 [details, diff] patch to torch-3.1.ebuild
Thanks for the patch, fixed in cvs.