Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608234 - sys-libs/glibc-2.26-r1 - ${ED}/apps/gentoo_uv/etc/init.d/nscd has wrong shebang
Summary: sys-libs/glibc-2.26-r1 - ${ED}/apps/gentoo_uv/etc/init.d/nscd has wrong shebang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 17:29 UTC by Martin Mokrejš
Modified: 2017-09-12 19:47 UTC (History)
1 user (show)

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


Attachments
toolchain.glibc.patch (glibc.patch,761 bytes, patch)
2017-09-12 03:46 UTC, Benda Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2017-02-04 17:29:46 UTC
During new installation of Gentoo::RAP I get a QA failure due to nscd script requiring /sbin/runscript . Either some eprefixify patches should prefixify this or is this a glibc package issue?



>>> Completed installing glibc-2.23-r3 into /apps/gentoo_uv/tmp/var/tmp/portage/sys-libs/glibc-2.23-r3/image/

 * Final size of build directory: 349456 KiB
 * Final size of installed tree: 53368 KiB

grep: /apps/gentoo_uv/tmp/var/tmp/portage/sys-libs/glibc-2.23-r3/image/apps/gentoo_uv/lib: Is a directory
 * prefixing shebang of apps/gentoo_uv/usr/sbin/locale-gen
 * prefixing shebang of apps/gentoo_uv/usr/bin/catchsegv
 * QA Notice: the following files use invalid (possible non-prefixed) shebangs:
 *   apps/gentoo_uv/etc/init.d/nscd:/sbin/runscript (script nscd installed in PATH but interpreter /sbin/runscript not found)
 * ERROR: sys-libs/glibc-2.23-r3::gentoo failed:
 *   Aborting due to QA concerns: invalid shebangs found
 * 
 * Call stack:
 *   misc-functions.sh, line 1236:  Called install_qa_check
 *   misc-functions.sh, line  223:  Called source 'install_symlink_html_docs'
 *            05prefix, line  115:  Called install_qa_check_prefix
 *            05prefix, line  111:  Called die
 * The specific snippet of code:
 *              die "Aborting due to QA concerns: invalid shebangs found"
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.23-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.23-r3::gentoo'`.
 * The complete build log is located at '/apps/gentoo_uv/tmp/var/tmp/portage/sys-libs/glibc-2.23-r3/temp/build.log'.
 * The ebuild environment file is located at '/apps/gentoo_uv/tmp/var/tmp/portage/sys-libs/glibc-2.23-r3/temp/environment'.
 * Working directory: '/apps/gentoo_uv/tmp/var/tmp/portage/sys-libs/glibc-2.23-r3/image'
 * S: '/apps/gentoo_uv/tmp/var/tmp/portage/sys-libs/glibc-2.23-r3/work/glibc-2.23'
!!! post install failed; exiting.


$ head -n 1 /apps/gentoo_uv/tmp/var/tmp/portage/sys-libs/glibc-2.23-r3/image/apps/gentoo_uv/etc/init.d/nscd 
#!/sbin/runscript
$

There should be /apps/gentoo_uv/sbin/runscript instead
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-09-11 09:38:00 UTC
@prefix: since I have no experience there... 

https://github.com/gentoo/glibc/blob/gentoo/2.26/scripts/gentoo/extra/etc/nscd

^ could you please advise me which of the paths need to be eprefixified?
Comment 2 Fabian Groffen gentoo-dev 2017-09-11 14:49:00 UTC
@heroxbd: your call I think
Comment 3 Benda Xu gentoo-dev 2017-09-12 03:46:44 UTC
Created attachment 494080 [details, diff]
toolchain.glibc.patch

How about this patch?
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-09-12 19:47:13 UTC
(In reply to Benda Xu from comment #3)
> Created attachment 494080 [details, diff] [details, diff]
> toolchain.glibc.patch
> 
> How about this patch?

Even easier. Thanks, also applied to 2.26-r1 (where the eclass code is not used anymore).