Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950231 - =media-libs/mesa-24.1.7-r1 fails to build: error[E0080]: evaluation of constant value failed
Summary: =media-libs/mesa-24.1.7-r1 fails to build: error[E0080]: evaluation of consta...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-24 15:31 UTC by tdr
Modified: 2025-03-02 06:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
builld failure log (mesa-24.1.7-r1.build.log.gz,138.56 KB, application/x-gzip)
2025-02-24 15:31 UTC, tdr
Details
emerge --info (emerge--info.txt,6.17 KB, text/plain)
2025-02-24 15:32 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2025-02-24 15:31:28 UTC
Created attachment 919806 [details]
builld failure log

installed package versions:

dev-lang/rust: 1.81.0-r101::gentoo, 1.84.1-r1::gentoo, 1.85.0::gentoo
dev-util/bindgen-0.71.1


error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7030:31
     |
7030 |     ["Alignment of cl_char8"][::std::mem::align_of::<cl_char8>() - 8usize];
     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7180:10
     |
7180 |         [::std::mem::align_of::<cl_char16__bindgen_ty_3>() - 8usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7471:32
     |
7471 |     ["Alignment of cl_uchar8"][::std::mem::align_of::<cl_uchar8>() - 8usize];
     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7624:10
     |
7624 |         [::std::mem::align_of::<cl_uchar16__bindgen_ty_3>() - 8usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7809:32
     |
7809 |     ["Alignment of cl_short4"][::std::mem::align_of::<cl_short4>() - 8usize];
     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7900:10
     |
7900 |         [::std::mem::align_of::<cl_short8__bindgen_ty_3>() - 8usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:8264:33
     |
8264 |     ["Alignment of cl_ushort4"][::std::mem::align_of::<cl_ushort4>() - 8usize];
     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:8358:10
     |
8358 |         [::std::mem::align_of::<cl_ushort8__bindgen_ty_3>() - 8usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9060:30
     |
9060 |     ["Alignment of cl_int2"][::std::mem::align_of::<cl_int2>() - 8usize];
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9138:10
     |
9138 |         [::std::mem::align_of::<cl_int4__bindgen_ty_3>() - 8usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9511:31
     |
9511 |     ["Alignment of cl_uint2"][::std::mem::align_of::<cl_uint2>() - 8usize];
     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
    --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9589:10
     |
9589 |         [::std::mem::align_of::<cl_uint4__bindgen_ty_3>() - 8usize];
     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
     --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:10862:32
      |
10862 |     ["Alignment of cl_float2"][::std::mem::align_of::<cl_float2>() - 8usize];
      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error[E0080]: evaluation of constant value failed
     --> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:10940:10
      |
10940 |         [::std::mem::align_of::<cl_float4__bindgen_ty_3>() - 8usize];
      |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow

error: aborting due to 14 previous errors
Comment 1 tdr 2025-02-24 15:32:41 UTC
Created attachment 919807 [details]
emerge --info