Description
Hello, novice here
I suspect missing non-rust or rust dependencies causing problems.
I'm pretty sure I've previously successfully installed coreutils with the normal cargo command- however on a fresh fedora 42 this has failed with 2 different errors. This is possibly related to:
#6491
The first error was simply along the lines of
linker 'cc' missing
After some initial cursory searching, found ubuntu/apt referencing 'build essential' which doesn't exist in fedora- prompting to 'development tools', so I installed development-tools and cmake and get the following error
cargo install coreutils
Updating crates.io index
Installing coreutils v0.0.30
Updating crates.io index
Locking 303 packages to latest compatible versions
Compiling libc v0.2.172
Compiling cfg-if v1.0.0
Compiling autocfg v1.4.0
Compiling bitflags v2.9.0
Compiling version_check v0.9.5
Compiling typenum v1.18.0
Compiling rustix v1.0.7
Compiling proc-macro2 v1.0.95
Compiling linux-raw-sys v0.9.4
Compiling rand_core v0.6.4
Compiling siphasher v1.0.1
Compiling unicode-ident v1.0.18
Compiling shlex v1.3.0
Compiling memchr v2.7.4
Compiling regex-syntax v0.8.5
Compiling utf8parse v0.2.2
Compiling anstyle v1.0.10
Compiling anstyle-parse v0.2.6
Compiling rand v0.8.5
Compiling cc v1.2.21
Compiling phf_shared v0.11.3
Compiling colorchoice v1.0.3
Compiling is_terminal_polyfill v1.70.1
Compiling anstyle-query v1.1.2
Compiling unicode-width v0.2.0
Compiling clap_lex v0.7.4
Compiling generic-array v0.14.7
Compiling cfg_aliases v0.2.1
Compiling anstream v0.6.18
Compiling strsim v0.11.1
Compiling nix v0.29.0
Compiling num-traits v0.2.19
Compiling either v1.15.0
Compiling iana-time-zone v0.1.63
Compiling phf_generator v0.11.3
Compiling aho-corasick v1.1.3
Compiling phf_codegen v0.11.3
Compiling quote v1.0.40
Compiling arrayref v0.3.9
Compiling cpufeatures v0.2.17
Compiling arrayvec v0.7.6
Compiling same-file v1.0.6
Compiling thiserror v2.0.12
Compiling data-encoding v2.9.0
Compiling constant_time_eq v0.3.1
Compiling syn v2.0.101
Compiling walkdir v2.5.0
Compiling phf v0.11.3
Compiling keccak v0.1.5
Compiling number_prefix v0.4.0
Compiling uuhelp_parser v0.0.30
Compiling blake2b_simd v1.0.3
Compiling itertools v0.14.0
Compiling os_display v0.1.4
Compiling regex-automata v0.4.9
Compiling uucore_procs v0.0.30
Compiling crc32fast v1.4.2
Compiling chrono v0.4.41
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling hex v0.4.3
Compiling blake3 v1.8.2
Compiling digest v0.10.7
Compiling z85 v3.0.6
Compiling glob v0.3.2
Compiling dunce v1.0.5
Compiling sm3 v0.4.2
Compiling sha2 v0.10.9
Compiling sha1 v0.10.6
Compiling md-5 v0.10.6
Compiling sha3 v0.10.8
Compiling wild v2.2.1
Compiling zerocopy v0.8.25
Compiling getrandom v0.3.2
Compiling getrandom v0.2.16
Compiling crunchy v0.2.3
Compiling terminal_size v0.4.2
Compiling xattr v1.5.0
Compiling clap_builder v4.5.37
Compiling regex v1.11.1
Compiling once_cell v1.21.3
Compiling tiny-keccak v2.0.2
Compiling rand_core v0.9.3
Compiling num-integer v0.1.46
Compiling crossbeam-utils v0.8.21
Compiling parse-zoneinfo v0.3.1
Compiling signal-hook v0.3.17
Compiling log v0.4.27
Compiling signal-hook-registry v1.4.5
Compiling lock_api v0.4.12
Compiling mio v1.0.3
Compiling chrono-tz-build v0.4.1
Compiling unicode-width v0.1.14
Compiling data-encoding-macro-internal v0.1.16
Compiling thiserror-impl v2.0.12
Compiling portable-atomic v1.11.0
Compiling radium v0.7.0
Compiling pkg-config v0.3.32
Compiling chrono-tz v0.10.3
Compiling parking_lot_core v0.9.10
Compiling const-random-macro v0.1.16
Compiling smallvec v1.15.0
Compiling crossbeam-epoch v0.9.18
Compiling ansi-width v0.1.0
Compiling data-encoding-macro v0.1.18
Compiling filetime v0.2.25
Compiling nom v8.0.0
Compiling tap v1.0.1
Compiling rustix v0.38.44
Compiling scopeguard v1.2.0
Compiling libm v0.2.15
Compiling foldhash v0.1.5
Compiling rayon-core v1.12.1
Compiling const-random v0.1.18
Compiling equivalent v1.0.2
Compiling allocator-api2 v0.2.21
Compiling nu-ansi-term v0.50.1
Compiling onig_sys v69.8.1
Compiling dlv-list v0.5.2
Compiling crossbeam-deque v0.8.6
Compiling ppv-lite86 v0.2.21
Compiling wyz v0.5.1
Compiling lscolors v0.20.0
Compiling uutils_term_grid v0.6.0
Compiling hashbrown v0.15.3
Compiling console v0.15.11
Compiling inotify-sys v0.1.5
Compiling rand_chacha v0.3.1
Compiling rand_chacha v0.9.0
Compiling hostname v0.4.1
Compiling bigdecimal v0.4.8
Compiling hashbrown v0.14.5
Compiling linux-raw-sys v0.4.15
Compiling funty v2.0.0
Compiling rand v0.9.1
Compiling fundu-core v0.3.1
Compiling clap v4.5.37
Compiling fastrand v2.3.0
Compiling lru v0.12.5
Compiling bitvec v1.0.1
Compiling ordered-multimap v0.7.3
Compiling tempfile v3.19.1
Compiling fundu v2.0.1
Compiling indicatif v0.17.11
Compiling inotify v0.11.0
Compiling num-bigint v0.4.6
Compiling parking_lot v0.12.3
Compiling signal-hook-mio v0.2.4
Compiling bitflags v1.3.2
Compiling quick-error v2.0.1
Compiling trim-in-place v0.1.7
Compiling notify-types v2.0.0
Compiling compare v0.1.0
Compiling rust-ini v0.21.1
Compiling crossterm v0.28.1
Compiling binary-heap-plus v0.5.0
Compiling rayon v1.10.0
Compiling notify v8.0.0
Compiling bstr v1.12.0
Compiling ctrlc v3.4.6
Compiling memmap2 v0.9.5
Compiling coreutils v0.0.30
Compiling half v2.6.0
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'onig_st_init_strend_table_with_size':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:588:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_str_end_key , st_str_end_key )' [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 588 | str_end_cmp,
warning: onig_sys@69.8.1: | ^~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:588:5: note: (near initialization for 'hashType.compare')
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:550:1: note: 'str_end_cmp' declared here
warning: onig_sys@69.8.1: 550 | str_end_cmp(st_str_end_key x, st_str_end_key y)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:589:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_str_end_key )' [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 589 | str_end_hash,
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:589:5: note: (near initialization for 'hashType.hash')
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:571:1: note: 'str_end_hash' declared here
warning: onig_sys@69.8.1: 571 | str_end_hash(st_str_end_key x)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'onig_st_init_callout_name_table_with_size':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:678:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_callout_name_key , st_callout_name_key )' [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 678 | callout_name_table_cmp,
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:678:5: note: (near initialization for 'hashType.compare')
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:637:1: note: 'callout_name_table_cmp' declared here
warning: onig_sys@69.8.1: 637 | callout_name_table_cmp(st_callout_name_key x, st_callout_name_key y)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:679:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_callout_name_key )' [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 679 | callout_name_table_hash,
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:679:5: note: (near initialization for 'hashType.hash')
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:660:1: note: 'callout_name_table_hash' declared here
warning: onig_sys@69.8.1: 660 | callout_name_table_hash(st_callout_name_key x)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'names_clear':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:804:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 804 | onig_st_foreach(t, i_free_name_entry, 0);
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: | |
warning: onig_sys@69.8.1: | int (*)(OnigUChar *, NameEntry *, void ) {aka int ()(unsigned char *, NameEntry , void )}
warning: onig_sys@69.8.1: In file included from oniguruma/src/regparse.c:37:
warning: onig_sys@69.8.1: oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, NameEntry , void )' {aka 'int ()(unsigned char , NameEntry , void )'}
warning: onig_sys@69.8.1: 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/st.h:35:18: note: in definition of macro ''
warning: onig_sys@69.8.1: 35 | # define _(args) args
warning: onig_sys@69.8.1: | ^~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:789:1: note: 'i_free_name_entry' declared here
warning: onig_sys@69.8.1: 789 | i_free_name_entry(UChar key, NameEntry e, void arg ARG_UNUSED)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'onig_foreach_name':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:873:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 873 | onig_st_foreach(t, i_names, (HashDataType )&narg);
warning: onig_sys@69.8.1: | ^~~~~~~
warning: onig_sys@69.8.1: | |
warning: onig_sys@69.8.1: | int ()(OnigUChar *, NameEntry *, INamesArg ) {aka int ()(unsigned char *, NameEntry , INamesArg )}
warning: onig_sys@69.8.1: oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, NameEntry , INamesArg )' {aka 'int ()(unsigned char , NameEntry , INamesArg )'}
warning: onig_sys@69.8.1: 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/st.h:35:18: note: in definition of macro ''
warning: onig_sys@69.8.1: 35 | # define _(args) args
warning: onig_sys@69.8.1: | ^~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:846:1: note: 'i_names' declared here
warning: onig_sys@69.8.1: 846 | i_names(UChar key ARG_UNUSED, NameEntry e, INamesArg arg)
warning: onig_sys@69.8.1: | ^~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'onig_renumber_name_table':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:901:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 901 | onig_st_foreach(t, i_renumber_name, (HashDataType )map);
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: | |
warning: onig_sys@69.8.1: | int ()(OnigUChar *, NameEntry *, GroupNumMap ) {aka int ()(unsigned char *, NameEntry , GroupNumMap )}
warning: onig_sys@69.8.1: oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, NameEntry , GroupNumMap )' {aka 'int ()(unsigned char , NameEntry , GroupNumMap )'}
warning: onig_sys@69.8.1: 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/st.h:35:18: note: in definition of macro ''
warning: onig_sys@69.8.1: 35 | # define _(args) args
warning: onig_sys@69.8.1: | ^~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:879:1: note: 'i_renumber_name' declared here
warning: onig_sys@69.8.1: 879 | i_renumber_name(UChar key ARG_UNUSED, NameEntry e, GroupNumMap map)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'callout_name_table_clear':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:1386:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 1386 | onig_st_foreach(t, i_free_callout_name_entry, 0);
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: | |
warning: onig_sys@69.8.1: | int ()(st_callout_name_key *, CalloutNameEntry , void )
warning: onig_sys@69.8.1: oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(st_callout_name_key *, CalloutNameEntry , void )'
warning: onig_sys@69.8.1: 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/st.h:35:18: note: in definition of macro ''
warning: onig_sys@69.8.1: 35 | # define _(args) args
warning: onig_sys@69.8.1: | ^~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:1370:1: note: 'i_free_callout_name_entry' declared here
warning: onig_sys@69.8.1: 1370 | i_free_callout_name_entry(st_callout_name_key key, CalloutNameEntry e,
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'setup_ext_callout_list_values':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:1884:56: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 1884 | onig_st_foreach((CalloutTagTable )ext->tag_table, i_callout_callout_list_set,
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: | |
warning: onig_sys@69.8.1: | int ()(OnigUChar *, CalloutTagVal, void ) {aka int ()(unsigned char , long int, void )}
warning: onig_sys@69.8.1: oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar , CalloutTagVal, void )' {aka 'int ()(unsigned char , long int, void )'}
warning: onig_sys@69.8.1: 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/st.h:35:18: note: in definition of macro ''
warning: onig_sys@69.8.1: 35 | # define _(args) args
warning: onig_sys@69.8.1: | ^~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:1866:1: note: 'i_callout_callout_list_set' declared here
warning: onig_sys@69.8.1: 1866 | i_callout_callout_list_set(UChar key, CalloutTagVal e, void arg)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c: In function 'callout_tag_table_clear':
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:1932:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: onig_sys@69.8.1: 1932 | onig_st_foreach(t, i_free_callout_tag_entry, 0);
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: | |
warning: onig_sys@69.8.1: | int ()(OnigUChar *, CalloutTagVal, void ) {aka int ()(unsigned char , long int, void )}
warning: onig_sys@69.8.1: oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, CalloutTagVal, void )' {aka 'int ()(unsigned char , long int, void )'}
warning: onig_sys@69.8.1: 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: oniguruma/src/st.h:35:18: note: in definition of macro ''
warning: onig_sys@69.8.1: 35 | # define _(args) args
warning: onig_sys@69.8.1: | ^~~~
warning: onig_sys@69.8.1: oniguruma/src/regparse.c:1922:1: note: 'i_free_callout_tag_entry' declared here
warning: onig_sys@69.8.1: 1922 | i_free_callout_tag_entry(UChar key, CalloutTagVal e, void arg ARG_UNUSED)
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~~
error: failed to run custom build command for onig_sys v69.8.1
Caused by:
process didn't exit successfully: /tmp/cargo-installDYO69o/release/build/onig_sys-5570a9a1857d682f/build-script-build
(exit status: 1)
--- stdout
cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG
cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG
cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG
OUT_DIR = Some(/tmp/cargo-installDYO69o/release/build/onig_sys-03c51b57fec5dd80/out)
OPT_LEVEL = Some(3)
TARGET = Some(x86_64-unknown-linux-gnu)
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=CC_ENABLE_DEBUG_OUTPUT
RUSTC_WRAPPER = 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
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
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_ENCODED_RUSTFLAGS = Some()
cargo:warning=oniguruma/src/regparse.c: In function 'onig_st_init_strend_table_with_size':
cargo:warning=oniguruma/src/regparse.c:588:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_str_end_key , st_str_end_key )' [-Wincompatible-pointer-types]
cargo:warning= 588 | str_end_cmp,
cargo:warning= | ^~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:588:5: note: (near initialization for 'hashType.compare')
cargo:warning=oniguruma/src/regparse.c:550:1: note: 'str_end_cmp' declared here
cargo:warning= 550 | str_end_cmp(st_str_end_key x, st_str_end_key y)
cargo:warning= | ^~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:589:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_str_end_key )' [-Wincompatible-pointer-types]
cargo:warning= 589 | str_end_hash,
cargo:warning= | ^~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:589:5: note: (near initialization for 'hashType.hash')
cargo:warning=oniguruma/src/regparse.c:571:1: note: 'str_end_hash' declared here
cargo:warning= 571 | str_end_hash(st_str_end_key x)
cargo:warning= | ^~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'onig_st_init_callout_name_table_with_size':
cargo:warning=oniguruma/src/regparse.c:678:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_callout_name_key , st_callout_name_key )' [-Wincompatible-pointer-types]
cargo:warning= 678 | callout_name_table_cmp,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:678:5: note: (near initialization for 'hashType.compare')
cargo:warning=oniguruma/src/regparse.c:637:1: note: 'callout_name_table_cmp' declared here
cargo:warning= 637 | callout_name_table_cmp(st_callout_name_key x, st_callout_name_key y)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:679:5: error: initialization of 'int ()(void)' from incompatible pointer type 'int ()(st_callout_name_key )' [-Wincompatible-pointer-types]
cargo:warning= 679 | callout_name_table_hash,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:679:5: note: (near initialization for 'hashType.hash')
cargo:warning=oniguruma/src/regparse.c:660:1: note: 'callout_name_table_hash' declared here
cargo:warning= 660 | callout_name_table_hash(st_callout_name_key x)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'names_clear':
cargo:warning=oniguruma/src/regparse.c:804:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 804 | onig_st_foreach(t, i_free_name_entry, 0);
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int (*)(OnigUChar *, NameEntry *, void ) {aka int ()(unsigned char *, NameEntry , void )}
cargo:warning=In file included from oniguruma/src/regparse.c:37:
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, NameEntry , void )' {aka 'int ()(unsigned char , NameEntry , void )'}
cargo:warning= 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ''
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:789:1: note: 'i_free_name_entry' declared here
cargo:warning= 789 | i_free_name_entry(UChar key, NameEntry e, void arg ARG_UNUSED)
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'onig_foreach_name':
cargo:warning=oniguruma/src/regparse.c:873:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 873 | onig_st_foreach(t, i_names, (HashDataType )&narg);
cargo:warning= | ^~~~~~~
cargo:warning= | |
cargo:warning= | int ()(OnigUChar *, NameEntry *, INamesArg ) {aka int ()(unsigned char *, NameEntry , INamesArg )}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, NameEntry , INamesArg )' {aka 'int ()(unsigned char , NameEntry , INamesArg )'}
cargo:warning= 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ''
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:846:1: note: 'i_names' declared here
cargo:warning= 846 | i_names(UChar key ARG_UNUSED, NameEntry e, INamesArg arg)
cargo:warning= | ^~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'onig_renumber_name_table':
cargo:warning=oniguruma/src/regparse.c:901:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 901 | onig_st_foreach(t, i_renumber_name, (HashDataType )map);
cargo:warning= | ^~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int ()(OnigUChar *, NameEntry *, GroupNumMap ) {aka int ()(unsigned char *, NameEntry , GroupNumMap )}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, NameEntry , GroupNumMap )' {aka 'int ()(unsigned char , NameEntry , GroupNumMap )'}
cargo:warning= 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ''
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:879:1: note: 'i_renumber_name' declared here
cargo:warning= 879 | i_renumber_name(UChar key ARG_UNUSED, NameEntry e, GroupNumMap map)
cargo:warning= | ^~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'callout_name_table_clear':
cargo:warning=oniguruma/src/regparse.c:1386:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 1386 | onig_st_foreach(t, i_free_callout_name_entry, 0);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int ()(st_callout_name_key *, CalloutNameEntry , void )
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(st_callout_name_key *, CalloutNameEntry , void )'
cargo:warning= 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ''
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:1370:1: note: 'i_free_callout_name_entry' declared here
cargo:warning= 1370 | i_free_callout_name_entry(st_callout_name_key key, CalloutNameEntry e,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'setup_ext_callout_list_values':
cargo:warning=oniguruma/src/regparse.c:1884:56: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 1884 | onig_st_foreach((CalloutTagTable )ext->tag_table, i_callout_callout_list_set,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int ()(OnigUChar *, CalloutTagVal, void ) {aka int ()(unsigned char , long int, void )}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar , CalloutTagVal, void )' {aka 'int ()(unsigned char , long int, void )'}
cargo:warning= 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ''
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:1866:1: note: 'i_callout_callout_list_set' declared here
cargo:warning= 1866 | i_callout_callout_list_set(UChar key, CalloutTagVal e, void arg)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'callout_tag_table_clear':
cargo:warning=oniguruma/src/regparse.c:1932:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 1932 | onig_st_foreach(t, i_free_callout_tag_entry, 0);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int ()(OnigUChar *, CalloutTagVal, void ) {aka int ()(unsigned char , long int, void )}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int ()(void)' but argument is of type 'int ()(OnigUChar *, CalloutTagVal, void )' {aka 'int ()(unsigned char , long int, void )'}
cargo:warning= 55 | int st_foreach ((st_table , int ()(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ''
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:1922:1: note: 'i_free_callout_tag_entry' declared here
cargo:warning= 1922 | i_free_callout_tag_entry(UChar key, CalloutTagVal e, void arg ARG_UNUSED)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
--- stderr
error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/tmp/cargo-installDYO69o/release/build/onig_sys-03c51b57fec5dd80/out" "-I" "oniguruma/src" "-DHAVE_UNISTD_H=1" "-DHAVE_SYS_TYPES_H=1" "-DHAVE_SYS_TIME_H=1" "-o" "/tmp/cargo-installDYO69o/release/build/onig_sys-03c51b57fec5dd80/out/a445302c6d3dcb51-regparse.o" "-c" "oniguruma/src/regparse.c"
warning: build failed, waiting for other jobs to finish...
error: failed to compile coreutils v0.0.30
, intermediate artifacts can be found at /tmp/cargo-installDYO69o
.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR
to that path.
~ took 10s
If there's anything I can do to help, please let me know.
Thank you for your time,
Matt