Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when building libc 0.2.112 as dep of libstd on FreeBSD #2614

Closed
bjorn3 opened this issue Jan 4, 2022 · 1 comment
Closed

Errors when building libc 0.2.112 as dep of libstd on FreeBSD #2614

bjorn3 opened this issue Jan 4, 2022 · 1 comment
Labels
C-bug Category: bug O-bsd

Comments

@bjorn3
Copy link
Member

bjorn3 commented Jan 4, 2022

This causes the cg_clif CI to fail on FreeBSD: https://cirrus-ci.com/task/6719379466354688?logs=test#L178

error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:49:3
   |
49 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:65:3
   |
65 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:82:3
   |
82 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:98:3
   |
98 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:114:3
    |
114 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:136:3
    |
136 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:169:3
    |
169 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:227:3
    |
227 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive
@bjorn3 bjorn3 added the C-bug Category: bug label Jan 4, 2022
@JohnTitor JohnTitor added the O-bsd label Jan 4, 2022
@JohnTitor JohnTitor self-assigned this Jan 4, 2022
@JohnTitor JohnTitor removed their assignment Jan 29, 2022
@JohnTitor
Copy link
Member

Should be fixed by #2659. feel free to re-open if my assumption is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug O-bsd
Projects
None yet
Development

No branches or pull requests

2 participants