Please remove www-apps/openwebstats. It is highly dependent on the removed mysql_ functions in PHP 7. This would require a full rewrite of the code and upstream is dead.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a6048e8fced0e0d856ca76aea272fc69e0ac06 commit 31a6048e8fced0e0d856ca76aea272fc69e0ac06 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-07-23 13:55:26 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-07-23 14:09:33 +0000 www-apps/openwebstats: Package Removal Closes: https://bugs.gentoo.org/650934 profiles/package.mask | 5 --- www-apps/openwebstats/Manifest | 1 - www-apps/openwebstats/files/config.php | 46 -------------------------- www-apps/openwebstats/files/postinstall-en.txt | 36 -------------------- www-apps/openwebstats/metadata.xml | 11 ------ www-apps/openwebstats/openwebstats-1.1.ebuild | 40 ---------------------- 6 files changed, 139 deletions(-)