The package uses doman/newman on a compressed file which is invalid per PMS: doman foremost.8.gz
Thanks, this is fixed in app-forensics/foremost-1.5.7-r3 (commit 014d8396830). 5:)
Please keep it open until the problematic version is gone. Otherwise, we might fix Portage and break stable systems.