Skip to content

rust build fail #292

Description

@maryamtahhan

The rust build inside the fedora oci image is currently failing
reproduce with: $ make oci-fed-image

#0 87.91   --- stderr
#0 87.91   thread 'main' panicked at 'Non floating-type complex? Type(_Complex _Float16, kind: Complex, cconv: 100, decl: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None), canon: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None)), Type(_Float16, kind: Float16, cconv: 100, decl: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None), canon: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None))', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.59.2/src/ir/context.rs:1992:26
#0 87.91   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#0 87.91 warning: build failed, waiting for other jobs to finish...
#0 88.31 error: failed to compile `fwd v0.1.0 (/cndp/lang/rs/examples/fwd)`, intermediate artifacts can be found at `/cndp/lang/rs/target`
------
Dockerfile:76
--------------------
  74 |     # 'fwd' binary will be installed in /cndp/usr/local/bin
  75 |     WORKDIR /cndp/lang/rs
  76 | >>> RUN CNDP_INSTALL_PATH="/cndp" cargo install --root /cndp/usr/local/ --path examples/fwd
  77 |     
  78 |     WORKDIR /cndp
--------------------
ERROR: failed to solve: process "/bin/sh -c CNDP_INSTALL_PATH=\"/cndp\" cargo install --root /cndp/usr/local/ --path examples/fwd" did not complete successfully: exit code: 101
make: *** [Makefile:118: oci-fed-image] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions