Skip to content

bump libc 0.2.164 rustix 0.38.41#350

Closed
jtmoon79 wants to merge 1 commit intomainfrom
bump-libc_0.2.164-rustix_0.38.41
Closed

bump libc 0.2.164 rustix 0.38.41#350
jtmoon79 wants to merge 1 commit intomainfrom
bump-libc_0.2.164-rustix_0.38.41

Conversation

@jtmoon79
Copy link
Copy Markdown
Owner

No description provided.

@jtmoon79
Copy link
Copy Markdown
Owner Author

jtmoon79 commented Nov 24, 2024

Job cross x86_64-sun-solaris on ubuntu-22.04 fails. Waiting on fix in nix-rust/nix#2540 then update this PR with newer nix

+ cross check --locked --lib --bins --target x86_64-sun-solaris
...
   Compiling phf_macros v0.11.2
error[E0425]: cannot find value `O_DIRECT` in crate `libc`
   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.29.0/src/fcntl.rs:113:9
    |
113 |         O_DIRECT;
    |         ^^^^^^^^ not found in `libc`

error[E0425]: cannot find value `SIGINFO` in crate `libc`
    --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.29.0/src/sys/signal.rs:119:9
     |
119  |         SIGINFO,
     |         ^^^^^^^
     |
    ::: /cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.164/src/unix/solarish/mod.rs:1285:1
     |
1285 | pub const SIGINT: ::c_int = 2;
     | ------------------------- similarly named constant `SIGINT` defined here
     |
help: a constant with a similar name exists
     |
119  |         SIGINT,
     |         ~~~~~~
help: consider importing this unit variant
     |
6    + use crate::sys::signal::Signal::SIGINFO;
     |

error[E0531]: cannot find unit struct, unit variant or constant `SIGINFO` in crate `libc`
    --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.29.0/src/sys/signal.rs:119:9
     |
119  |         SIGINFO,
     |         ^^^^^^^
     |
    ::: /cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.164/src/unix/solarish/mod.rs:1285:1
     |
1285 | pub const SIGINT: ::c_int = 2;
     | ------------------------- similarly named constant `SIGINT` defined here
     |
help: a constant with a similar name exists
     |
119  |         SIGINT,
     |         ~~~~~~
help: consider importing this unit variant
     |
6    + use crate::sys::signal::Signal::SIGINFO;
     |

error[E0081]: discriminant value `8` assigned more than once
   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.29.0/src/macros.rs:131:9
    |
131 | /         $v enum $BitFlags {
132 | |             $($entries)*
133 | |         }
    | |_________^
...
255 |                   $entry = libc::$entry,
    |                            ------------
    |                            |
    |                            `8` assigned here
    |                            `8` assigned here
    |
   ::: /cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.29.0/src/sys/signal.rs:28:1
    |
28  | / libc_enum! {
29  | |     /// Types of operating system signals
30  | |     // Currently there is only one definition of c_int in libc, as well as only one
31  | |     // type for signal constants.
...   |
121 | |     impl TryFrom<i32>
122 | | }
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info)

@jtmoon79 jtmoon79 self-assigned this Nov 24, 2024
@jtmoon79 jtmoon79 force-pushed the main branch 3 times, most recently from 260a184 to 5c81175 Compare November 25, 2024 05:13
jtmoon79 added a commit that referenced this pull request Dec 1, 2024
jtmoon79 added a commit that referenced this pull request Dec 1, 2024
jtmoon79 added a commit that referenced this pull request Dec 1, 2024
jtmoon79 added a commit that referenced this pull request Dec 1, 2024
jtmoon79 added a commit that referenced this pull request Dec 1, 2024
@jtmoon79 jtmoon79 closed this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant