Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940354 - sys-apps/shadow-4.14.8 requires glibc >= 2.38 according to configure output, but not in ebuild
Summary: sys-apps/shadow-4.14.8 requires glibc >= 2.38 according to configure output, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-27 23:39 UTC by Alex Orange
Modified: 2025-01-04 13:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Orange 2024-09-27 23:39:09 UTC
Trying to upgrade system and run into the problem that sys-apps/shadow-4.14.8 requires glibc >= 2.38:

configure: error: strlcpy is required from glibc >= 2.38 or libbsd

The ebuild has no depend on glibc. I'm not sure how this should be done as most things don't actually depend on glibc as it's part of the build system

Reproducible: Always

Steps to Reproduce:
1. Have old glibc (like 2.36-r5)
2. emerge -1av sys-aps/shadow-4.14.8
3.
Actual Results:  
checking for library containing gethostbyname... none required
checking for econf_readDirs in -leconf... no
checking size of uid_t... 4
checking size of gid_t... 4
checking for ll_host in struct lastlog... yes
checking for crypt in -lcrypt... yes
checking for crypt in -lcrypt... (cached) yes
checking for strlcpy... no
configure: error: strlcpy is required from glibc >= 2.38 or libbsd



Expected Results:  
It builds
Comment 1 Larry the Git Cow gentoo-dev 2024-10-01 12:03:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9367a9ca00707529ef41908c9d5fb29fd1a74d4c

commit 9367a9ca00707529ef41908c9d5fb29fd1a74d4c
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-10-01 12:02:39 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-10-01 12:02:39 +0000

    sys-apps/shadow: Add blocker to <glibc-2.38
    
    Closes: https://bugs.gentoo.org/940354
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-apps/shadow/shadow-4.14.8.ebuild | 1 +
 1 file changed, 1 insertion(+)