google / rust_icu

rust_icu: rust bindings for ICU (International Components for Unicode) library
Apache License 2.0
113 stars 34 forks source link

fixup: Adds a test run for static-bindgen #279

Closed filmil closed 1 year ago

filmil commented 1 year ago

Modifies the github workflow to add a static bindgen run.

Lately we had issues with running that command locally and I realized there are no workflows that exercise it. That's the make static-bindgen.

filmil commented 1 year ago

Figured out why bindgen invocation fails in a container.

With some added logging, we get the following:

/usr/local/cargo/bin/bindgen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/cargo/bin/bindgen)
/usr/local/cargo/bin/bindgen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/cargo/bin/bindgen)
/usr/local/cargo/bin/bindgen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/cargo/bin/bindgen)

So it's a glibc version mismatch.