Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905721 - sys-devel/slibtool-0.5.34 - configure failure with SHELL=/sbin/nologin
Summary: sys-devel/slibtool-0.5.34 - configure failure with SHELL=/sbin/nologin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Felix Janda
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-05 01:33 UTC by orbea
Modified: 2023-05-07 06:10 UTC (History)
2 users (show)

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


Attachments
Build log (build.log,9.28 KB, text/x-log)
2023-05-05 01:33 UTC, orbea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2023-05-05 01:33:25 UTC
Created attachment 861150 [details]
Build log

When building slibtool in some chroot environments where the SHELL environment variable is set to '/sbin/nologin' the configure process will fail. This is already fixed with the live slibtool ebuild and can be workaround until the next release by setting SHELL explicitly to /bin/sh inside of the ebuild.

slibtool : configure : config_copy()  .............................  OK.
slibtool : configure : config_cfghost()  ..........................  OK.
slibtool : configure : config_host()  .............................  This account is currently not available.
make: *** [Makefile:286: host.tag] Error 1
configure was able to generate a Makefile for the selected host,
however the host-targeting compiler was found to be missing
at least one of the required headers or features.
Comment 1 Larry the Git Cow gentoo-dev 2023-05-05 04:44:27 UTC
The bug has been closed via the following commit(s):

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

commit b53a8bbfb7f20ca11a936818443f7080fcad5ad4
Author:     orbea <orbea@riseup.net>
AuthorDate: 2023-05-05 01:23:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-05 04:41:42 +0000

    sys-devel/slibtool: fix the build in some chroots
    
    When building slibtool in a chroot where the SHELL is set as
    /sbin/nologin the sofort configure will fail. This can be worked around
    for now by explicitly setting the shell as /bin/sh during configure.
    
    Also fixes the libdir path and updates to EAPI=8.
    
    Closes: https://bugs.gentoo.org/905721
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/30878
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/slibtool/slibtool-0.5.34.ebuild | 7 ++++---
 sys-devel/slibtool/slibtool-9999.ebuild   | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2023-05-07 06:10:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac26fb671f24d49b20930f9acfb875933b0fa14

commit 4ac26fb671f24d49b20930f9acfb875933b0fa14
Author:     orbea <orbea@riseup.net>
AuthorDate: 2023-05-07 06:04:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-07 06:10:13 +0000

    sys-devel/slibtool: remove shell workaround
    
    slibtool now uses CONFIG_SHELL like autoconf instead of accepting the
    SHELL variable which may not be a bourne compatible shell.
    
    Bug: https://bugs.gentoo.org/905721
    Upstream-Commit: https://git.foss21.org/slibtool/commit/?id=667d348ca9d54b31857fd20c08b97c642ae9f815
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/30908
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/slibtool/slibtool-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)