* [PATCH 0/1] buildtools-tarball: add nativesdk-libnss-nis @ 2018-05-25 2:54 Chen Qi 2018-05-25 2:54 ` [PATCH 1/1] " Chen Qi 0 siblings, 1 reply; 7+ messages in thread From: Chen Qi @ 2018-05-25 2:54 UTC (permalink / raw) To: openembedded-core The following changes since commit d886fa118c930d0e551f2a0ed02b35d08617f746: bitbake: bitbake-user-manual: Updated copyright year on title page to 2018 (2018-05-24 17:17:25 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/buildtools-libnss-nis http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/buildtools-libnss-nis Chen Qi (1): buildtools-tarball: add nativesdk-libnss-nis meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis 2018-05-25 2:54 [PATCH 0/1] buildtools-tarball: add nativesdk-libnss-nis Chen Qi @ 2018-05-25 2:54 ` Chen Qi 2018-06-06 7:36 ` ChenQi 2018-06-06 16:48 ` Burton, Ross 0 siblings, 2 replies; 7+ messages in thread From: Chen Qi @ 2018-05-25 2:54 UTC (permalink / raw) To: openembedded-core Recent glibc change removed libnss-nis module from glibc and a new recipe libnss-nis.bb was added. After this change, we need to make sure nativesdk-libnss-nis is also included in buildtools-tarball, otherwise, we may encounter the following error when using 'tar' command from buildtools-tarball. tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \ symbol _nsl_default_nss version GLIBC_PRIVATE not defined \ in file libnsl.so.1 with link time reference This error occured on my ubuntu16.04 host with 'nis' configured in /etc/nssswitch.conf. So add nativesdk-libnss-nis to buildtools-tarball to fix this problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> --- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index d98a9c9..377733f 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb @@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\ nativesdk-wget \ nativesdk-ca-certificates \ nativesdk-texinfo \ + nativesdk-libnss-nis \ " MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis 2018-05-25 2:54 ` [PATCH 1/1] " Chen Qi @ 2018-06-06 7:36 ` ChenQi 2018-06-06 16:48 ` Burton, Ross 1 sibling, 0 replies; 7+ messages in thread From: ChenQi @ 2018-06-06 7:36 UTC (permalink / raw) To: openembedded-core ping On 05/25/2018 10:54 AM, Chen Qi wrote: > Recent glibc change removed libnss-nis module from glibc and a new > recipe libnss-nis.bb was added. > > After this change, we need to make sure nativesdk-libnss-nis is also > included in buildtools-tarball, otherwise, we may encounter the following > error when using 'tar' command from buildtools-tarball. > > tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \ > symbol _nsl_default_nss version GLIBC_PRIVATE not defined \ > in file libnsl.so.1 with link time reference > > This error occured on my ubuntu16.04 host with 'nis' configured in > /etc/nssswitch.conf. > > So add nativesdk-libnss-nis to buildtools-tarball to fix this problem. > > Signed-off-by: Chen Qi <Qi.Chen@windriver.com> > --- > meta/recipes-core/meta/buildtools-tarball.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb > index d98a9c9..377733f 100644 > --- a/meta/recipes-core/meta/buildtools-tarball.bb > +++ b/meta/recipes-core/meta/buildtools-tarball.bb > @@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\ > nativesdk-wget \ > nativesdk-ca-certificates \ > nativesdk-texinfo \ > + nativesdk-libnss-nis \ > " > > MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis 2018-05-25 2:54 ` [PATCH 1/1] " Chen Qi 2018-06-06 7:36 ` ChenQi @ 2018-06-06 16:48 ` Burton, Ross 2018-06-06 17:17 ` Khem Raj 1 sibling, 1 reply; 7+ messages in thread From: Burton, Ross @ 2018-06-06 16:48 UTC (permalink / raw) To: Chen Qi; +Cc: OE-core Try building a musl buildtools and it breaks: ERROR: Nothing RPROVIDES 'nativesdk-libnss-nis' (but /home/ross/Yocto/poky/meta/recipes-core/meta/buildtools-tarball.bb RDEPENDS on or otherwise requires it) nativesdk-libnss-nis was skipped: incompatible with musl C library Ross On 25 May 2018 at 03:54, Chen Qi <Qi.Chen@windriver.com> wrote: > Recent glibc change removed libnss-nis module from glibc and a new > recipe libnss-nis.bb was added. > > After this change, we need to make sure nativesdk-libnss-nis is also > included in buildtools-tarball, otherwise, we may encounter the following > error when using 'tar' command from buildtools-tarball. > > tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \ > symbol _nsl_default_nss version GLIBC_PRIVATE not defined \ > in file libnsl.so.1 with link time reference > > This error occured on my ubuntu16.04 host with 'nis' configured in > /etc/nssswitch.conf. > > So add nativesdk-libnss-nis to buildtools-tarball to fix this problem. > > Signed-off-by: Chen Qi <Qi.Chen@windriver.com> > --- > meta/recipes-core/meta/buildtools-tarball.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb > index d98a9c9..377733f 100644 > --- a/meta/recipes-core/meta/buildtools-tarball.bb > +++ b/meta/recipes-core/meta/buildtools-tarball.bb > @@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\ > nativesdk-wget \ > nativesdk-ca-certificates \ > nativesdk-texinfo \ > + nativesdk-libnss-nis \ > " > > MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" > -- > 1.9.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis 2018-06-06 16:48 ` Burton, Ross @ 2018-06-06 17:17 ` Khem Raj 2018-07-06 8:37 ` ChenQi 0 siblings, 1 reply; 7+ messages in thread From: Khem Raj @ 2018-06-06 17:17 UTC (permalink / raw) To: Burton, Ross; +Cc: OE-core On Wed, Jun 6, 2018 at 9:48 AM, Burton, Ross <ross.burton@intel.com> wrote: > Try building a musl buildtools and it breaks: > > ERROR: Nothing RPROVIDES 'nativesdk-libnss-nis' (but > /home/ross/Yocto/poky/meta/recipes-core/meta/buildtools-tarball.bb > RDEPENDS on or otherwise requires it) > nativesdk-libnss-nis was skipped: incompatible with musl C library > I think the compatibility check is too greedy in the recipe, this should only be applicable to target class recipe. > Ross > > On 25 May 2018 at 03:54, Chen Qi <Qi.Chen@windriver.com> wrote: >> Recent glibc change removed libnss-nis module from glibc and a new >> recipe libnss-nis.bb was added. >> >> After this change, we need to make sure nativesdk-libnss-nis is also >> included in buildtools-tarball, otherwise, we may encounter the following >> error when using 'tar' command from buildtools-tarball. >> >> tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \ >> symbol _nsl_default_nss version GLIBC_PRIVATE not defined \ >> in file libnsl.so.1 with link time reference >> >> This error occured on my ubuntu16.04 host with 'nis' configured in >> /etc/nssswitch.conf. >> >> So add nativesdk-libnss-nis to buildtools-tarball to fix this problem. >> >> Signed-off-by: Chen Qi <Qi.Chen@windriver.com> >> --- >> meta/recipes-core/meta/buildtools-tarball.bb | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb >> index d98a9c9..377733f 100644 >> --- a/meta/recipes-core/meta/buildtools-tarball.bb >> +++ b/meta/recipes-core/meta/buildtools-tarball.bb >> @@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\ >> nativesdk-wget \ >> nativesdk-ca-certificates \ >> nativesdk-texinfo \ >> + nativesdk-libnss-nis \ >> " >> >> MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" >> -- >> 1.9.1 >> >> -- >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis 2018-06-06 17:17 ` Khem Raj @ 2018-07-06 8:37 ` ChenQi 2018-07-06 15:14 ` Burton, Ross 0 siblings, 1 reply; 7+ messages in thread From: ChenQi @ 2018-07-06 8:37 UTC (permalink / raw) To: Khem Raj, Burton, Ross; +Cc: OE-core Hi Ross, Please consider merging this patch. With Khem's recent fix "libnss-nis: Limit parse skip only for target recipe on musl", I think this patch could be merged safely. I've tested it locally with glibc and musl. Best Regards, Chen Qi On 06/07/2018 01:17 AM, Khem Raj wrote: > On Wed, Jun 6, 2018 at 9:48 AM, Burton, Ross <ross.burton@intel.com> wrote: >> Try building a musl buildtools and it breaks: >> >> ERROR: Nothing RPROVIDES 'nativesdk-libnss-nis' (but >> /home/ross/Yocto/poky/meta/recipes-core/meta/buildtools-tarball.bb >> RDEPENDS on or otherwise requires it) >> nativesdk-libnss-nis was skipped: incompatible with musl C library >> > I think the compatibility check is too greedy in the recipe, this should > only be applicable to target class recipe. > >> Ross >> >> On 25 May 2018 at 03:54, Chen Qi <Qi.Chen@windriver.com> wrote: >>> Recent glibc change removed libnss-nis module from glibc and a new >>> recipe libnss-nis.bb was added. >>> >>> After this change, we need to make sure nativesdk-libnss-nis is also >>> included in buildtools-tarball, otherwise, we may encounter the following >>> error when using 'tar' command from buildtools-tarball. >>> >>> tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \ >>> symbol _nsl_default_nss version GLIBC_PRIVATE not defined \ >>> in file libnsl.so.1 with link time reference >>> >>> This error occured on my ubuntu16.04 host with 'nis' configured in >>> /etc/nssswitch.conf. >>> >>> So add nativesdk-libnss-nis to buildtools-tarball to fix this problem. >>> >>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com> >>> --- >>> meta/recipes-core/meta/buildtools-tarball.bb | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb >>> index d98a9c9..377733f 100644 >>> --- a/meta/recipes-core/meta/buildtools-tarball.bb >>> +++ b/meta/recipes-core/meta/buildtools-tarball.bb >>> @@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\ >>> nativesdk-wget \ >>> nativesdk-ca-certificates \ >>> nativesdk-texinfo \ >>> + nativesdk-libnss-nis \ >>> " >>> >>> MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" >>> -- >>> 1.9.1 >>> >>> -- >>> _______________________________________________ >>> Openembedded-core mailing list >>> Openembedded-core@lists.openembedded.org >>> http://lists.openembedded.org/mailman/listinfo/openembedded-core >> -- >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis 2018-07-06 8:37 ` ChenQi @ 2018-07-06 15:14 ` Burton, Ross 0 siblings, 0 replies; 7+ messages in thread From: Burton, Ross @ 2018-07-06 15:14 UTC (permalink / raw) To: ChenQi; +Cc: OE-core Okay, merged to MUT. We'll see what the AB thinks! Ross On 6 July 2018 at 09:37, ChenQi <Qi.Chen@windriver.com> wrote: > Hi Ross, > > Please consider merging this patch. > > With Khem's recent fix "libnss-nis: Limit parse skip only for target recipe > on musl", I think this patch could be merged safely. > I've tested it locally with glibc and musl. > > Best Regards, > Chen Qi > > > On 06/07/2018 01:17 AM, Khem Raj wrote: >> >> On Wed, Jun 6, 2018 at 9:48 AM, Burton, Ross <ross.burton@intel.com> >> wrote: >>> >>> Try building a musl buildtools and it breaks: >>> >>> ERROR: Nothing RPROVIDES 'nativesdk-libnss-nis' (but >>> /home/ross/Yocto/poky/meta/recipes-core/meta/buildtools-tarball.bb >>> RDEPENDS on or otherwise requires it) >>> nativesdk-libnss-nis was skipped: incompatible with musl C library >>> >> I think the compatibility check is too greedy in the recipe, this should >> only be applicable to target class recipe. >> >>> Ross >>> >>> On 25 May 2018 at 03:54, Chen Qi <Qi.Chen@windriver.com> wrote: >>>> >>>> Recent glibc change removed libnss-nis module from glibc and a new >>>> recipe libnss-nis.bb was added. >>>> >>>> After this change, we need to make sure nativesdk-libnss-nis is also >>>> included in buildtools-tarball, otherwise, we may encounter the >>>> following >>>> error when using 'tar' command from buildtools-tarball. >>>> >>>> tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \ >>>> symbol _nsl_default_nss version GLIBC_PRIVATE not defined \ >>>> in file libnsl.so.1 with link time reference >>>> >>>> This error occured on my ubuntu16.04 host with 'nis' configured in >>>> /etc/nssswitch.conf. >>>> >>>> So add nativesdk-libnss-nis to buildtools-tarball to fix this problem. >>>> >>>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com> >>>> --- >>>> meta/recipes-core/meta/buildtools-tarball.bb | 1 + >>>> 1 file changed, 1 insertion(+) >>>> >>>> diff --git a/meta/recipes-core/meta/buildtools-tarball.bb >>>> b/meta/recipes-core/meta/buildtools-tarball.bb >>>> index d98a9c9..377733f 100644 >>>> --- a/meta/recipes-core/meta/buildtools-tarball.bb >>>> +++ b/meta/recipes-core/meta/buildtools-tarball.bb >>>> @@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\ >>>> nativesdk-wget \ >>>> nativesdk-ca-certificates \ >>>> nativesdk-texinfo \ >>>> + nativesdk-libnss-nis \ >>>> " >>>> >>>> MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" >>>> -- >>>> 1.9.1 >>>> >>>> -- >>>> _______________________________________________ >>>> Openembedded-core mailing list >>>> Openembedded-core@lists.openembedded.org >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core >>> >>> -- >>> _______________________________________________ >>> Openembedded-core mailing list >>> Openembedded-core@lists.openembedded.org >>> http://lists.openembedded.org/mailman/listinfo/openembedded-core > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-07-06 15:15 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-05-25 2:54 [PATCH 0/1] buildtools-tarball: add nativesdk-libnss-nis Chen Qi 2018-05-25 2:54 ` [PATCH 1/1] " Chen Qi 2018-06-06 7:36 ` ChenQi 2018-06-06 16:48 ` Burton, Ross 2018-06-06 17:17 ` Khem Raj 2018-07-06 8:37 ` ChenQi 2018-07-06 15:14 ` Burton, Ross
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox