Skip to content

staging-next-23.05 iteration 9 - 2023-10-10 - #260159

Merged
vcunat merged 103 commits into
release-23.05from
staging-next-23.05
Oct 13, 2023
Merged

vcunat merged 103 commits into
release-23.05from
staging-next-23.05

Conversation

natsukium and others added 30 commits September 12, 2023 19:10
fixes CVE-2023-4863, which allows us to drop the patch

(cherry picked from commit 6cb2474)
[Backport staging-23.05] python310: 3.10.12 -> 3.10.13; python311: 3.11.4 -> 3.11.5
@vcunat
vcunat requested a review from FRidh as a code owner October 10, 2023 07:10
@github-actions github-actions Bot added 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: printing Drivers, CUPS & Co. labels Oct 10, 2023
@vcunat

vcunat commented Oct 10, 2023

Copy link
Copy Markdown
Member Author

I hope that the python bumps won't cause trouble.

Still waiting for tomorrow's fixes for curl. Everything that won't be rebuilt due to that is being prepared in https://hydra.nixos.org/eval/1800270

@ofborg ofborg Bot added 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Oct 10, 2023
@999eagle 999eagle mentioned this pull request Oct 11, 2023
4 of 12 tasks
@vcunat
vcunat merged commit 898cb20 into release-23.05 Oct 13, 2023
@vcunat

vcunat commented Oct 13, 2023

Copy link
Copy Markdown
Member Author

I believe we're good enough now, for linux at least. With darwins there are at least 30k builds still missing, but likelihood of something really major seems low and some of the security fixes seem... relatively important.

@ajs124

ajs124 commented Oct 17, 2023

Copy link
Copy Markdown
Member

This seems to have broken cross compilation of (some) things that depend on libcurl somehow, e.g.:

tpm2-tss> checking for strndup... yes
tpm2-tss> checking for reallocarray... yes
tpm2-tss> checking for libcrypto >= 1.1.0... yes
tpm2-tss> checking for EVP_sm3 in -lcrypto... yes
tpm2-tss> checking for json-c... yes
tpm2-tss> checking for libcurl... no
tpm2-tss> configure: error: Package requirements (libcurl) were not met:
tpm2-tss> 
tpm2-tss> Package 'libcurl' has no Name: field
tpm2-tss> 
tpm2-tss> Consider adjusting the PKG_CONFIG_PATH environment variable if you
tpm2-tss> installed software in a non-standard prefix.
tpm2-tss> 
tpm2-tss> Alternatively, you may set the environment variables CURL_CFLAGS
tpm2-tss> and CURL_LIBS to avoid the need to call pkg-config.
tpm2-tss> See the pkg-config man page for more details.

@vcunat

vcunat commented Oct 17, 2023 •

Copy link
Copy Markdown
Member Author

That's really weird. I see no change in libcurl.pc (except hashes and versions of dependencies). It would also be surprising, given the curl diff on nix level, only 87ef095

I wonder if it's another instance of /nix/store hashes matching a hacky regex, or something similar.

@ajs124

ajs124 commented Oct 17, 2023

Copy link
Copy Markdown
Member

bisect points to 87ef095, but I agree, that shouldn't break like that.

I'll see what else I can find.

@vcunat

vcunat commented Oct 17, 2023

Copy link
Copy Markdown
Member Author

I suggest building with --keep-failed and looking at config.log (or how it's called).

@vcunat

vcunat commented Oct 17, 2023

Copy link
Copy Markdown
Member Author

I actually only looked at libcurl.pc in normal non-cross builds, so maybe...

@ajs124

ajs124 commented Oct 17, 2023

Copy link
Copy Markdown
Member

lib/pkgconfig/libcurl.pc is just null bytes for me, in the cross build.

Maybe it's just my build environment after all 🤔
If so, sorry for the noise.

@vcunat

vcunat commented Oct 17, 2023

Copy link
Copy Markdown
Member Author

Some filesystem issues were causing similar things IIRC.

@ajs124

ajs124 commented Oct 17, 2023

Copy link
Copy Markdown
Member

Yup. Seems to have been something like that. Oops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 6.topic: printing Drivers, CUPS & Co. 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.