Skip to contentSkip to conversation

freetype:update mirror site for package download.

PATCH In review [email protected] 2 participants 4 messages Jan 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 freetype:update mirror site for package download.

From: KARN JYE LAU <[email protected]>

update SAVANNAH_NONGNU_MIRROR to SAVANNAH_GNU_MIRROR to resolve package fetching issues.

---
 meta/recipes-graphics/freetype/freetype_2.12.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/freetype/freetype_2.12.1.bb +1 -1
index 46c6182630..5e7f916e21 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=a5927784d823d443c6cae55701d01553 \
                     file://docs/FTL.TXT;md5=9f37b4e6afa3fef9dba8932b16bd3f97 \
                     file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec"
 
-SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz"
+SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.xz"
 SRC_URI[sha256sum] = "4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f"
 
 UPSTREAM_CHECK_REGEX = "freetype-(?P<pver>\d+(\.\d+)+)"
Signature · 1 line
2.17.1
#1 lore raw

Can you show the package fetching issues you are having please? Freetype is still where it was, as far as I see:

https://download.savannah.nongnu.org/releases/freetype/

Alex

Quoted 36 lines · On Mon, 9 Jan 2023 at 02:40, <[email protected]> wrote:

From: KARN JYE LAU <[email protected]>

update SAVANNAH_NONGNU_MIRROR to SAVANNAH_GNU_MIRROR to resolve package fetching issues.

---
 meta/recipes-graphics/freetype/freetype_2.12.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/freetype/freetype_2.12.1.bb +1 -2
index 46c6182630..5e7f916e21 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=a5927784d823d443c6cae55701d01553 \
                     file://docs/FTL.TXT;md5=9f37b4e6afa3fef9dba8932b16bd3f97 \
                     file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec"
 
-SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz"
+SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.xz"
 SRC_URI[sha256sum] = "4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f"
 
 UPSTREAM_CHECK_REGEX = "freetype-(?P<pver>\d+(\.\d+)+)"
--

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175657): https://lists.openembedded.org/g/openembedded-core/message/175657
Mute This Topic: https://lists.openembedded.org/mt/96144063/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Hi Alex,pls have a glance on the log

ilabuser@kjlau-iLBPG12:~/oe_core_yocto_build/build2/tmp-glibc/log/cooker/qemux86-64$ cat 20230109011215.log | grep freetype
NOTE: Running task 255 of 669 (/home/ilabuser/oe_core_yocto_build/openembedded-core/meta/recipes-graphics/freetype/freetype_2.12.1.bb:do_fetch)
NOTE: recipe freetype-2.12.1-r0: task do_fetch: Started
WARNING: freetype-2.12.1-r0 do_fetch: Failed to fetch URL https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz, attempting MIRRORS if available
WARNING: freetype-2.12.1-r0 do_fetch: Checksum mismatch for local file /home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz
WARNING: freetype-2.12.1-r0 do_fetch: Renaming /home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz to /home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz_bad-checksum_ed2530cbbcc700eca1d7e4b0d0a1fce6816205c70f587c8a12837a1f4e74104a
ERROR: freetype-2.12.1-r0 do_fetch: Checksum failure fetching https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz
ERROR: freetype-2.12.1-r0 do_fetch: Bitbake Fetcher Error: ChecksumError('Checksum mismatch!\nFile: \'/home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz\' has sha256 checksum \'ed2530cbbcc700eca1d7e4b0d0a1fce6816205c70f587c8a12837a1f4e74104a\' when \'4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f\' was expected\nIf this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:\nSRC_URI[sha256sum] = "ed2530cbbcc700eca1d7e4b0d0a1fce6816205c70f587c8a12837a1f4e74104a"\nOtherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.', 'https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz')
ERROR: Logfile of failure stored in: /home/ilabuser/oe_core_yocto_build/build2/tmp-glibc/work/x86-64-v3-oe-linux/freetype/2.12.1-r0/temp/log.do_fetch.2933
NOTE: recipe freetype-2.12.1-r0: task do_fetch: Failed
ERROR: Task (/home/ilabuser/oe_core_yocto_build/openembedded-core/meta/recipes-graphics/freetype/freetype_2.12.1.bb:do_fetch) failed with exit code '1'

KJ

-----Original Message-----
From: Alexander Kanavin <[email protected]>
Sent: Monday, 9 January, 2023 5:39 PM
To: Lau, Karn Jye <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core][PATCH] freetype:update mirror site for package download.

Can you show the package fetching issues you are having please? Freetype is still where it was, as far as I see:

https://download.savannah.nongnu.org/releases/freetype/

Alex

Quoted 39 lines · On Mon, 9 Jan 2023 at 02:40, <[email protected]> wrote:

From: KARN JYE LAU <[email protected]>

update SAVANNAH_NONGNU_MIRROR to SAVANNAH_GNU_MIRROR to resolve package fetching issues.

---
 meta/recipes-graphics/freetype/freetype_2.12.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/freetype/freetype_2.12.1.bb +1 -2
index 46c6182630..5e7f916e21 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=a5927784d823d443c6cae55701d01553 \
                     file://docs/FTL.TXT;md5=9f37b4e6afa3fef9dba8932b16bd3f97 \
                     file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec"
 
-SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz"
+SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.xz"
 SRC_URI[sha256sum] = "4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f"
 
 UPSTREAM_CHECK_REGEX = "freetype-(?P<pver>\d+(\.\d+)+)"
--

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#175657):
https://lists.openembedded.org/g/openembedded-core/message/175657
Mute This Topic: https://lists.openembedded.org/mt/96144063/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

It seems that you have a corrupted file somewhere. In my setup, the sha256sum matches what is in the recipe:

alex@Zen2:/srv/work/alex/poky/meta$ wget
https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz
--2023-01-09 11:28:30--
https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz
Resolving download.savannah.nongnu.org
(download.savannah.nongnu.org)... 209.51.188.200, 2001:470:142:5::200
Connecting to download.savannah.nongnu.org
(download.savannah.nongnu.org)|209.51.188.200|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://de.freedif.org/savannah/freetype/freetype-2.12.1.tar.xz
[following]
--2023-01-09 11:28:31--
https://de.freedif.org/savannah/freetype/freetype-2.12.1.tar.xz
Resolving de.freedif.org (de.freedif.org)... 116.202.241.226
Connecting to de.freedif.org (de.freedif.org)|116.202.241.226|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2471916 (2.4M) [application/x-xz]
Saving to: ‘freetype-2.12.1.tar.xz’

freetype-2.12.1.tar.xz 100%[=====================================================================================================================>]
2.36M 10.0MB/s in 0.2s

2023-01-09 11:28:31 (10.0 MB/s) - ‘freetype-2.12.1.tar.xz’ saved

[2471916/2471916]

alex@Zen2:/srv/work/alex/poky/meta$ sha256sum freetype-2.12.1.tar.xz
4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f
freetype-2.12.1.tar.xz

Can you try these commands and see what happens?

Alex

Quoted 71 lines · Karn Jye

Hi Alex,pls have a glance on the log

ilabuser@kjlau-iLBPG12:~/oe_core_yocto_build/build2/tmp-glibc/log/cooker/qemux86-64$ cat 20230109011215.log | grep freetype
NOTE: Running task 255 of 669 (/home/ilabuser/oe_core_yocto_build/openembedded-core/meta/recipes-graphics/freetype/freetype_2.12.1.bb:do_fetch)
NOTE: recipe freetype-2.12.1-r0: task do_fetch: Started
WARNING: freetype-2.12.1-r0 do_fetch: Failed to fetch URL https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz, attempting MIRRORS if available
WARNING: freetype-2.12.1-r0 do_fetch: Checksum mismatch for local file /home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz
WARNING: freetype-2.12.1-r0 do_fetch: Renaming /home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz to /home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz_bad-checksum_ed2530cbbcc700eca1d7e4b0d0a1fce6816205c70f587c8a12837a1f4e74104a
ERROR: freetype-2.12.1-r0 do_fetch: Checksum failure fetching https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz
ERROR: freetype-2.12.1-r0 do_fetch: Bitbake Fetcher Error: ChecksumError('Checksum mismatch!\nFile: \'/home/ilabuser/oe_core_yocto_build/build2/downloads/freetype-2.12.1.tar.xz\' has sha256 checksum \'ed2530cbbcc700eca1d7e4b0d0a1fce6816205c70f587c8a12837a1f4e74104a\' when \'4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f\' was expected\nIf this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:\nSRC_URI[sha256sum] = "ed2530cbbcc700eca1d7e4b0d0a1fce6816205c70f587c8a12837a1f4e74104a"\nOtherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.', 'https://download.savannah.nongnu.org/releases/freetype/freetype-2.12.1.tar.xz')
ERROR: Logfile of failure stored in: /home/ilabuser/oe_core_yocto_build/build2/tmp-glibc/work/x86-64-v3-oe-linux/freetype/2.12.1-r0/temp/log.do_fetch.2933
NOTE: recipe freetype-2.12.1-r0: task do_fetch: Failed
ERROR: Task (/home/ilabuser/oe_core_yocto_build/openembedded-core/meta/recipes-graphics/freetype/freetype_2.12.1.bb:do_fetch) failed with exit code '1'

KJ

-----Original Message-----
From: Alexander Kanavin <[email protected]>
Sent: Monday, 9 January, 2023 5:39 PM
To: Lau, Karn Jye <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core][PATCH] freetype:update mirror site for package download.

Can you show the package fetching issues you are having please? Freetype is still where it was, as far as I see:

https://download.savannah.nongnu.org/releases/freetype/

Alex

Quoted 39 lines · On Mon, 9 Jan 2023 at 02:40, <[email protected]> wrote:

From: KARN JYE LAU <[email protected]>

update SAVANNAH_NONGNU_MIRROR to SAVANNAH_GNU_MIRROR to resolve package fetching issues.

---
 meta/recipes-graphics/freetype/freetype_2.12.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/freetype/freetype_2.12.1.bb +1 -2
index 46c6182630..5e7f916e21 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=a5927784d823d443c6cae55701d01553 \
                     file://docs/FTL.TXT;md5=9f37b4e6afa3fef9dba8932b16bd3f97 \
                     file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec"
 
-SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz"
+SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.xz"
 SRC_URI[sha256sum] = "4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f"
 
 UPSTREAM_CHECK_REGEX = "freetype-(?P<pver>\d+(\.\d+)+)"
--

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#175657):
https://lists.openembedded.org/g/openembedded-core/message/175657
Mute This Topic: https://lists.openembedded.org/mt/96144063/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-