https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-db/pg_top-4.0.0-r1 fails to compile. Discovered on: amd64 (internal ref: tinderbox)
Created attachment 688713 [details] build.log build log and emerge --info
Possible context of error(s): /var/tmp/portage/dev-db/pg_top-4.0.0-r1/work/pg_top-4.0.0/machine/m_remote.c:14:10: fatal error: bsd/stdlib.h: No such file or directory /var/tmp/portage/dev-db/pg_top-4.0.0-r1/work/pg_top-4.0.0/machine/m_linux.c:30:10: fatal error: bsd/stdlib.h: No such file or directory /var/tmp/portage/dev-db/pg_top-4.0.0-r1/work/pg_top-4.0.0/machine/m_remote.c:14:10: fatal error: bsd/stdlib.h: No such file or directory
Same here, got it after $(emerge --depclean), it's missing dep on dev-libs/libbsd.
Created attachment 752334 [details] Ebuild to add dev-libs/libbsd dependency I'm using the attached ebuild on boxes that use pg_top.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc71b1bb7f84cbe74bb1a64a83ad1fdaad5b773 commit 5bc71b1bb7f84cbe74bb1a64a83ad1fdaad5b773 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-15 03:54:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-15 03:54:24 +0000 dev-db/pg_top: depend on libbsd Seems to actually be used unconditionally although the CMake check doesn't reflect this. Closes: https://bugs.gentoo.org/773403 Signed-off-by: Sam James <sam@gentoo.org> dev-db/pg_top/{pg_top-4.0.0-r1.ebuild => pg_top-4.0.0-r2.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)