Message ID | 20220128014022.3144694-1-alejandro@enedino.org |
---|---|
State | Accepted, archived |
Commit | 668445252fa96bd00ecdef1f610707a132eb35fc |
Headers | show |
Series | newlib: Upgrade 4.1.0 -> 4.2.0 | expand |
On Thu, Jan 27, 2022 at 5:40 PM Alejandro Hernandez Samaniego <alejandro@enedino.org> wrote: > > Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> > --- > .../newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} | 0 > meta/recipes-core/newlib/newlib.inc | 12 +++++++++--- > .../newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} | 0 > 3 files changed, 9 insertions(+), 3 deletions(-) > rename meta/recipes-core/newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} (100%) > rename meta/recipes-core/newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} (100%) > > diff --git a/meta/recipes-core/newlib/libgloss_4.1.0.bb b/meta/recipes-core/newlib/libgloss_4.2.0.bb > similarity index 100% > rename from meta/recipes-core/newlib/libgloss_4.1.0.bb > rename to meta/recipes-core/newlib/libgloss_4.2.0.bb > diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc > index 23cd172008..5e488d0848 100644 > --- a/meta/recipes-core/newlib/newlib.inc > +++ b/meta/recipes-core/newlib/newlib.inc > @@ -15,13 +15,19 @@ LIC_FILES_CHKSUM = " \ > file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \ > " > > -SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" > -SRC_URI[sha256sum] = "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154" > +# Newlib maintainers sometimes publish the source > +# from a specific snapshot, after an upgrade we can > +# delete the following line and keep the empty default > +NEWLIB_SNAPSHOT = ".20211231" hmmm so its not 4.2.0 release yet ? maybe just rename the recipe accordingly ? > +NEWLIB_SNAPSHOT ?= "" > +SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz" > +SRC_URI[sha256sum] = "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435" > + > > INHIBIT_DEFAULT_DEPS = "1" > DEPENDS = "virtual/${TARGET_PREFIX}gcc" > > -S = "${WORKDIR}/newlib-${PV}" > +S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}" > B = "${WORKDIR}/build" > > ## disable stdlib > diff --git a/meta/recipes-core/newlib/newlib_4.1.0.bb b/meta/recipes-core/newlib/newlib_4.2.0.bb > similarity index 100% > rename from meta/recipes-core/newlib/newlib_4.1.0.bb > rename to meta/recipes-core/newlib/newlib_4.2.0.bb > -- > 2.25.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#161064): https://lists.openembedded.org/g/openembedded-core/message/161064 > Mute This Topic: https://lists.openembedded.org/mt/88736577/1997914 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
On Fri, 28 Jan 2022 at 02:10, Khem Raj <raj.khem@gmail.com> wrote: > On Thu, Jan 27, 2022 at 5:40 PM Alejandro Hernandez Samaniego > <alejandro@enedino.org> wrote: > > > > Signed-off-by: Alejandro Enedino Hernandez Samaniego < > alejandro@enedino.org> > > --- > > .../newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} | 0 > > meta/recipes-core/newlib/newlib.inc | 12 +++++++++--- > > .../newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} | 0 > > 3 files changed, 9 insertions(+), 3 deletions(-) > > rename meta/recipes-core/newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} > (100%) > > rename meta/recipes-core/newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} > (100%) > > > > diff --git a/meta/recipes-core/newlib/libgloss_4.1.0.bb > b/meta/recipes-core/newlib/libgloss_4.2.0.bb > > similarity index 100% > > rename from meta/recipes-core/newlib/libgloss_4.1.0.bb > > rename to meta/recipes-core/newlib/libgloss_4.2.0.bb > > diff --git a/meta/recipes-core/newlib/newlib.inc > b/meta/recipes-core/newlib/newlib.inc > > index 23cd172008..5e488d0848 100644 > > --- a/meta/recipes-core/newlib/newlib.inc > > +++ b/meta/recipes-core/newlib/newlib.inc > > @@ -15,13 +15,19 @@ LIC_FILES_CHKSUM = " \ > > > file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 > \ > > " > > > > -SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" > > -SRC_URI[sha256sum] = > "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154" > > +# Newlib maintainers sometimes publish the source > > +# from a specific snapshot, after an upgrade we can > > +# delete the following line and keep the empty default > > +NEWLIB_SNAPSHOT = ".20211231" > > hmmm so its not 4.2.0 release yet ? > maybe just rename the recipe accordingly ? > Its a little confusing, the source was uploaded with the snapshot suffix, but the snapshot tag in the git log points to: Update newlib to 4.2.0 https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=484d2ebf8d825b28af47b8ee88cd845f1d2c7c6e So it seems it is the release, they just didn't upload it that way, I've waited a few weeks in case they did but no change. Hence why I decided to keep the recipe name as 4.2.0 Alejandro > > > +NEWLIB_SNAPSHOT ?= "" > > +SRC_URI = " > https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz" > > +SRC_URI[sha256sum] = > "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435" > > + > > > > INHIBIT_DEFAULT_DEPS = "1" > > DEPENDS = "virtual/${TARGET_PREFIX}gcc" > > > > -S = "${WORKDIR}/newlib-${PV}" > > +S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}" > > B = "${WORKDIR}/build" > > > > ## disable stdlib > > diff --git a/meta/recipes-core/newlib/newlib_4.1.0.bb > b/meta/recipes-core/newlib/newlib_4.2.0.bb > > similarity index 100% > > rename from meta/recipes-core/newlib/newlib_4.1.0.bb > > rename to meta/recipes-core/newlib/newlib_4.2.0.bb > > -- > > 2.25.1 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#161064): > https://lists.openembedded.org/g/openembedded-core/message/161064 > > Mute This Topic: https://lists.openembedded.org/mt/88736577/1997914 > > Group Owner: openembedded-core+owner@lists.openembedded.org > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > raj.khem@gmail.com] > > -=-=-=-=-=-=-=-=-=-=-=- > > >
This is causing license errors for me: ERROR: newlib-4.2.0-r0 do_populate_lic: QA Issue: newlib: The LIC_FILES_CHKSUM does not match for file://COPYING.NEWLIB;md5=b8dda70da54e0efb49b1074f349d7749 newlib: The new md5 checksum is 8bb75595dbcc7d45e5c0d116d7bdf6ce newlib: Here is the selected license text: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv The newlib subdirectory is a collection of software from several sources. Each file may have its own copyright/license that is embedded in the source file. Unless otherwise noted in the body of the source file(s), the following copyright notices will apply to the contents of the newlib subdirectory: (1) Red Hat Incorporated Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved. ... ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ newlib: Check if the license information has changed in /builds/engineering/yocto/meta-arm/work/build/tmp/work/cortexm33e-fpv5-spd16-poky-eabi/newlib/4.2.0-r0/newlib-4.2.0.20211231/COPYING.NEWLIB to verify that the LICENSE value "GPLv2 & LGPLv3 & GPLv3 & LGPLv2 & BSD-2-Clause & tcl" remains valid [license-checksum] Ross On Fri, 28 Jan 2022 at 01:40, Alejandro Hernandez Samaniego <alejandro@enedino.org> wrote: > > Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> > --- > .../newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} | 0 > meta/recipes-core/newlib/newlib.inc | 12 +++++++++--- > .../newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} | 0 > 3 files changed, 9 insertions(+), 3 deletions(-) > rename meta/recipes-core/newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} (100%) > rename meta/recipes-core/newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} (100%) > > diff --git a/meta/recipes-core/newlib/libgloss_4.1.0.bb b/meta/recipes-core/newlib/libgloss_4.2.0.bb > similarity index 100% > rename from meta/recipes-core/newlib/libgloss_4.1.0.bb > rename to meta/recipes-core/newlib/libgloss_4.2.0.bb > diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc > index 23cd172008..5e488d0848 100644 > --- a/meta/recipes-core/newlib/newlib.inc > +++ b/meta/recipes-core/newlib/newlib.inc > @@ -15,13 +15,19 @@ LIC_FILES_CHKSUM = " \ > file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \ > " > > -SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" > -SRC_URI[sha256sum] = "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154" > +# Newlib maintainers sometimes publish the source > +# from a specific snapshot, after an upgrade we can > +# delete the following line and keep the empty default > +NEWLIB_SNAPSHOT = ".20211231" > +NEWLIB_SNAPSHOT ?= "" > +SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz" > +SRC_URI[sha256sum] = "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435" > + > > INHIBIT_DEFAULT_DEPS = "1" > DEPENDS = "virtual/${TARGET_PREFIX}gcc" > > -S = "${WORKDIR}/newlib-${PV}" > +S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}" > B = "${WORKDIR}/build" > > ## disable stdlib > diff --git a/meta/recipes-core/newlib/newlib_4.1.0.bb b/meta/recipes-core/newlib/newlib_4.2.0.bb > similarity index 100% > rename from meta/recipes-core/newlib/newlib_4.1.0.bb > rename to meta/recipes-core/newlib/newlib_4.2.0.bb > -- > 2.25.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#161064): https://lists.openembedded.org/g/openembedded-core/message/161064 > Mute This Topic: https://lists.openembedded.org/mt/88736577/1676615 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross@burtonini.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Patch on the list. It would be good to get newlib exercised in the AB somewhere... Ross On Tue, 8 Feb 2022 at 11:32, Ross Burton <ross@burtonini.com> wrote: > > This is causing license errors for me: > > ERROR: newlib-4.2.0-r0 do_populate_lic: QA Issue: newlib: The > LIC_FILES_CHKSUM does not match for > file://COPYING.NEWLIB;md5=b8dda70da54e0efb49b1074f349d7749 > newlib: The new md5 checksum is 8bb75595dbcc7d45e5c0d116d7bdf6ce > newlib: Here is the selected license text: > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > The newlib subdirectory is a collection of software from several sources. > Each file may have its own copyright/license that is embedded in the source > file. Unless otherwise noted in the body of the source file(s), the > following copyright > notices will apply to the contents of the newlib subdirectory: > (1) Red Hat Incorporated > Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved. > ... > ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE > IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE > ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE > FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL > DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT > LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY > OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > SUCH DAMAGE. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > newlib: Check if the license information has changed in > /builds/engineering/yocto/meta-arm/work/build/tmp/work/cortexm33e-fpv5-spd16-poky-eabi/newlib/4.2.0-r0/newlib-4.2.0.20211231/COPYING.NEWLIB > to verify that the LICENSE value "GPLv2 & LGPLv3 & GPLv3 & LGPLv2 & > BSD-2-Clause & tcl" remains valid [license-checksum] > > Ross > > On Fri, 28 Jan 2022 at 01:40, Alejandro Hernandez Samaniego > <alejandro@enedino.org> wrote: > > > > Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> > > --- > > .../newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} | 0 > > meta/recipes-core/newlib/newlib.inc | 12 +++++++++--- > > .../newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} | 0 > > 3 files changed, 9 insertions(+), 3 deletions(-) > > rename meta/recipes-core/newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} (100%) > > rename meta/recipes-core/newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} (100%) > > > > diff --git a/meta/recipes-core/newlib/libgloss_4.1.0.bb b/meta/recipes-core/newlib/libgloss_4.2.0.bb > > similarity index 100% > > rename from meta/recipes-core/newlib/libgloss_4.1.0.bb > > rename to meta/recipes-core/newlib/libgloss_4.2.0.bb > > diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc > > index 23cd172008..5e488d0848 100644 > > --- a/meta/recipes-core/newlib/newlib.inc > > +++ b/meta/recipes-core/newlib/newlib.inc > > @@ -15,13 +15,19 @@ LIC_FILES_CHKSUM = " \ > > file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \ > > " > > > > -SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" > > -SRC_URI[sha256sum] = "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154" > > +# Newlib maintainers sometimes publish the source > > +# from a specific snapshot, after an upgrade we can > > +# delete the following line and keep the empty default > > +NEWLIB_SNAPSHOT = ".20211231" > > +NEWLIB_SNAPSHOT ?= "" > > +SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz" > > +SRC_URI[sha256sum] = "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435" > > + > > > > INHIBIT_DEFAULT_DEPS = "1" > > DEPENDS = "virtual/${TARGET_PREFIX}gcc" > > > > -S = "${WORKDIR}/newlib-${PV}" > > +S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}" > > B = "${WORKDIR}/build" > > > > ## disable stdlib > > diff --git a/meta/recipes-core/newlib/newlib_4.1.0.bb b/meta/recipes-core/newlib/newlib_4.2.0.bb > > similarity index 100% > > rename from meta/recipes-core/newlib/newlib_4.1.0.bb > > rename to meta/recipes-core/newlib/newlib_4.2.0.bb > > -- > > 2.25.1 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#161064): https://lists.openembedded.org/g/openembedded-core/message/161064 > > Mute This Topic: https://lists.openembedded.org/mt/88736577/1676615 > > Group Owner: openembedded-core+owner@lists.openembedded.org > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross@burtonini.com] > > -=-=-=-=-=-=-=-=-=-=-=- > >
diff --git a/meta/recipes-core/newlib/libgloss_4.1.0.bb b/meta/recipes-core/newlib/libgloss_4.2.0.bb similarity index 100% rename from meta/recipes-core/newlib/libgloss_4.1.0.bb rename to meta/recipes-core/newlib/libgloss_4.2.0.bb diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc index 23cd172008..5e488d0848 100644 --- a/meta/recipes-core/newlib/newlib.inc +++ b/meta/recipes-core/newlib/newlib.inc @@ -15,13 +15,19 @@ LIC_FILES_CHKSUM = " \ file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \ " -SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" -SRC_URI[sha256sum] = "f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154" +# Newlib maintainers sometimes publish the source +# from a specific snapshot, after an upgrade we can +# delete the following line and keep the empty default +NEWLIB_SNAPSHOT = ".20211231" +NEWLIB_SNAPSHOT ?= "" +SRC_URI = "https://sourceware.org/pub/newlib/newlib-${PV}${NEWLIB_SNAPSHOT}.tar.gz" +SRC_URI[sha256sum] = "c3a0e8b63bc3bef1aeee4ca3906b53b3b86c8d139867607369cb2915ffc54435" + INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "virtual/${TARGET_PREFIX}gcc" -S = "${WORKDIR}/newlib-${PV}" +S = "${WORKDIR}/newlib-${PV}${NEWLIB_SNAPSHOT}" B = "${WORKDIR}/build" ## disable stdlib diff --git a/meta/recipes-core/newlib/newlib_4.1.0.bb b/meta/recipes-core/newlib/newlib_4.2.0.bb similarity index 100% rename from meta/recipes-core/newlib/newlib_4.1.0.bb rename to meta/recipes-core/newlib/newlib_4.2.0.bb
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> --- .../newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} | 0 meta/recipes-core/newlib/newlib.inc | 12 +++++++++--- .../newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} | 0 3 files changed, 9 insertions(+), 3 deletions(-) rename meta/recipes-core/newlib/{libgloss_4.1.0.bb => libgloss_4.2.0.bb} (100%) rename meta/recipes-core/newlib/{newlib_4.1.0.bb => newlib_4.2.0.bb} (100%)