[Pkg-rust-maintainers] Bug#1021316: rust-kvm-bindings: FTBFS on i386

Sebastian Ramacher sramacher at debian.org
Wed Oct 5 18:37:09 BST 2022


Source: rust-kvm-bindings
Version: 0.5.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=rust-kvm-bindings&arch=i386&ver=0.5.0-1&stamp=1664239343&raw=0

---- x86::bindings::bindgen_test_layout_kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_1 stdout ----
thread 'x86::bindings::bindgen_test_layout_kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_1' panicked at 'assertion failed: `(left == right)`
  left: `4`,
 right: `8`: Alignment of kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_1', src/x86/bindings.rs:11503:5
stack backtrace:
   0: rust_begin_unwind
             at /usr/src/rustc-1.61.0/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.61.0/library/core/src/panicking.rs:143:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /usr/src/rustc-1.61.0/library/core/src/panicking.rs:182:5
   4: kvm_bindings::x86::bindings::bindgen_test_layout_kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_1
             at /usr/share/cargo/registry/kvm-bindings-0.5.0/src/x86/bindings.rs:11503:5
   5: kvm_bindings::x86::bindings::bindgen_test_layout_kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_1::{{closure}}
             at /usr/share/cargo/registry/kvm-bindings-0.5.0/src/x86/bindings.rs:11494:1
   6: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.61.0/library/core/src/ops/function.rs:227:5
   7: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.61.0/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    x86::bindings::bindgen_test_layout___kernel_fd_set
    x86::bindings::bindgen_test_layout_kvm_arm_device_addr
    x86::bindings::bindgen_test_layout_kvm_breakpoint
    x86::bindings::bindgen_test_layout_kvm_clear_dirty_log
    x86::bindings::bindgen_test_layout_kvm_clear_dirty_log__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_clock_data
    x86::bindings::bindgen_test_layout_kvm_coalesced_mmio
    x86::bindings::bindgen_test_layout_kvm_coalesced_mmio_ring
    x86::bindings::bindgen_test_layout_kvm_coalesced_mmio_zone
    x86::bindings::bindgen_test_layout_kvm_config_tlb
    x86::bindings::bindgen_test_layout_kvm_debug_exit_arch
    x86::bindings::bindgen_test_layout_kvm_debug_guest
    x86::bindings::bindgen_test_layout_kvm_debugregs
    x86::bindings::bindgen_test_layout_kvm_device_attr
    x86::bindings::bindgen_test_layout_kvm_dirty_gfn
    x86::bindings::bindgen_test_layout_kvm_dirty_log
    x86::bindings::bindgen_test_layout_kvm_dirty_log__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_dirty_tlb
    x86::bindings::bindgen_test_layout_kvm_dtable
    x86::bindings::bindgen_test_layout_kvm_enable_cap
    x86::bindings::bindgen_test_layout_kvm_enc_region
    x86::bindings::bindgen_test_layout_kvm_fpu
    x86::bindings::bindgen_test_layout_kvm_guest_debug
    x86::bindings::bindgen_test_layout_kvm_guest_debug_arch
    x86::bindings::bindgen_test_layout_kvm_hyperv_exit
    x86::bindings::bindgen_test_layout_kvm_hyperv_exit__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_2
    x86::bindings::bindgen_test_layout_kvm_hyperv_exit__bindgen_ty_1__bindgen_ty_3
    x86::bindings::bindgen_test_layout_kvm_ioapic_state
    x86::bindings::bindgen_test_layout_kvm_ioapic_state__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_ioeventfd
    x86::bindings::bindgen_test_layout_kvm_irq_routing
    x86::bindings::bindgen_test_layout_kvm_irq_routing_entry
    x86::bindings::bindgen_test_layout_kvm_irq_routing_entry__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_irq_routing_s390_adapter
    x86::bindings::bindgen_test_layout_kvm_irqchip
    x86::bindings::bindgen_test_layout_kvm_irqchip__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_memory_alias
    x86::bindings::bindgen_test_layout_kvm_memory_region
    x86::bindings::bindgen_test_layout_kvm_msr_entry
    x86::bindings::bindgen_test_layout_kvm_msr_filter
    x86::bindings::bindgen_test_layout_kvm_msr_filter_range
    x86::bindings::bindgen_test_layout_kvm_msrs
    x86::bindings::bindgen_test_layout_kvm_nested_state
    x86::bindings::bindgen_test_layout_kvm_nested_state__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_one_reg
    x86::bindings::bindgen_test_layout_kvm_pit_channel_state
    x86::bindings::bindgen_test_layout_kvm_pit_state
    x86::bindings::bindgen_test_layout_kvm_pit_state2
    x86::bindings::bindgen_test_layout_kvm_pmu_event_filter
    x86::bindings::bindgen_test_layout_kvm_ppc_resize_hpt
    x86::bindings::bindgen_test_layout_kvm_ppc_smmu_info
    x86::bindings::bindgen_test_layout_kvm_pv_cmd
    x86::bindings::bindgen_test_layout_kvm_reg_list
    x86::bindings::bindgen_test_layout_kvm_regs
    x86::bindings::bindgen_test_layout_kvm_run
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_10
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_12
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_13
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_14
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_17
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_18
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_2
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_20
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_21
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_4
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_5
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_6
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_7
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_1__bindgen_ty_8
    x86::bindings::bindgen_test_layout_kvm_run__bindgen_ty_2
    x86::bindings::bindgen_test_layout_kvm_s390_cmma_log
    x86::bindings::bindgen_test_layout_kvm_s390_cmma_log__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_s390_ext_info
    x86::bindings::bindgen_test_layout_kvm_s390_interrupt
    x86::bindings::bindgen_test_layout_kvm_s390_irq
    x86::bindings::bindgen_test_layout_kvm_s390_irq__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_s390_irq_state
    x86::bindings::bindgen_test_layout_kvm_s390_mchk_info
    x86::bindings::bindgen_test_layout_kvm_s390_mem_op
    x86::bindings::bindgen_test_layout_kvm_s390_pgm_info
    x86::bindings::bindgen_test_layout_kvm_s390_psw
    x86::bindings::bindgen_test_layout_kvm_s390_pv_sec_parm
    x86::bindings::bindgen_test_layout_kvm_s390_pv_unp
    x86::bindings::bindgen_test_layout_kvm_s390_skeys
    x86::bindings::bindgen_test_layout_kvm_s390_ucas_mapping
    x86::bindings::bindgen_test_layout_kvm_segment
    x86::bindings::bindgen_test_layout_kvm_sev_attestation_report
    x86::bindings::bindgen_test_layout_kvm_sev_cmd
    x86::bindings::bindgen_test_layout_kvm_sev_dbg
    x86::bindings::bindgen_test_layout_kvm_sev_launch_measure
    x86::bindings::bindgen_test_layout_kvm_sev_launch_secret
    x86::bindings::bindgen_test_layout_kvm_sev_launch_start
    x86::bindings::bindgen_test_layout_kvm_sev_launch_update_data
    x86::bindings::bindgen_test_layout_kvm_sev_receive_start
    x86::bindings::bindgen_test_layout_kvm_sev_receive_update_data
    x86::bindings::bindgen_test_layout_kvm_sev_send_start
    x86::bindings::bindgen_test_layout_kvm_sev_send_update_data
    x86::bindings::bindgen_test_layout_kvm_sregs
    x86::bindings::bindgen_test_layout_kvm_svm_nested_state_hdr
    x86::bindings::bindgen_test_layout_kvm_sync_regs
    x86::bindings::bindgen_test_layout_kvm_translation
    x86::bindings::bindgen_test_layout_kvm_userspace_memory_region
    x86::bindings::bindgen_test_layout_kvm_vapic_addr
    x86::bindings::bindgen_test_layout_kvm_vcpu_events
    x86::bindings::bindgen_test_layout_kvm_vmx_nested_state_hdr
    x86::bindings::bindgen_test_layout_kvm_x86_mce
    x86::bindings::bindgen_test_layout_kvm_xcr
    x86::bindings::bindgen_test_layout_kvm_xcrs
    x86::bindings::bindgen_test_layout_kvm_xen_exit
    x86::bindings::bindgen_test_layout_kvm_xen_exit__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_xen_exit__bindgen_ty_1__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_xen_hvm_attr
    x86::bindings::bindgen_test_layout_kvm_xen_hvm_attr__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_xen_hvm_attr__bindgen_ty_1__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_xen_hvm_config
    x86::bindings::bindgen_test_layout_kvm_xen_vcpu_attr
    x86::bindings::bindgen_test_layout_kvm_xen_vcpu_attr__bindgen_ty_1
    x86::bindings::bindgen_test_layout_kvm_xen_vcpu_attr__bindgen_ty_1__bindgen_ty_1

test result: FAILED. 60 passed; 122 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s

error: test failed, to rerun pass '--lib'
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary-arch] Error 2


Cheers
-- 
Sebastian Ramacher



More information about the Pkg-rust-maintainers mailing list