[v2] curl: Update to 7.84.0

Message ID 20220701141831.101998-1-jose.quaresma@foundries.io
State Accepted, archived
Commit 991a49672a8c45e319dc9d9b0466cf96725c1363
Headers show
Series [v2] curl: Update to 7.84.0 | expand

Commit Message

Jose Quaresma July 1, 2022, 2:18 p.m. UTC
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
 meta/recipes-support/curl/{curl_7.83.1.bb => curl_7.84.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/curl/{curl_7.83.1.bb => curl_7.84.0.bb} (97%)

Comments

Richard Purdie July 2, 2022, 12:33 p.m. UTC | #1
On Fri, 2022-07-01 at 15:18 +0100, Jose Quaresma wrote:
> Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> ---
>  meta/recipes-support/curl/{curl_7.83.1.bb => curl_7.84.0.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-support/curl/{curl_7.83.1.bb => curl_7.84.0.bb} (97%)
> 
> diff --git a/meta/recipes-support/curl/curl_7.83.1.bb b/meta/recipes-support/curl/curl_7.84.0.bb
> similarity index 97%
> rename from meta/recipes-support/curl/curl_7.83.1.bb
> rename to meta/recipes-support/curl/curl_7.84.0.bb
> index 1d9de29a65..ade2846a64 100644
> --- a/meta/recipes-support/curl/curl_7.83.1.bb
> +++ b/meta/recipes-support/curl/curl_7.84.0.bb
> @@ -10,7 +10,7 @@ LICENSE = "MIT-open-group"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=190c514872597083303371684954f238"
>  
>  SRC_URI = "https://curl.se/download/${BP}.tar.xz"
> -SRC_URI[sha256sum] = "2cb9c2356e7263a1272fd1435ef7cdebf2cd21400ec287b068396deb705c22c4"
> +SRC_URI[sha256sum] = "2d118b43f547bfe5bae806d8d47b4e596ea5b25a6c1f080aef49fbcd817c5db8"
>  
>  # Curl has used many names over the years...
>  CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"

Fails on some platforms:

| In file included from ../../curl-7.84.0/lib/easy.c:89:
| ../../curl-7.84.0/lib/easy_lock.h: In function 'curl_simple_lock_lock':
| ../../curl-7.84.0/lib/easy_lock.h:56:7: error: implicit declaration of function 'sched_yield' [-Werror=implicit-function-declaration]
|    56 |       sched_yield();
|       |       ^~~~~~~~~~~

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5476/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5447/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/3228/steps/13/logs/stdio

Cheers,

Richard
Robert Joslyn July 3, 2022, 10:30 p.m. UTC | #2
On 7/2/2022 5:33 AM, Richard Purdie wrote:
> On Fri, 2022-07-01 at 15:18 +0100, Jose Quaresma wrote:
>> Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
>> ---
>>   meta/recipes-support/curl/{curl_7.83.1.bb => curl_7.84.0.bb} | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>   rename meta/recipes-support/curl/{curl_7.83.1.bb => curl_7.84.0.bb} (97%)
>>
>> diff --git a/meta/recipes-support/curl/curl_7.83.1.bb b/meta/recipes-support/curl/curl_7.84.0.bb
>> similarity index 97%
>> rename from meta/recipes-support/curl/curl_7.83.1.bb
>> rename to meta/recipes-support/curl/curl_7.84.0.bb
>> index 1d9de29a65..ade2846a64 100644
>> --- a/meta/recipes-support/curl/curl_7.83.1.bb
>> +++ b/meta/recipes-support/curl/curl_7.84.0.bb
>> @@ -10,7 +10,7 @@ LICENSE = "MIT-open-group"
>>   LIC_FILES_CHKSUM = "file://COPYING;md5=190c514872597083303371684954f238"
>>   
>>   SRC_URI = "https://curl.se/download/${BP}.tar.xz"
>> -SRC_URI[sha256sum] = "2cb9c2356e7263a1272fd1435ef7cdebf2cd21400ec287b068396deb705c22c4"
>> +SRC_URI[sha256sum] = "2d118b43f547bfe5bae806d8d47b4e596ea5b25a6c1f080aef49fbcd817c5db8"
>>   
>>   # Curl has used many names over the years...
>>   CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
> Fails on some platforms:
>
> | In file included from ../../curl-7.84.0/lib/easy.c:89:
> | ../../curl-7.84.0/lib/easy_lock.h: In function 'curl_simple_lock_lock':
> | ../../curl-7.84.0/lib/easy_lock.h:56:7: error: implicit declaration of function 'sched_yield' [-Werror=implicit-function-declaration]
> |    56 |       sched_yield();
> |       |       ^~~~~~~~~~~
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5476/steps/12/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/5447/steps/11/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/3228/steps/13/logs/stdio

Upstream had a bug in the latest release, I just sent a new patch with a 
fix backported.

Thanks,

Robert

Patch

diff --git a/meta/recipes-support/curl/curl_7.83.1.bb b/meta/recipes-support/curl/curl_7.84.0.bb
similarity index 97%
rename from meta/recipes-support/curl/curl_7.83.1.bb
rename to meta/recipes-support/curl/curl_7.84.0.bb
index 1d9de29a65..ade2846a64 100644
--- a/meta/recipes-support/curl/curl_7.83.1.bb
+++ b/meta/recipes-support/curl/curl_7.84.0.bb
@@ -10,7 +10,7 @@  LICENSE = "MIT-open-group"
 LIC_FILES_CHKSUM = "file://COPYING;md5=190c514872597083303371684954f238"
 
 SRC_URI = "https://curl.se/download/${BP}.tar.xz"
-SRC_URI[sha256sum] = "2cb9c2356e7263a1272fd1435ef7cdebf2cd21400ec287b068396deb705c22c4"
+SRC_URI[sha256sum] = "2d118b43f547bfe5bae806d8d47b4e596ea5b25a6c1f080aef49fbcd817c5db8"
 
 # Curl has used many names over the years...
 CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"