diff mbox series

[13/18] Disable crypt support in glibc

Message ID e9bcf3a4c54ac1cd9721abc0d9be5324d4004845.1533595822.git.raj.khem@gmail.com
State New
Headers show
Series Update to glibc 2.28 | expand

Commit Message

Khem Raj Aug. 6, 2018, 10:57 p.m. UTC
We have independent crypt implementation coming from libxcrypt

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-core/glibc/glibc_2.28.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Martin Jansa Aug. 8, 2018, 3:48 p.m. UTC | #1
Should this be squashed with "glibc: Drop packaging libcrypt from 2.28+
onwards" ?

I've accidentally cherry-picked the packaging change from patchwork and
missed this one which results in:

ERROR: glibc-2.28-r0 do_package: QA Issue: glibc: Files/directories were
installed but not shipped in any package:
  /lib/libcrypt.so.1
  /lib/libcrypt-2.28.so
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
glibc: 2 installed and not shipped files. [installed-vs-shipped]


On Tue, Aug 7, 2018 at 12:59 AM Khem Raj <raj.khem@gmail.com> wrote:

> We have independent crypt implementation coming from libxcrypt

>

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta/recipes-core/glibc/glibc_2.28.bb | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/meta/recipes-core/glibc/glibc_2.28.bb

> b/meta/recipes-core/glibc/glibc_2.28.bb

> index 086daed04c..906e6c2b62 100644

> --- a/meta/recipes-core/glibc/glibc_2.28.bb

> +++ b/meta/recipes-core/glibc/glibc_2.28.bb

> @@ -83,6 +83,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \

>                  --enable-bind-now \

>                  --enable-stack-protector=strong \

>                  --enable-stackguard-randomization \

> +                --disable-crypt \

>                  ${GLIBCPIE} \

>                  ${GLIBC_EXTRA_OECONF}"

>

> --

> 2.18.0

>

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>
<div dir="ltr">Should this be squashed with &quot;glibc: Drop packaging libcrypt from 2.28+ onwards&quot; ?<div><br></div><div>I&#39;ve accidentally cherry-picked the packaging change from patchwork and missed this one which results in:</div><div><br></div><div><div>ERROR: glibc-2.28-r0 do_package: QA Issue: glibc: Files/directories were installed but not shipped in any package:</div><div>  /lib/libcrypt.so.1</div><div>  /lib/<a href="http://libcrypt-2.28.so">libcrypt-2.28.so</a></div><div>Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.</div><div>glibc: 2 installed and not shipped files. [installed-vs-shipped]</div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 7, 2018 at 12:59 AM Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We have independent crypt implementation coming from libxcrypt<br>
<br>
Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>

---<br>
 meta/recipes-core/glibc/<a href="http://glibc_2.28.bb" rel="noreferrer" target="_blank">glibc_2.28.bb</a> | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/meta/recipes-core/glibc/<a href="http://glibc_2.28.bb" rel="noreferrer" target="_blank">glibc_2.28.bb</a> b/meta/recipes-core/glibc/<a href="http://glibc_2.28.bb" rel="noreferrer" target="_blank">glibc_2.28.bb</a><br>
index 086daed04c..906e6c2b62 100644<br>
--- a/meta/recipes-core/glibc/<a href="http://glibc_2.28.bb" rel="noreferrer" target="_blank">glibc_2.28.bb</a><br>
+++ b/meta/recipes-core/glibc/<a href="http://glibc_2.28.bb" rel="noreferrer" target="_blank">glibc_2.28.bb</a><br>
@@ -83,6 +83,7 @@ EXTRA_OECONF = &quot;--enable-kernel=${OLDEST_KERNEL} \<br>
                 --enable-bind-now \<br>
                 --enable-stack-protector=strong \<br>
                 --enable-stackguard-randomization \<br>
+                --disable-crypt \<br>
                 ${GLIBCPIE} \<br>
                 ${GLIBC_EXTRA_OECONF}&quot;<br>
<br>
-- <br>
2.18.0<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj Aug. 8, 2018, 4:06 p.m. UTC | #2
I deliberately kept it separate for readability from glibc upgrade,
but squashing this with packaging changes alone is ok. I will leave
that to Ross
On Wed, Aug 8, 2018 at 8:48 AM Martin Jansa <martin.jansa@gmail.com> wrote:
>

> Should this be squashed with "glibc: Drop packaging libcrypt from 2.28+ onwards" ?

>

> I've accidentally cherry-picked the packaging change from patchwork and missed this one which results in:

>

> ERROR: glibc-2.28-r0 do_package: QA Issue: glibc: Files/directories were installed but not shipped in any package:

>   /lib/libcrypt.so.1

>   /lib/libcrypt-2.28.so

> Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

> glibc: 2 installed and not shipped files. [installed-vs-shipped]

>

>

> On Tue, Aug 7, 2018 at 12:59 AM Khem Raj <raj.khem@gmail.com> wrote:

>>

>> We have independent crypt implementation coming from libxcrypt

>>

>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> ---

>>  meta/recipes-core/glibc/glibc_2.28.bb | 1 +

>>  1 file changed, 1 insertion(+)

>>

>> diff --git a/meta/recipes-core/glibc/glibc_2.28.bb b/meta/recipes-core/glibc/glibc_2.28.bb

>> index 086daed04c..906e6c2b62 100644

>> --- a/meta/recipes-core/glibc/glibc_2.28.bb

>> +++ b/meta/recipes-core/glibc/glibc_2.28.bb

>> @@ -83,6 +83,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \

>>                  --enable-bind-now \

>>                  --enable-stack-protector=strong \

>>                  --enable-stackguard-randomization \

>> +                --disable-crypt \

>>                  ${GLIBCPIE} \

>>                  ${GLIBC_EXTRA_OECONF}"

>>

>> --

>> 2.18.0

>>

>> --

>> _______________________________________________

>> 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
Ross Burton Aug. 8, 2018, 4:09 p.m. UTC | #3
Yeah squashing makes sense, as the intermediate commit is broken.

Ross

On 8 August 2018 at 17:06, Khem Raj <raj.khem@gmail.com> wrote:
> I deliberately kept it separate for readability from glibc upgrade,

> but squashing this with packaging changes alone is ok. I will leave

> that to Ross

> On Wed, Aug 8, 2018 at 8:48 AM Martin Jansa <martin.jansa@gmail.com> wrote:

>>

>> Should this be squashed with "glibc: Drop packaging libcrypt from 2.28+ onwards" ?

>>

>> I've accidentally cherry-picked the packaging change from patchwork and missed this one which results in:

>>

>> ERROR: glibc-2.28-r0 do_package: QA Issue: glibc: Files/directories were installed but not shipped in any package:

>>   /lib/libcrypt.so.1

>>   /lib/libcrypt-2.28.so

>> Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

>> glibc: 2 installed and not shipped files. [installed-vs-shipped]

>>

>>

>> On Tue, Aug 7, 2018 at 12:59 AM Khem Raj <raj.khem@gmail.com> wrote:

>>>

>>> We have independent crypt implementation coming from libxcrypt

>>>

>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>>> ---

>>>  meta/recipes-core/glibc/glibc_2.28.bb | 1 +

>>>  1 file changed, 1 insertion(+)

>>>

>>> diff --git a/meta/recipes-core/glibc/glibc_2.28.bb b/meta/recipes-core/glibc/glibc_2.28.bb

>>> index 086daed04c..906e6c2b62 100644

>>> --- a/meta/recipes-core/glibc/glibc_2.28.bb

>>> +++ b/meta/recipes-core/glibc/glibc_2.28.bb

>>> @@ -83,6 +83,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \

>>>                  --enable-bind-now \

>>>                  --enable-stack-protector=strong \

>>>                  --enable-stackguard-randomization \

>>> +                --disable-crypt \

>>>                  ${GLIBCPIE} \

>>>                  ${GLIBC_EXTRA_OECONF}"

>>>

>>> --

>>> 2.18.0

>>>

>>> --

>>> _______________________________________________

>>> 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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj Aug. 8, 2018, 4:54 p.m. UTC | #4
OK I have pushed the changes to pull branch
On Wed, Aug 8, 2018 at 9:10 AM Burton, Ross <ross.burton@intel.com> wrote:
>

> Yeah squashing makes sense, as the intermediate commit is broken.

>

> Ross

>

> On 8 August 2018 at 17:06, Khem Raj <raj.khem@gmail.com> wrote:

> > I deliberately kept it separate for readability from glibc upgrade,

> > but squashing this with packaging changes alone is ok. I will leave

> > that to Ross

> > On Wed, Aug 8, 2018 at 8:48 AM Martin Jansa <martin.jansa@gmail.com> wrote:

> >>

> >> Should this be squashed with "glibc: Drop packaging libcrypt from 2.28+ onwards" ?

> >>

> >> I've accidentally cherry-picked the packaging change from patchwork and missed this one which results in:

> >>

> >> ERROR: glibc-2.28-r0 do_package: QA Issue: glibc: Files/directories were installed but not shipped in any package:

> >>   /lib/libcrypt.so.1

> >>   /lib/libcrypt-2.28.so

> >> Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

> >> glibc: 2 installed and not shipped files. [installed-vs-shipped]

> >>

> >>

> >> On Tue, Aug 7, 2018 at 12:59 AM Khem Raj <raj.khem@gmail.com> wrote:

> >>>

> >>> We have independent crypt implementation coming from libxcrypt

> >>>

> >>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> >>> ---

> >>>  meta/recipes-core/glibc/glibc_2.28.bb | 1 +

> >>>  1 file changed, 1 insertion(+)

> >>>

> >>> diff --git a/meta/recipes-core/glibc/glibc_2.28.bb b/meta/recipes-core/glibc/glibc_2.28.bb

> >>> index 086daed04c..906e6c2b62 100644

> >>> --- a/meta/recipes-core/glibc/glibc_2.28.bb

> >>> +++ b/meta/recipes-core/glibc/glibc_2.28.bb

> >>> @@ -83,6 +83,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \

> >>>                  --enable-bind-now \

> >>>                  --enable-stack-protector=strong \

> >>>                  --enable-stackguard-randomization \

> >>> +                --disable-crypt \

> >>>                  ${GLIBCPIE} \

> >>>                  ${GLIBC_EXTRA_OECONF}"

> >>>

> >>> --

> >>> 2.18.0

> >>>

> >>> --

> >>> _______________________________________________

> >>> 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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-core/glibc/glibc_2.28.bb b/meta/recipes-core/glibc/glibc_2.28.bb
index 086daed04c..906e6c2b62 100644
--- a/meta/recipes-core/glibc/glibc_2.28.bb
+++ b/meta/recipes-core/glibc/glibc_2.28.bb
@@ -83,6 +83,7 @@  EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --enable-bind-now \
                 --enable-stack-protector=strong \
                 --enable-stackguard-randomization \
+                --disable-crypt \
                 ${GLIBCPIE} \
                 ${GLIBC_EXTRA_OECONF}"