csview icon indicating copy to clipboard operation
csview copied to clipboard

Add it to a Ubuntu PPA for apt (does not compile on 20.04.4) ?

Open ondohotola opened this issue 1 year ago • 4 comments

Check list

  • [ X] I have read through the README
  • [ X] I have searched through the existing issues

Environment info

  • OS
    • [X ] Linux
    • [ ] Mac OS X
    • [ ] Windows
    • [ ] Others:

Version

Problem / Steps to reproduce

sudo -s apt install cargo cargo install csview

gives this error:

   Compiling csview v1.1.0
error[E0658]: use of unstable library feature 'bool_to_option'
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/csview-1.1.0/src/table/mod.rs:92:50
   |
92 |     update_widths(&record, &mut widths, with_seq.then_some("#"));
   |                                                  ^^^^^^^^^
error: failed to compile `csview v1.1.0`, intermediate artifacts can be found at `/tmp/cargo-installmangP5`

I know I can install the binary

greetings, el

ondohotola avatar Jul 24 '22 15:07 ondohotola

@ondohotola What is the rust version on your os?

rustc --version

wfxr avatar Jul 26 '22 06:07 wfxr

Ihave removed it but the version installed was

rustc (1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2

el

On 2022-07-26 08:19 , Wenxuan wrote:

@ondohotola https://github.com/ondohotola What is the rust version on your os?

|rustc --version |

— Reply to this email directly, view it on GitHub https://github.com/wfxr/csview/issues/73#issuecomment-1195052702, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVZVGQLOJ7CYLNX34RMAT3VV57NTANCNFSM54P2RGZQ. You are receiving this because you were mentioned.Message ID: @.***>

-- Dr. Eberhard W. Lisse \ / Obstetrician & Gynaecologist @.*** / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 Bachbrecht \ / If this email is signed with GPG/PGP 10007, Namibia ;____/ Sect 20 of Act No 4 of 2019 may apply

ondohotola avatar Jul 26 '22 19:07 ondohotola

@ondohotola This is the cause of the problem. then_some requires rust 1.62+ to compile 🤔

wfxr avatar Jul 27 '22 02:07 wfxr

Ah, ok, will see if there is a PPA for a newer ruts and try again.

But a PPA for the program itself would be nice.

thanks, el

-- Dr. Eberhard W. Lisse \ / Obstetrician & Gynaecologist @.*** / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 Bachbrecht \ / If this email is signed with GPG/PGP 10007, Namibia ;____/ Sect 20 of Act No. 4 of 2019 may apply On 27. Jul 2022, 04:55 +0200, Wenxuan @.***>, wrote:

@ondohotola This is the cause of the problem. then_some requires rust 1.62+ to compile 🤔 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

ondohotola avatar Jul 27 '22 05:07 ondohotola

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 02 '23 04:02 stale[bot]