Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931216 - www-client/links: dependency on dev-libs/libbsd should be omitted on x64-macos (Prefix)
Summary: www-client/links: dependency on dev-libs/libbsd should be omitted on x64-maco...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All OS X
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-04 21:21 UTC by Jonathan Lovelace
Modified: 2024-07-23 06:41 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.73 KB, text/plain)
2024-05-04 21:21 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-05-04 21:21:35 UTC
Created attachment 892267 [details]
emerge-info.txt

When I try to emerge www-client/links in my new Intel-macOS Prefix installation, dependency calculation fails with:

!!! All ebuilds that could satisfy "dev-libs/libbsd" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/libbsd-0.9.1::gentoo_prefix (masked by: package.mask, missing keyword)
/Users/kingjon/Gentoo/var/db/repos/gentoo/profiles/prefix/darwin/macos/package.mask:
# Benda Xu <heroxbd@gentoo.org> (2023-08-18)
# strlcpy and other BSD functions are available in the libc of macOS.
# Should not use libbsd.


(dependency required by "www-client/links-2.29-r1::gentoo_prefix" [ebuild])
(dependency required by "www-client/links" [argument])

When I add dev-libs/libbsd-0.9.1 to package.provided and try again, the build succeeds, and in quick testing, the newly-built browser seems to work. So it seems to me that the ebuild should only RDEPEND on libbsd on non-macOS architectures.
Comment 1 Larry the Git Cow gentoo-dev 2024-07-23 06:41:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d238f7f309fb7874e7d4e25bdcaa21e8ece083a

commit 2d238f7f309fb7874e7d4e25bdcaa21e8ece083a
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-07-23 06:39:52 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-07-23 06:41:36 +0000

    www-client/links-2.29-r1: skip libbsd dep on Darwin
    
    Darwin is a BSD derivative, and provides strmode natively.
    
    Closes: https://bugs.gentoo.org/931216
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 www-client/links/links-2.29-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)