Skip to content

date: build failure of cygwin target #12303

@oech3

Description

@oech3
- name: "`make install MULTICALL=y` (x86_64-pc-cygwin)"
  shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
  env:
    CHERE_INVOKING: 1
  run: |
    set -x
    pacman -Sy --noconfirm --needed make rust base-devel
    cargo check -p uu_date

    Checking uu_date v0.8.0 (/d/a/coreutils/coreutils/src/uu/date)
error[E0425]: cannot find value `D_T_FMT` in crate `libc`
  --> src/uu/date/src/locale.rs:33:43
   |
33 |     const DATE_FMT: libc::nl_item = libc::D_T_FMT;
   |                                           ^^^^^^^ not found in `libc`
error[E0425]: cannot find function `nl_langinfo` in crate `libc`
  --> src/uu/date/src/locale.rs:78:37
   |
78 |             let d_t_fmt_ptr = libc::nl_langinfo(DATE_FMT);
   |                                     ^^^^^^^^^^^ not found in `libc`

libc v0.2.186
@tgross35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions