Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773403 - dev-db/pg_top-4.0.0-r1 fails to compile - missing dependency on dev-libs/libbsd
Summary: dev-db/pg_top-4.0.0-r1 fails to compile - missing dependency on dev-libs/libbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-28 11:37 UTC by Agostino Sarubbo
Modified: 2021-12-15 03:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,16.91 KB, text/plain)
2021-02-28 11:37 UTC, Agostino Sarubbo
Details
Ebuild to add dev-libs/libbsd dependency (pg_top-4.0.0-r2.ebuild,519 bytes, text/plain)
2021-11-18 11:38 UTC, Luke Bratch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-02-28 11:37:48 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2021-02-28 11:37:50 UTC
Created attachment 688713 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-02-28 11:37:51 UTC
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
Comment 3 Tomáš Mózes 2021-11-08 07:42:41 UTC
Same here, got it after $(emerge --depclean), it's missing dep on dev-libs/libbsd.
Comment 4 Luke Bratch 2021-11-18 11:38:15 UTC
Created attachment 752334 [details]
Ebuild to add dev-libs/libbsd dependency

I'm using the attached ebuild on boxes that use pg_top.
Comment 5 Larry the Git Cow gentoo-dev 2021-12-15 03:54:48 UTC
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(-)