package/musl-compat-headers: fix download of queue.h
PATCH 1/1 package/musl-compat-headers: fix download of queue.h
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70 now returns some HTML soup instead of the plain text version of the file, causing the hash check to fail.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70;content-type=text%2Fplain
returns the correct data, but the ";" in the URL causes some issues with the parsing logic in Buildroot.
So let's switch to
https://raw.githubusercontent.com/NetBSD/src/03be82a6b173b3c62116b7a186067fed3004dd44/sys/sys/queue.h
which delivers exactly the same file, but hopefully will be more stable. The file name changed to just queue.h, but the contents is the same.
Fixes:
http://autobuild.buildroot.net/results/57c8078f382f74859076512425b2f1c52f44e95a/
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992850 (and many other similar cases)
--- package/musl-compat-headers/musl-compat-headers.hash | 2 +- package/musl-compat-headers/musl-compat-headers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/musl-compat-headers/musl-compat-headers.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b queue.h?rev=1.70 +sha256 c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b queue.h
package/musl-compat-headers/musl-compat-headers.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ # No main site, just using extra downloads -MUSL_COMPAT_HEADERS_QUEUE_H = http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70 +MUSL_COMPAT_HEADERS_QUEUE_H = https://raw.githubusercontent.com/NetBSD/src/03be82a6b173b3c62116b7a186067fed3004dd44/sys/sys/queue.h MUSL_COMPAT_HEADERS_EXTRA_DOWNLOADS = $(MUSL_COMPAT_HEADERS_QUEUE_H)
Signature · 6 lines
2.46.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Romain Naour via buildroot
AppliedHello Thomas,
Le 28/10/2024 à 14:46, Thomas Petazzoni via buildroot a écrit :
Quoted 14 lines
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70 now returns some HTML soup instead of the plain text version of the file, causing the hash check to fail.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70;content-type=text%2Fplain
returns the correct data, but the ";" in the URL causes some issues with the parsing logic in Buildroot.So let's switch to
https://raw.githubusercontent.com/NetBSD/src/03be82a6b173b3c62116b7a186067fed3004dd44/sys/sys/queue.h
which delivers exactly the same file, but hopefully will be more stable. The file name changed to justqueue.h, but the contents is the same.
Quoted 4 lines
Fixes:
http://autobuild.buildroot.net/results/57c8078f382f74859076512425b2f1c52f44e95a/
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992850 (and many other similar cases)
I noticed more than 100 failures in our gitlab-ci O_o
Applied to master, thanks.
Best regards,
Romain
Quoted 20 lines
Signed-off-by Thomas Petazzoni <[email protected]>--- package/musl-compat-headers/musl-compat-headers.hash | 2 +- package/musl-compat-headers/musl-compat-headers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/musl-compat-headers/musl-compat-headers.hash +1
-1@@ -1,2 +1,2 @@ # Locally calculated -sha256 c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b queue.h?rev=1.70 +sha256 c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b queue.hpackage/musl-compat-headers/musl-compat-headers.mk +0
-0
package/musl-compat-headers/musl-compat-headers.mk line 11
Quoted 8 lines
package/musl-compat-headers/musl-compat-headers.mk +1
-1@@ -5,7 +5,7 @@ ################################################################################ # No main site, just using extra downloads -MUSL_COMPAT_HEADERS_QUEUE_H = http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70 +MUSL_COMPAT_HEADERS_QUEUE_H = https://raw.githubusercontent.com/NetBSD/src/03be82a6b173b3c62116b7a186067fed3004dd44/sys/sys/queue.h MUSL_COMPAT_HEADERS_EXTRA_DOWNLOADS = $(MUSL_COMPAT_HEADERS_QUEUE_H)
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot