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

Can't upgrade to 1.4.0 #22

Closed
QkiZMR opened this issue Aug 5, 2020 · 2 comments
Closed

Can't upgrade to 1.4.0 #22

QkiZMR opened this issue Aug 5, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@QkiZMR
Copy link

QkiZMR commented Aug 5, 2020

Describe the bug
I'm trying to compile 1.4.0 version with cargo but it finished with error.

  = note: /usr/bin/ld: cannot find -lxcb-shape
          /usr/bin/ld: cannot find -lxcb-xfixes
          collect2: error: ld returned 1 exit status

To Reproduce
Steps to reproduce the behavior:

  1. Compile with sudo cargo install kmon --force command.

Expected behavior
Compile and install new 1.4.0 version

Screenshots/Logs
Logs from the compile process.

    Updating crates.io index
  Downloaded kmon v1.4.0
  Downloaded 1 crate (50.7 KB) in 6.47s
  Installing kmon v1.4.0
  Downloaded bytesize v1.0.1
  Downloaded unicode-width v0.1.8
  Downloaded enum-iterator v0.6.0
  Downloaded clap v2.33.2
  Downloaded clipboard v0.5.0
  Downloaded colorsys v0.5.4
  Downloaded termion v1.5.5
  Downloaded tui v0.8.0
  Downloaded enum-unitary v0.4.2
  Downloaded ansi_term v0.11.0
  Downloaded vec_map v0.8.2
  Downloaded textwrap v0.11.0
  Downloaded enum-iterator-derive v0.6.0
  Downloaded bitflags v1.2.1
  Downloaded atty v0.2.14
  Downloaded x11-clipboard v0.3.3
  Downloaded strsim v0.8.0
  Downloaded either v1.5.3
  Downloaded log v0.4.11
  Downloaded num-traits v0.2.12
  Downloaded quote v1.0.7
  Downloaded proc-macro2 v1.0.19
  Downloaded numtoa v0.1.0
  Downloaded cassowary v0.3.0
  Downloaded unicode-segmentation v1.6.0
  Downloaded libc v0.2.74
  Downloaded itertools v0.8.2
  Downloaded syn v1.0.38
  Downloaded cfg-if v0.1.10
  Downloaded xcb v0.8.2
  Downloaded autocfg v1.0.0
  Downloaded unicode-xid v0.2.1
   Compiling libc v0.2.74
   Compiling proc-macro2 v1.0.19
   Compiling log v0.4.11
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.38
   Compiling cfg-if v0.1.10
   Compiling bitflags v1.2.1
   Compiling autocfg v1.0.0
   Compiling unicode-width v0.1.8
   Compiling either v1.5.3
   Compiling numtoa v0.1.0
   Compiling strsim v0.8.0
   Compiling vec_map v0.8.2
   Compiling unicode-segmentation v1.6.0
   Compiling cassowary v0.3.0
   Compiling ansi_term v0.11.0
   Compiling bytesize v1.0.1
   Compiling colorsys v0.5.4
   Compiling textwrap v0.11.0
   Compiling itertools v0.8.2
   Compiling num-traits v0.2.12
   Compiling quote v1.0.7
   Compiling atty v0.2.14
   Compiling termion v1.5.5
   Compiling xcb v0.8.2
   Compiling clap v2.33.2
   Compiling tui v0.8.0
   Compiling x11-clipboard v0.3.3
   Compiling clipboard v0.5.0
   Compiling enum-iterator-derive v0.6.0
   Compiling enum-iterator v0.6.0
   Compiling enum-unitary v0.4.2
   Compiling kmon v1.4.0
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.0.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.1.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.10.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.11.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.12.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.13.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.14.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.15.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.2.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.3.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.4.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.5.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.6.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.7.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.8.rcgu.o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.kmon.acj66v5t-cgu.9.rcgu.o" "-o" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14" "/tmp/cargo-installBuooAj/release/deps/kmon-c05e4a56f26dab14.4ppiwg2svz00f8hk.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-installBuooAj/release/deps" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-installBuooAj/release/deps/libcolorsys-3e518bb0ad5a69ad.rlib" "/tmp/cargo-installBuooAj/release/deps/libclap-07f08cc6fcdf185e.rlib" "/tmp/cargo-installBuooAj/release/deps/libvec_map-1a06bcb0f716d2c9.rlib" "/tmp/cargo-installBuooAj/release/deps/libtextwrap-e4de17c323fc34f8.rlib" "/tmp/cargo-installBuooAj/release/deps/libstrsim-62fcbb9566b11f33.rlib" "/tmp/cargo-installBuooAj/release/deps/libatty-2d812482c98a8b03.rlib" "/tmp/cargo-installBuooAj/release/deps/libansi_term-399d9c79af21b78c.rlib" "/tmp/cargo-installBuooAj/release/deps/libbytesize-420957e69843d471.rlib" "/tmp/cargo-installBuooAj/release/deps/libtui-b097d0d9160a42e1.rlib" "/tmp/cargo-installBuooAj/release/deps/libitertools-23a5754383cae4e6.rlib" "/tmp/cargo-installBuooAj/release/deps/libeither-8f5a6e5c8171d45e.rlib" "/tmp/cargo-installBuooAj/release/deps/libbitflags-04d4a626dc324750.rlib" "/tmp/cargo-installBuooAj/release/deps/libcassowary-f0b9578c878bca06.rlib" "/tmp/cargo-installBuooAj/release/deps/libunicode_width-e9f7e28636b31438.rlib" "/tmp/cargo-installBuooAj/release/deps/libunicode_segmentation-0fb757b03cec94d6.rlib" "/tmp/cargo-installBuooAj/release/deps/libtermion-6c40df01fde41458.rlib" "/tmp/cargo-installBuooAj/release/deps/libnumtoa-bf45b4eb54bf35bb.rlib" "/tmp/cargo-installBuooAj/release/deps/libenum_unitary-b2e390d4839eff0a.rlib" "/tmp/cargo-installBuooAj/release/deps/libnum_traits-ad895ed98309e3d7.rlib" "/tmp/cargo-installBuooAj/release/deps/libenum_iterator-74eeca65958d47a7.rlib" "/tmp/cargo-installBuooAj/release/deps/libclipboard-08b3e32b0c1b6e7d.rlib" "/tmp/cargo-installBuooAj/release/deps/libx11_clipboard-b205c83a6d605d8e.rlib" "/tmp/cargo-installBuooAj/release/deps/libxcb-80c689becef29706.rlib" "/tmp/cargo-installBuooAj/release/deps/liblog-a6ff18f6efc50c20.rlib" "/tmp/cargo-installBuooAj/release/deps/libcfg_if-4538d89b6d34b017.rlib" "/tmp/cargo-installBuooAj/release/deps/liblibc-35db208ec6c99d77.rlib" "-Wl,--start-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b1b61f01951b016b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1a219005f9510085.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-de703a5f53bf135e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f8b5f83d4ba2b90f.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c6dc8f69734bcae2.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-4546f4207f7495c9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2ac782148854dc56.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cf897c39850c16b7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9d727da20068fc09.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bd6ee87558a376f2.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-182e50caadead100.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-88083985464b6af5.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-83ed8731003cd087.rlib" "-Wl,--end-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d61dbae1fa88f6f5.rlib" "-Wl,-Bdynamic" "-lxcb" "-lxcb" "-lxcb" "-lxcb" "-lxcb-render" "-lxcb-shape" "-lxcb-xfixes" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find -lxcb-shape
          /usr/bin/ld: cannot find -lxcb-xfixes
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: failed to compile `kmon v1.4.0`, intermediate artifacts can be found at `/tmp/cargo-installBuooAj`

Caused by:
  could not compile `kmon`.

To learn more, run the command again with --verbose.

System (please complete the following information):

  • OS Information: Ubuntu 20.04, kernel 5.4.0-42-lowlatency
  • Rust Version: 1.43
  • Project Version: 1.4.0

Additional context
There's no any other context

@QkiZMR QkiZMR added the bug Something isn't working label Aug 5, 2020
@orhun
Copy link
Owner

orhun commented Aug 5, 2020

See #2

@QkiZMR
Copy link
Author

QkiZMR commented Aug 7, 2020

Thx, it helps.

@QkiZMR QkiZMR closed this as completed Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants