diff options
| author | Crucible <crucible@localhost> | 2026-09-24 00:35:31 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-24 00:35:31 -0500 |
| commit | 083c77aa1472385960eca7c5456a44ff330f6194 (patch) | |
| tree | 738405dd3caae1ea4f2cef9e89e0e789ee9f4037 /dev-util | |
| parent | 0bfba5fe509bcae69a88bc8f932be891aae42ee2 (diff) | |
| download | srcux-083c77aa1472385960eca7c5456a44ff330f6194.tar.gz srcux-083c77aa1472385960eca7c5456a44ff330f6194.tar.xz srcux-083c77aa1472385960eca7c5456a44ff330f6194.zip | |
Publish srcux candidate 0000000372-20260924-003122
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/codex/Manifest | 7 | ||||
| -rw-r--r-- | dev-util/codex/codex-0.156.1.ebuild | 45 | ||||
| -rw-r--r-- | dev-util/codex/files/codex-0.156.1-chatgpt-recursion-limit.patch | 12 |
3 files changed, 38 insertions, 26 deletions
diff --git a/dev-util/codex/Manifest b/dev-util/codex/Manifest index 37f309bea38d..6d3700c89a6c 100644 --- a/dev-util/codex/Manifest +++ b/dev-util/codex/Manifest @@ -4,6 +4,7 @@ DIST codex-0.156.1.tar.gz 15873682 BLAKE2B 7d4304cabb201a467aeade484b280b277c4ce DIST codex-rust-v0.156.0-crates.tar.xz 158178052 BLAKE2B 878048fd7831cab2e226d72370246d86e8eba923aff2b04dda017bc843c3b35d284ace60ea1f75d9c986e3c1c3d405da25430c9236b9bddb08a9aa8578de44f5 SHA512 1f3d8195db2fd4968e125b551ef2ef28cc7c64b46ddcba36c87df5be30767f02f1397f653967757f86606f654a1f21f4579c2d7072db89be524a8e6a9ae98c46 DIST codex-rust-v0.156.1-crates.tar.xz 158178052 BLAKE2B 878048fd7831cab2e226d72370246d86e8eba923aff2b04dda017bc843c3b35d284ace60ea1f75d9c986e3c1c3d405da25430c9236b9bddb08a9aa8578de44f5 SHA512 1f3d8195db2fd4968e125b551ef2ef28cc7c64b46ddcba36c87df5be30767f02f1397f653967757f86606f654a1f21f4579c2d7072db89be524a8e6a9ae98c46 DIST crossterm-45fecb9508105988f42fe6ff0441783ed3717f92.gh.tar.gz 144786 BLAKE2B 18577acd2586a50723657e77b304d7bd309208d7ce597d315d13d7e36c90ac08f15510053ad1e927798b0edabc75fc8e54f1f2ac4978215084c0cf84573193e8 SHA512 aa5fd475a306000032fa0a68c758d81056920c68fd001ce632e0fbc11d70efd37def5786a677f3f4cd2e17b76672eda6bb53a517ba90a18e8dc312c390987786 +DIST h3-e07e69412876f7e26f026bd75a48b2704d8c8283.gh.tar.gz 244832 BLAKE2B bea2d550925b09b3fd0a33aef734a26a7457d91dc0a89fe72cd6de684dd2f2a37de5ac615691e7d92cc47fa7aaad4ab13c253dd30eaa3287f7d62e139f77d07a SHA512 9dc2589b2ea013f6bb79c05fb515fdf236834116241ecb33c783b64102e3904c11beea7d75ad12d3fd48b66276387da96c162657010292eae5a8c84260ef94d2 DIST libz-ng-sys-1.1.16.crate 478122 BLAKE2B 7c1be97251029732cd3a8c77dad8a492193282b5fddf40df480ef3a35a49f5d25c7dc183d81aa267722276156c8b97243742117686d078f2d3a566546fa83d58 SHA512 c7d1b062a06b283ee2d398ff456f13634ed1d2d436ea2b8a55f19fbbad47bc419e068b0f9e805221321062b8c5ad309dd3e5d466741780549ae3e5299eee06e1 DIST libz-sys-1.1.20.crate 830422 BLAKE2B 26265b1faf04f7d0cfd751ddf003585b1be59fcf8fde3ddfd86f18cc3e2d5c3b62a808f47c01329a57759d14fe6283cd94a72eda46d5c5031249df0f1696ab03 SHA512 9b537e7c01553e782be145223c6d174601ade3a950bfd0eb4ea09658da5b8910cf0d0c5984672f9d198f73d5aa63d21e0c20c4c44ff7d0a017ee11ae4ecf4859 DIST mxc-6cd3d58f05d3447e67109cfb75e042803b843ca4.gh.tar.gz 5985947 BLAKE2B f2c48e8d16586407986dee718cc2aa9bc58174e6e9e1a13b36bcc5a9aae7d9f033863479d077e2e579a21d07914043fcac52d0981feb9230109336675fe28485 SHA512 ac2ce0b3a30a0e0faff40a31fea16d44a7eea1c40cce3bbb8fa98319d221a04b5ab27085620c1929d4c1d17b3cefea1e3e0586a8246a8569199e417e804ddbba @@ -15,5 +16,11 @@ DIST rusty_v8_147.4.0_librusty_v8_release_aarch64-unknown-linux-musl.a.gz 285066 DIST rusty_v8_147.4.0_librusty_v8_release_x86_64-unknown-linux-musl.a.gz 28963294 BLAKE2B 7f82d32e792a2369af969d1b02efe088ecabb90ced58746cfda2407a78ad72b83ac298e6bd4d4524fd9f10260878b9f2559f9697bd64b4010715475cdae4dfbd SHA512 06221f45db84e9eb41369761848d1067fcf5688b0c4559ffb27f773e7e6382b9f0f88cca55b1b2c81c4af99c6787261be06e3973b0124a864dad5b80315352e1 DIST rusty_v8_147.4.0_src_binding_release_aarch64-unknown-linux-musl.rs 40798 BLAKE2B 67d760138c88eefcc0e90ff2989785628592d3f04eeeb188bc15bfb1ca8e28ea80bd6213da2e7a470e5e7cdc80aaef3dc03f1db842e137c975dbe3ff0aff27c4 SHA512 e60537dd2c24c9804b1d242a61f3c9e4a5d7ef3dc60dfb3dfc80c30f915f29fa8fd7021ba88db034c7fe6e467df6a945cc895404efbbbb4b97ef61ee7a858365 DIST rusty_v8_147.4.0_src_binding_release_x86_64-unknown-linux-musl.rs 40798 BLAKE2B 67d760138c88eefcc0e90ff2989785628592d3f04eeeb188bc15bfb1ca8e28ea80bd6213da2e7a470e5e7cdc80aaef3dc03f1db842e137c975dbe3ff0aff27c4 SHA512 e60537dd2c24c9804b1d242a61f3c9e4a5d7ef3dc60dfb3dfc80c30f915f29fa8fd7021ba88db034c7fe6e467df6a945cc895404efbbbb4b97ef61ee7a858365 +DIST rusty_v8_150.4.0_librusty_v8_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.a.gz 28897449 BLAKE2B ff719ae67fb52adbe51ac310aa56d059cdd81b466f0e3cc056367888257df306c0554773e2474f2e6438ab2c0e3c29bd039fb1e083f695164cb4db3c22a60cc0 SHA512 5a858b6eea1080cf1182caef98c58ccb62c44a52969e5e3409b2b9a9fb2adc2e2b98273195328e4608d4027b80ea1fc6eea286ba53b9796eab46dbe998213784 +DIST rusty_v8_150.4.0_librusty_v8_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.a.gz 29557041 BLAKE2B eb2a923086cf66e6c9d3322889f3e9dbbd6cba2b70aff1ecc5bfd3954ffd24a1eb079a1ce4f2852c54a03270919c93617dac479259bc0a9fefaa04f6f12a2806 SHA512 a29c010e56a64a9abcca01606bae1961c74fe8be38eed73c3ef6670013d8998f0c9e806ef00c46dc33cc38dff72d8941a4cfe8a984113134b841aa2404972ede +DIST rusty_v8_150.4.0_src_binding_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.rs 39884 BLAKE2B b21381b7f09d0205455ba541b2a38ff79b9535c4b8436b309f39f4b40d819e604b3689298ae81deb00c07a12a21ef0fd1bd0bbddb196d63f24d8621ace7165c1 SHA512 4ebc8dfb8b87fb6e1b39a67582e4690278ebcadf8a18314f642fd6658e2b5706a7acbbd52ab1899d985700a8e886dda6a601a29d977bdfcc9da46209b1a90571 +DIST rusty_v8_150.4.0_src_binding_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.rs 39884 BLAKE2B b21381b7f09d0205455ba541b2a38ff79b9535c4b8436b309f39f4b40d819e604b3689298ae81deb00c07a12a21ef0fd1bd0bbddb196d63f24d8621ace7165c1 SHA512 4ebc8dfb8b87fb6e1b39a67582e4690278ebcadf8a18314f642fd6658e2b5706a7acbbd52ab1899d985700a8e886dda6a601a29d977bdfcc9da46209b1a90571 +DIST tokio-tungstenite-0e5b2d73aa18dd9f0a50ee9ff199d5aef7594186.gh.tar.gz 33055 BLAKE2B a96f699095016a8f081dfb4dd14156b475886f9f81bf80566589385039cd9a5032717544ccb3ab026834089e5c0896778852e406c85bb43bd829d6272a8031b5 SHA512 e7f40cb92abe472f764d73884c520657cb6ea1f8fff710af3d888852a51f3b38ac9ab21d2631ab026508ce58b569bfe8d9bd3bce600d16e1cdd91f5d43f334e6 DIST tokio-tungstenite-132f5b39c862e3a970f731d709608b3e6276d5f6.gh.tar.gz 31620 BLAKE2B 139395aeb58bf9ad632efd3c9a8d58d888b55da14129529b453fbf3b49cf5323f0d89912a25b30bc238673b729f4d4ff243826c9a5a25426ba6d77913c42b041 SHA512 8784ff79f1f78be5884a085b1a89300257df2a1b7d82c6a226961fd949c9a5a6ba3d825db8db6bc5e314ee184fd2f3bd0a3bf36923744f6a708870ca7ddaf76b +DIST tungstenite-rs-4fffad30fe373adbdcffab9545e9e9bf4f2fc19f.gh.tar.gz 293806 BLAKE2B 01fd438230d5a6d2f47d340df64d25c7d47652fbc81d02269adfdc3cf6fc1ed9e252a385b31aca17e10b9059bfd936921bd34222951b656b400ef7e2eb5d7859 SHA512 da8ce98168bcc20e97a5a88df3dbc550302f1040681a76529b58a2d2a610c2db15d5a4e384423ed983ac70e43d352b87efdb684df1e153809bb812b47d4a5651 DIST tungstenite-rs-9200079d3b54a1ff51072e24d81fd354f085156f.gh.tar.gz 293929 BLAKE2B c3ce0b5f2939fc6dbbe5d0d539b3e7951e40cd646232086a023a8dba96c2160c6a5e61159463a071b1c97f6150a335cf844f53aa64c4751253eb7177c3720258 SHA512 44dd8c0dc60c86a5feb047002b8f9dae167a6ddf5c23e2ca8604018bfd0a24bfa2f1457a2715586c925d0639d0cfbb64931328addbc06a645c3744927fa76e2d diff --git a/dev-util/codex/codex-0.156.1.ebuild b/dev-util/codex/codex-0.156.1.ebuild index e4cd743774c1..3dc9aa92b6c7 100644 --- a/dev-util/codex/codex-0.156.1.ebuild +++ b/dev-util/codex/codex-0.156.1.ebuild @@ -25,30 +25,26 @@ CRATES=" declare -A GIT_CRATES=( [appcontainer_common]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/backends/appcontainer/common' [crossterm]='https://github.com/openai-oss-forks/crossterm;45fecb9508105988f42fe6ff0441783ed3717f92;crossterm-%commit%' + [h3]='https://github.com/hyperium/h3;e07e69412876f7e26f026bd75a48b2704d8c8283;h3-%commit%/h3' + [h3-quinn]='https://github.com/hyperium/h3;e07e69412876f7e26f026bd75a48b2704d8c8283;h3-%commit%/h3-quinn' [learning_mode_core]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/learning_mode_core' [learning_mode_windows]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/backends/learning_mode/windows' - [libwebrtc]='https://github.com/juberti-oai/rust-sdks;e2d1d1d230c6fc9df171ccb181423f957bb3c1f0;rust-sdks-%commit%/libwebrtc' [mxc_config_contract]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/mxc_config_contract' [mxc_telemetry]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/mxc_telemetry' [process_security_environment_spec]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/generated/process_security_environment_specification' - [livekit-protocol]='https://github.com/juberti-oai/rust-sdks;e2d1d1d230c6fc9df171ccb181423f957bb3c1f0;rust-sdks-%commit%/livekit-protocol' - [livekit-runtime]='https://github.com/juberti-oai/rust-sdks;e2d1d1d230c6fc9df171ccb181423f957bb3c1f0;rust-sdks-%commit%/livekit-runtime' [nucleo-matcher]='https://github.com/helix-editor/nucleo;4253de9faabb4e5c6d81d946a5e35a90f87347ee;nucleo-%commit%/matcher' [nucleo]='https://github.com/helix-editor/nucleo;4253de9faabb4e5c6d81d946a5e35a90f87347ee;nucleo-%commit%' - [ratatui]='https://github.com/nornagon/ratatui;9b2ad1298408c45918ee9f8241a6f95498cdbed2;ratatui-%commit%' [sandbox_spec]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/generated/base_container_specification' [runfiles]='https://github.com/dzbarsky/rules_rust;b56cbaa8465e74127f1ea216f813cd377295ad81;rules_rust-%commit%/rust/runfiles' - [tokio-tungstenite]='https://github.com/openai-oss-forks/tokio-tungstenite;132f5b39c862e3a970f731d709608b3e6276d5f6;tokio-tungstenite-%commit%' - [tungstenite]='https://github.com/openai-oss-forks/tungstenite-rs;9200079d3b54a1ff51072e24d81fd354f085156f;tungstenite-rs-%commit%' + [tokio-tungstenite]='https://github.com/openai-oss-forks/tokio-tungstenite;0e5b2d73aa18dd9f0a50ee9ff199d5aef7594186;tokio-tungstenite-%commit%' + [tungstenite]='https://github.com/openai-oss-forks/tungstenite-rs;4fffad30fe373adbdcffab9545e9e9bf4f2fc19f;tungstenite-rs-%commit%' [wxc_common]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/wxc_common' - [webrtc-sys-build]='https://github.com/juberti-oai/rust-sdks;e2d1d1d230c6fc9df171ccb181423f957bb3c1f0;rust-sdks-%commit%/webrtc-sys/build' - [webrtc-sys]='https://github.com/juberti-oai/rust-sdks;e2d1d1d230c6fc9df171ccb181423f957bb3c1f0;rust-sdks-%commit%/webrtc-sys' ) RUST_MIN_VER="1.95.0" # python3 .github/scripts/rusty_v8_bazel.py resolved-v8-crate-version -RUSTY_V8_TAG="147.4.0" +RUSTY_V8_TAG="150.4.0" inherit cargo check-reqs toolchain-funcs @@ -65,16 +61,16 @@ SRC_URI=" https://github.com/openai/${PN}/archive/rust-v${PV}.tar.gz -> ${P}.tar.gz https://github.com/gentoo-zh-drafts/codex/releases/download/rust-v${PV}/codex-rust-v${PV}-crates.tar.xz amd64? ( - https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/librusty_v8_release_x86_64-unknown-linux-musl.a.gz - -> rusty_v8_${RUSTY_V8_TAG}_librusty_v8_release_x86_64-unknown-linux-musl.a.gz - https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/src_binding_release_x86_64-unknown-linux-musl.rs - -> rusty_v8_${RUSTY_V8_TAG}_src_binding_release_x86_64-unknown-linux-musl.rs + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/librusty_v8_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.a.gz + -> rusty_v8_${RUSTY_V8_TAG}_librusty_v8_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.a.gz + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/src_binding_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.rs + -> rusty_v8_${RUSTY_V8_TAG}_src_binding_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.rs ) arm64? ( - https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/librusty_v8_release_aarch64-unknown-linux-musl.a.gz - -> rusty_v8_${RUSTY_V8_TAG}_librusty_v8_release_aarch64-unknown-linux-musl.a.gz - https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/src_binding_release_aarch64-unknown-linux-musl.rs - -> rusty_v8_${RUSTY_V8_TAG}_src_binding_release_aarch64-unknown-linux-musl.rs + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/librusty_v8_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.a.gz + -> rusty_v8_${RUSTY_V8_TAG}_librusty_v8_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.a.gz + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/src_binding_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.rs + -> rusty_v8_${RUSTY_V8_TAG}_src_binding_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.rs ) ${CARGO_CRATE_URIS} " @@ -99,6 +95,8 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}/${P}-chatgpt-recursion-limit.patch" ) + # rust does not use *FLAGS from make.conf, silence portage warning QA_FLAGS_IGNORED="usr/bin/${PN} usr/bin/codex-code-mode-host" @@ -125,14 +123,9 @@ gen_git_crate_dir() { src_prepare() { default - # Cargo resolves target-specific dependencies while building the package - # graph, so drop this unvendored Windows-only git dependency on Linux. - sed -i '/^appcontainer_common = { workspace = true }$/d' \ - "${S}/sandboxing/Cargo.toml" || die - # Fix tokio-tungstenite's git dependency on tungstenite sed -i '/^\[dependencies\.tungstenite\]/,/^$/{ - s|git = "https://github.com/openai-oss-forks/tungstenite-rs"|path = "'"$(gen_git_crate_dir tungstenite)"'"| + s|git = "[^"]*"|path = "'"$(gen_git_crate_dir tungstenite)"'"| /^rev = /d }' "$(gen_git_crate_dir tokio-tungstenite)/Cargo.toml" || die @@ -145,7 +138,6 @@ src_prepare() { [patch.crates-io] crossterm = { path = "$(gen_git_crate_dir crossterm)" } - ratatui = { path = "$(gen_git_crate_dir ratatui)" } tokio-tungstenite = { path = "$(gen_git_crate_dir tokio-tungstenite)" } tungstenite = { path = "$(gen_git_crate_dir tungstenite)" } EOF @@ -159,8 +151,9 @@ src_compile() { # codex-core trait resolution overflows rustc's default 8MiB stack export RUST_MIN_STACK=16777216 - RUSTY_V8_ARCHIVE="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_librusty_v8_release_${rusty_v8_triple}.a.gz" \ - RUSTY_V8_SRC_BINDING_PATH="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_src_binding_release_${rusty_v8_triple}.rs" \ + # codex-code-mode-runtime enables V8's sandbox and pointer compression. + RUSTY_V8_ARCHIVE="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_librusty_v8_ptrcomp_sandbox_release_${rusty_v8_triple}.a.gz" \ + RUSTY_V8_SRC_BINDING_PATH="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_src_binding_ptrcomp_sandbox_release_${rusty_v8_triple}.rs" \ cargo_src_compile --package codex-cli --package codex-code-mode-host } diff --git a/dev-util/codex/files/codex-0.156.1-chatgpt-recursion-limit.patch b/dev-util/codex/files/codex-0.156.1-chatgpt-recursion-limit.patch new file mode 100644 index 000000000000..4c59b1c6bd1e --- /dev/null +++ b/dev-util/codex/files/codex-0.156.1-chatgpt-recursion-limit.patch @@ -0,0 +1,12 @@ +The connectors::list_connectors async future exceeds rustc's default query +depth of 128. Match the limit already used by codex-app-server. + +--- a/chatgpt/src/lib.rs ++++ b/chatgpt/src/lib.rs +@@ -1,4 +1,6 @@ ++#![recursion_limit = "256"] ++ + pub mod apply_command; + mod chatgpt_client; + pub mod connectors; + pub mod get_task; |
