Skip to content

rpmlib-sys: rpmts.h and rpmfi.h cause bindgen_test_layout_max_align_t failures #11

Closed
@tony-iqlusion

Description

@tony-iqlusion

These headers are:

  • rpmts.h: Transaction sets
  • rpmfi.h: File information

When either of these headers are enabled (in src/rpmlib-sys.h), they cause the automatically generated bindgen_test_layout_max_align_t test to fail. In either case, we get the following failure:

---- bindgen_test_layout_max_align_t stdout ----
	thread 'bindgen_test_layout_max_align_t' panicked at 'assertion failed: `(left == right)`
  left: `24`,
 right: `32`: Size of: max_align_t', target/debug/build/rpmlib-sys-25076a13bc63918f/out/bindings.rs:6564:5

Both of these headers are presently commented out in the binding generator due to these errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions