Created attachment 899363 [details] emerge.log emerging pydantic-core-2.20.1 fails with * Building the wheel for pydantic_core-2.20.1 via maturin cargo_env python3.12 -m gpep517 build-wheel --prefix=/usr --backend maturin --output-fd 3 --wheel-dir /data-scratch/var-tmp/portage/dev-pytho n/pydantic-core-2.20.1/work/pydantic_core-2.20.1-python3_12/wheel --config-json {"build-args": ["--jobs=12", "--skip-auditwheel"]} 2024-08-07 17:58:32,849 gpep517 INFO Building wheel via backend maturin Running `maturin pep517 build-wheel -i /usr/bin/python3.12 --compatibility off --jobs=12 --skip-auditwheel` error: could not load Cargo configuration Caused by: failed to merge configuration at `/data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/cargo_home/config.toml` Caused by: failed to merge key `build` between /data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/pydantic_core-2.20.1/.cargo/config.t oml and /data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/cargo_home/config.toml Caused by: failed to merge key `rustflags` between /data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/pydantic_core-2.20.1/.cargo/config.toml and /data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/cargo_home/config.toml Caused by: failed to merge config value from `/data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/cargo_home/config.toml` into `/data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/pydantic_core-2.20.1/.cargo/config.toml`: expected array, but found string 💥 maturin failed Caused by: Cargo metadata failed. Does your crate compile with `cargo build`? Caused by: `cargo metadata` exited with an error: Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3.12', '--compatibility', 'off', '--jobs=12', '--skip-auditwheel'] returned non-zero exit status 1 * ERROR: dev-python/pydantic-core-2.20.1::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4516: Called distutils-r1_src_compile * environment, line 2278: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 869: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3959: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3455: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3453: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1352: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 2260: Called distutils-r1_python_compile * environment, line 2082: Called distutils_pep517_install '/data-scratch/var-tmp/portage/dev-python/pydantic-core-2.20.1/work/pydantic_core-2.20.1-python3_12/install' * environment, line 2605: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed");
Created attachment 899364 [details] emerge-info.txt
Created attachment 899383 [details] emerge-pqv.txt
Sigh, did I test the wrong version?
*** This bug has been marked as a duplicate of bug 937470 ***