kuzeyardabulut / azure-assessment

An Azure Security Assessment Tool Written with 200+ Rules
https://kuzeyardabulut.com
GNU General Public License v3.0
1 stars 1 forks source link

Issue with library in the deployment #1

Open crsobrero opened 9 months ago

crsobrero commented 9 months ago

The installation not work, the issue is the following

Compiling libxlsxwriter-sys v1.1.5

error: failed to run custom build command for libxlsxwriter-sys v1.1.5

Caused by: process didn't exit successfully: /home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-f24b1da5cfa70e5c/build-script-build (exit status: 101)

I try with cargo add libxlsxwriter-sys

But the problem persist. Thanks a lot.

kuzeyardabulut commented 9 months ago

Hi, I am able to build it. I couldn't understand why you are getting this error. Can you provide more information?

root@kuzey:/opt/azure-assessment# cargo build
   Compiling proc-macro2 v1.0.76
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.152
   Compiling glob v0.3.1
   Compiling rustix v0.38.30
   Compiling prettyplease v0.2.16
   Compiling minimal-lexical v0.2.1
   Compiling bitflags v2.4.2
   Compiling memchr v2.7.1
   Compiling cfg-if v1.0.0
   Compiling linux-raw-sys v0.4.13
   Compiling regex-syntax v0.8.2
   Compiling libloading v0.8.1
   Compiling bindgen v0.65.1
   Compiling either v1.9.0
   Compiling home v0.5.9
   Compiling log v0.4.20
   Compiling peeking_take_while v0.1.2
   Compiling bitflags v1.3.2
   Compiling shlex v1.2.0
   Compiling rustc-hash v1.1.0
   Compiling lazy_static v1.4.0
   Compiling autocfg v1.1.0
   Compiling lazycell v1.3.0
   Compiling serde v1.0.195
   Compiling iana-time-zone v0.1.59
   Compiling serde_json v1.0.111
   Compiling ryu v1.0.16
   Compiling clang-sys v1.7.0
   Compiling nom v7.1.3
   Compiling itoa v1.0.10
   Compiling num-traits v0.2.17
   Compiling obfstr v0.4.3
   Compiling quote v1.0.35
   Compiling syn v2.0.48
   Compiling cc v1.0.83
   Compiling chrono v0.4.31
   Compiling regex-automata v0.4.3
   Compiling which v4.4.2
   Compiling cexpr v0.6.0
   Compiling regex v1.10.2
   Compiling serde_derive v1.0.195
   Compiling libxlsxwriter-sys v1.1.5
   Compiling xlsxwriter v0.6.0
   Compiling azure_assessment v0.1.0 (/opt/azure-assessment)
    Finished dev [unoptimized + debuginfo] target(s) in 20.46s
root@kuzey:/opt/azure-assessment# rustc --version
rustc 1.70.0 (90c541806 2023-05-31) (built from a source tarball)
crsobrero commented 9 months ago

Hi, this is the error in two devices:

@.***:~/azure-assessment*$ cargo run --release

@.***:~/azure-assessment$ cargo run --release Compiling libxlsxwriter-sys v1.1.5 error: failed to run custom build command for libxlsxwriter-sys v1.1.5

Caused by: process didn't exit successfully: /home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-f24b1da5cfa70e5c/build-script-build (exit status: 101) --- stdout TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu CC_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu CC_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu CFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu CFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu CC_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu CC_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu CFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu CFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu CC_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu CC_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu CFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu CFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.o" "-c" "third_party/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/minizip/ioapi.o" "-c" "third_party/libxlsxwriter/third_party/minizip/ioapi.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/minizip/zip.o" "-c" "third_party/libxlsxwriter/third_party/minizip/zip.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/dtoa/emyg_dtoa.o" "-c" "third_party/libxlsxwriter/third_party/dtoa/emyg_dtoa.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/app.o" "-c" "third_party/libxlsxwriter/src/app.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/chart.o" "-c" "third_party/libxlsxwriter/src/chart.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/chartsheet.o" "-c" "third_party/libxlsxwriter/src/chartsheet.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/comment.o" "-c" "third_party/libxlsxwriter/src/comment.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/content_types.o" "-c" "third_party/libxlsxwriter/src/content_types.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/core.o" "-c" "third_party/libxlsxwriter/src/core.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/custom.o" "-c" "third_party/libxlsxwriter/src/custom.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/drawing.o" "-c" "third_party/libxlsxwriter/src/drawing.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/format.o" "-c" "third_party/libxlsxwriter/src/format.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/hash_table.o" "-c" "third_party/libxlsxwriter/src/hash_table.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/metadata.o" "-c" "third_party/libxlsxwriter/src/metadata.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/packager.o" "-c" "third_party/libxlsxwriter/src/packager.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/relationships.o" "-c" "third_party/libxlsxwriter/src/relationships.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/shared_strings.o" "-c" "third_party/libxlsxwriter/src/shared_strings.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/styles.o" "-c" "third_party/libxlsxwriter/src/styles.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/table.o" "-c" "third_party/libxlsxwriter/src/table.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/theme.o" "-c" "third_party/libxlsxwriter/src/theme.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/utility.o" "-c" "third_party/libxlsxwriter/src/utility.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/vml.o" "-c" "third_party/libxlsxwriter/src/vml.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/workbook.o" "-c" "third_party/libxlsxwriter/src/workbook.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/worksheet.o" "-c" "third_party/libxlsxwriter/src/worksheet.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/xmlwriter.o" "-c" "third_party/libxlsxwriter/src/xmlwriter.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/adler32.o" "-c" "third_party/zlib/adler32.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/compress.o" "-c" "third_party/zlib/compress.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/crc32.o" "-c" "third_party/zlib/crc32.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/deflate.o" "-c" "third_party/zlib/deflate.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzclose.o" "-c" "third_party/zlib/gzclose.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzlib.o" "-c" "third_party/zlib/gzlib.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzread.o" "-c" "third_party/zlib/gzread.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzwrite.o" "-c" "third_party/zlib/gzwrite.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/infback.o" "-c" "third_party/zlib/infback.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/inffast.o" "-c" "third_party/zlib/inffast.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/inflate.o" "-c" "third_party/zlib/inflate.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/inftrees.o" "-c" "third_party/zlib/inftrees.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/trees.o" "-c" "third_party/zlib/trees.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/uncompr.o" "-c" "third_party/zlib/uncompr.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/zutil.o" "-c" "third_party/zlib/zutil.c" exit status: 0 running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "third_party/libxlsxwriter/include" "-I" "third_party/zlib" "-Wall" "-Wextra" "-Wno-implicit-function-declaration" "-Wno-unused-parameter" "-DUSE_DTOA_LIBRARY" "-o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/md5/md5.o" "-c" "third_party/libxlsxwriter/third_party/md5/md5.c" exit status: 0 cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu AR_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu AR_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_AR HOST_AR = None cargo:rerun-if-env-changed=AR AR = None cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu ARFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu ARFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_ARFLAGS HOST_ARFLAGS = None cargo:rerun-if-env-changed=ARFLAGS ARFLAGS = None running: ZERO_AR_DATE="1" "ar" "cq" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/libxlsxwriter.a" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/minizip/ioapi.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/minizip/zip.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/dtoa/emyg_dtoa.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/app.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/chart.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/chartsheet.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/comment.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/content_types.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/core.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/custom.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/drawing.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/format.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/hash_table.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/metadata.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/packager.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/relationships.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/shared_strings.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/styles.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/table.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/theme.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/utility.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/vml.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/workbook.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/worksheet.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/src/xmlwriter.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/adler32.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/compress.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/crc32.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/deflate.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzclose.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzlib.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzread.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/gzwrite.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/infback.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/inffast.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/inflate.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/inftrees.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/trees.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/uncompr.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/zlib/zutil.o" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/third_party/libxlsxwriter/third_party/md5/md5.o" exit status: 0 running: "ar" "s" "/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out/libxlsxwriter.a" exit status: 0 cargo:rustc-link-lib=static=xlsxwriter

cargo:rustc-link-search=native=/home/administrador/azure-assessment/target/release/build/libxlsxwriter-sys-0469a5544232ee7f/out

--- stderr thread 'main' panicked at /home/administrador/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.65.1/lib.rs:603 :31: Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-.so', 'libclang.so.', 'libclang-.so.'], set the LIBCLANG_PATH environment variable to a path where one of these files can be found (invalid: [])" note: run with RUST_BACKTRACE=1 environment variable to display a backtrace @.***:~/azure-assessment$

El jue, 18 ene 2024 a las 9:36, kuzeyardabulut @.***>) escribió:

Hi, I am able to build it. I couldn't understand why you are getting this error. Can you provide more information?

@.:/opt/azure-assessment# cargo build Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling libc v0.2.152 Compiling glob v0.3.1 Compiling rustix v0.38.30 Compiling prettyplease v0.2.16 Compiling minimal-lexical v0.2.1 Compiling bitflags v2.4.2 Compiling memchr v2.7.1 Compiling cfg-if v1.0.0 Compiling linux-raw-sys v0.4.13 Compiling regex-syntax v0.8.2 Compiling libloading v0.8.1 Compiling bindgen v0.65.1 Compiling either v1.9.0 Compiling home v0.5.9 Compiling log v0.4.20 Compiling peeking_take_while v0.1.2 Compiling bitflags v1.3.2 Compiling shlex v1.2.0 Compiling rustc-hash v1.1.0 Compiling lazy_static v1.4.0 Compiling autocfg v1.1.0 Compiling lazycell v1.3.0 Compiling serde v1.0.195 Compiling iana-time-zone v0.1.59 Compiling serde_json v1.0.111 Compiling ryu v1.0.16 Compiling clang-sys v1.7.0 Compiling nom v7.1.3 Compiling itoa v1.0.10 Compiling num-traits v0.2.17 Compiling obfstr v0.4.3 Compiling quote v1.0.35 Compiling syn v2.0.48 Compiling cc v1.0.83 Compiling chrono v0.4.31 Compiling regex-automata v0.4.3 Compiling which v4.4.2 Compiling cexpr v0.6.0 Compiling regex v1.10.2 Compiling serde_derive v1.0.195 Compiling libxlsxwriter-sys v1.1.5 Compiling xlsxwriter v0.6.0 Compiling azure_assessment v0.1.0 (/opt/azure-assessment) Finished dev [unoptimized + debuginfo] target(s) in 20.46s @.:/opt/azure-assessment# rustc --version rustc 1.70.0 (90c541806 2023-05-31) (built from a source tarball)

— Reply to this email directly, view it on GitHub https://github.com/kuzeyardabulut/azure-assessment/issues/1#issuecomment-1898400752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7V3AYIX5QRV4TKS4KHTBLYPEJNDAVCNFSM6AAAAABB6UJPPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYGQYDANZVGI . You are receiving this because you authored the thread.Message ID: @.***>

rashidr25 commented 6 months ago

I also am getting same error. What was the fix?