Package Details: zellij 0.13.0-1

Git Clone URL: https://aur.archlinux.org/zellij.git (read-only, click to copy)
Package Base: zellij
Description: A terminal multiplexer.
Upstream URL: https://zellij.dev
Keywords: multiplexer terminal
Licenses: MIT
Conflicts: zellij-bin, zellij-git
Provides: zellij
Submitter: nicoulaj
Maintainer: nicoulaj
Last Packager: nicoulaj
Votes: 6
Popularity: 2.72
First Submitted: 2021-04-22 13:03
Last Updated: 2021-06-04 10:30

Latest Comments

Derson5 commented on 2021-05-28 17:43

Ok, I deleted .cache and disabled lto in makepkg and build now with paru -S zellij and it works! It shows some warnings, but still builds without problems and pass all test.

   Compiling zellij-client v0.12.1 (/home/roland/.cache/paru/clone/zellij/src/zellij-0.12.1/zellij-client)
warning: unused variable: `info`
  --> zellij-client/src/lib.rs:88:5
   |
88 |     info: ClientInfo,
   |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: function is never used: `spawn_server`
  --> zellij-client/src/lib.rs:61:4
   |
61 | fn spawn_server(socket_path: &Path) -> io::Result<()> {
   |    ^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

   Compiling wasmer-compiler-cranelift v1.0.2
   Compiling wasmer v1.0.2
   Compiling wasmer-wasi v1.0.2
warning: 2 warnings emitted

   Compiling zellij-server v0.12.1 (/home/roland/.cache/paru/clone/zellij/src/zellij-0.12.1/zellij-server)
warning: unused variable: `socket_path`
   --> zellij-server/src/lib.rs:111:53
    |
111 | pub fn start_server(os_input: Box<dyn ServerOsApi>, socket_path: PathBuf) {
    |                                                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket_path`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `result`
    --> zellij-server/src/panes/grid.rs:1507:17
     |
1507 |             let result = debug_log_to_file(format!("Unhandled csi: {}->{:?}", c, params));
     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`

warning: variant is never constructed: `ClosePane`
  --> zellij-server/src/screen.rs:60:5
   |
60 |     ClosePane(PaneId),
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: 3 warnings emitted

   Compiling zellij v0.12.1 (/home/roland/.cache/paru/clone/zellij/src/zellij-0.12.1)
warning: unused import: `tab::Pane`
 --> src/tests/utils.rs:3:42
  |
3 | use zellij_server::{panes::TerminalPane, tab::Pane};
  |                                          ^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: 1 warning emitted

    Finished release [optimized] target(s) in 1m 07s
     Running unittests (target/release/deps/zellij-f1dc9aefac635f06)

Derson5 commented on 2021-05-28 15:07

May it's my makepkge? cat /etc/makepkg.conf

#!/hint/bash
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'fossil::fossil'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
#export CC=clang
#export CXX=clang++

#CPPFLAGS=""
CFLAGS="-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
RUSTFLAGS="-C opt-level=3"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc)"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
#DEBUG_RUSTFLAGS="-C debuginfo=2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#-- lto:        Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSZST=(zstd -c -z -q - --threads=0)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

Derson5 commented on 2021-05-28 15:06

Ech, still not building... I do rustup update, but:

   Compiling zellij v0.12.0 (/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/derson5/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-1d5f581d8c6cf456.zellij.5c14mk1c-cgu.1.rcgu.o" "-o" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-1d5f581d8c6cf456" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps" "-L" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/build/wasmer-vm-731dd80558304931/out" "-L" "/home/derson5/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcrq4DVJ/libwasmer_vm-bc8700cf9d2687de.rlib" "-Wl,--start-group" "-Wl,--end-group" "/home/derson5/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
  = note: /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-1d5f581d8c6cf456.zellij.5c14mk1c-cgu.1.rcgu.o: in function `wasmer::externals::function::Function::call':
          zellij.5c14mk1c-cgu.1:(.text._ZN6wasmer9externals8function8Function4call17hc98661a4e36a7ec9E+0xd11): undefined reference to `RegisterSetjmp'
          /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-1d5f581d8c6cf456.zellij.5c14mk1c-cgu.1.rcgu.o: in function `wasmer_engine::artifact::Artifact::finish_instantiation':
          zellij.5c14mk1c-cgu.1:(.text._ZN13wasmer_engine8artifact8Artifact20finish_instantiation17he303a7cad6524a45E+0xd9e): undefined reference to `RegisterSetjmp'
          /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-1d5f581d8c6cf456.zellij.5c14mk1c-cgu.1.rcgu.o: in function `wasmer_vm::trap::traphandlers::trap_handler':
          zellij.5c14mk1c-cgu.1:(.text._ZN9wasmer_vm4trap12traphandlers12trap_handler17hf2c3f78cbebff239E+0x228): undefined reference to `Unwind'
          /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-1d5f581d8c6cf456.zellij.5c14mk1c-cgu.1.rcgu.o: in function `wasmer_vm::trap::traphandlers::CallThreadState::unwind_with':
          zellij.5c14mk1c-cgu.1:(.text._ZN9wasmer_vm4trap12traphandlers15CallThreadState11unwind_with17h17f87ad24ab25f49E+0x56): undefined reference to `Unwind'
          collect2: error: ld returned 1 exit status


error: aborting due to previous error

error: could not compile `zellij`

To learn more, run the command again with --verbose.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'zellij-0.12.0-3':

If I do cargo install zellij it's installing without problem.

nicoulaj commented on 2021-05-28 07:02

I pushed a change to make sure the compilation is done using the stable toolchain, make sure your toolchain is up to date and retry it.

Derson5 commented on 2021-05-27 20:36

It's failing for me.

zellij-0.12.0-1: parsing pkg list...
==> Making package: zellij 0.12.0-1 (Thu 27 May 2021 10:31:45 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
   Compiling proc-macro2 v1.0.26
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.69
   Compiling libc v0.2.93
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.0.1
   Compiling serde_derive v1.0.125
   Compiling serde v1.0.125
   Compiling value-bag v1.0.0-alpha.6
   Compiling log v0.4.14
   Compiling lazy_static v1.4.0
   Compiling bitflags v1.2.1
   Compiling pin-project-lite v0.2.6
   Compiling smallvec v1.6.1
   Compiling memchr v2.3.4
   Compiling scopeguard v1.1.0
   Compiling futures-core v0.3.14
   Compiling hashbrown v0.9.1
   Compiling adler v1.0.2
   Compiling version_check v0.9.3
   Compiling futures-io v0.3.14
   Compiling fnv v1.0.7
   Compiling strsim v0.10.0
   Compiling ident_case v1.0.1
   Compiling gimli v0.23.0
   Compiling rustc-demangle v0.1.18
   Compiling object v0.23.0
   Compiling target-lexicon v0.11.2
   Compiling cache-padded v1.1.1
   Compiling cc v1.0.67
   Compiling waker-fn v1.1.0
   Compiling cfg-if v0.1.10
   Compiling fastrand v1.4.0
   Compiling event-listener v2.5.1
   Compiling parking v2.0.0
   Compiling proc-macro-hack v0.5.19
   Compiling once_cell v1.7.2
   Compiling more-asserts v0.2.1
   Compiling getrandom v0.2.2
   Compiling wasmparser v0.65.0
   Compiling proc-macro-nested v0.1.7
   Compiling cranelift-entity v0.68.0
   Compiling cranelift-codegen-shared v0.68.0
   Compiling futures-sink v0.3.14
   Compiling vec-arena v1.1.0
   Compiling rayon-core v1.9.0
   Compiling slab v0.4.2
   Compiling pin-utils v0.1.0
   Compiling unicode-segmentation v1.7.1
   Compiling crc32fast v1.2.1
   Compiling async-task v4.0.3
   Compiling fallible-iterator v0.2.0
   Compiling stable_deref_trait v1.2.0
   Compiling rustc-hash v1.1.0
   Compiling either v1.6.1
   Compiling futures-task v0.3.14
   Compiling atomic-waker v1.0.0
   Compiling signal-hook v0.3.8
   Compiling ryu v1.0.5
   Compiling ppv-lite86 v0.2.10
   Compiling byteorder v1.4.3
   Compiling serde_json v1.0.64
   Compiling leb128 v0.2.4
   Compiling unicode-width v0.1.8
   Compiling remove_dir_all v0.5.3
   Compiling vec_map v0.8.2
   Compiling strsim v0.8.0
   Compiling itoa v0.4.7
   Compiling linked-hash-map v0.5.4
   Compiling utf8parse v0.1.1
   Compiling ansi_term v0.11.0
   Compiling inventory v0.1.10
   Compiling wasmer-compiler-cranelift v1.0.2
   Compiling utf8parse v0.2.0
   Compiling numtoa v0.1.0
   Compiling intmap v0.7.0
   Compiling strum v0.20.0
   Compiling arrayvec v0.5.2
   Compiling dtoa v0.4.8
   Compiling colors-transform v0.2.11
   Compiling async-trait v0.1.50
   Compiling boxfnonce v0.1.1
   Compiling names v0.11.0
   Compiling ansi_term v0.12.1
   Compiling instant v0.1.9
   Compiling libloading v0.6.7
   Compiling tracing-core v0.1.17
   Compiling lock_api v0.4.4
   Compiling concurrent-queue v1.2.2
   Compiling async-mutex v1.4.0
   Compiling async-lock v2.4.0
   Compiling indexmap v1.6.2
   Compiling memoffset v0.6.3
   Compiling miniz_oxide v0.4.4
   Compiling crossbeam-utils v0.8.3
   Compiling rayon v1.5.0
   Compiling futures-channel v0.3.14
   Compiling cranelift-codegen-meta v0.68.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling heck v0.3.2
   Compiling wast v35.0.2
   Compiling textwrap v0.11.0
   Compiling addr2line v0.14.1
   Compiling vte v0.3.3
   Compiling yaml-rust v0.4.5
   Compiling spinning v0.1.0
   Compiling async-channel v1.6.1
   Compiling strip-ansi-escapes v0.1.0
   Compiling futures-lite v1.11.3
   Compiling quote v1.0.9
   Compiling num_cpus v1.13.0
   Compiling region v2.2.0
   Compiling signal-hook-registry v1.3.0
   Compiling socket2 v0.4.0
   Compiling memmap2 v0.2.2
   Compiling atty v0.2.14
   Compiling dirs-sys-next v0.1.2
   Compiling which v4.1.0
   Compiling parking_lot_core v0.8.3
   Compiling nix v0.19.1
   Compiling termion v1.5.6
   Compiling time v0.1.43
   Compiling rand v0.4.6
   Compiling daemonize v0.4.1
   Compiling backtrace v0.3.56
   Compiling blocking v1.0.2
   Compiling async-executor v1.4.0
   Compiling wasmer-vm v1.0.2
   Compiling rand_core v0.6.2
   Compiling wat v1.0.37
   Compiling clap v2.33.3
   Compiling directories-next v2.0.0
   Compiling parking_lot v0.11.1
   Compiling crossbeam-epoch v0.9.3
   Compiling crossbeam-channel v0.5.1
   Compiling rand v0.3.23
   Compiling vte_generate_state_changes v0.1.1
   Compiling rand_chacha v0.3.0
   Compiling crossbeam-deque v0.8.0
   Compiling rand v0.8.3
   Compiling tempfile v3.2.0
   Compiling vte v0.10.1
   Compiling darling_core v0.12.3
   Compiling ctor v0.1.20
   Compiling thiserror-impl v1.0.24
   Compiling darling_macro v0.12.3
   Compiling futures-macro v0.3.14
   Compiling tracing-attributes v0.1.15
   Compiling structopt-derive v0.4.14
   Compiling inventory-impl v0.1.10
   Compiling ghost v0.1.2
   Compiling strum_macros v0.20.1
   Compiling wasmer-derive v1.0.2
   Compiling typetag-impl v0.1.7
   Compiling cranelift-codegen v0.68.0
   Compiling darling v0.12.3
   Compiling thiserror v1.0.24
   Compiling enumset_derive v0.5.4
   Compiling futures-util v0.3.14
   Compiling polling v2.0.3
   Compiling regalloc v0.0.31
   Compiling kv-log-macro v1.0.7
   Compiling mio v0.7.11
   Compiling async-io v1.4.0
   Compiling tracing v0.1.25
   Compiling futures-executor v0.3.14
   Compiling signal-hook v0.1.17
   Compiling async-process v1.0.2
   Compiling async-global-executor v2.0.2
   Compiling futures v0.3.14
   Compiling crossterm v0.19.0
   Compiling async-std v1.9.0
   Compiling interprocess v1.1.1
   Compiling termbg v0.2.3
   Compiling structopt v0.3.21
   Compiling enumset v1.0.6
   Compiling serde_bytes v0.11.5
   Compiling bincode v1.3.3
   Compiling serde_yaml v0.8.17
   Compiling erased-serde v0.3.13
   Compiling generational-arena v0.2.8
   Compiling wasmer-types v1.0.2
   Compiling cranelift-bforest v0.68.0
   Compiling gimli v0.22.0
   Compiling object v0.22.0
   Compiling typetag v0.1.7
   Compiling zellij-tile v0.12.0 (/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/zellij-tile)
   Compiling zellij-utils v0.12.0 (/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/zellij-utils)
   Compiling wasmer-compiler v1.0.2
   Compiling zellij-client v0.12.0 (/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/zellij-client)
   Compiling wasmer-engine v1.0.2
   Compiling wasmer-object v1.0.2
   Compiling wasmer-engine-jit v1.0.2
   Compiling wasmer-engine-native v1.0.2
   Compiling cranelift-frontend v0.68.0
   Compiling wasmer v1.0.2
   Compiling wasmer-wasi v1.0.2
   Compiling zellij-server v0.12.0 (/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/zellij-server)
   Compiling zellij v0.12.0 (/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/home/derson5/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-7714f4f368550006.zellij.df8h080u-cgu.1.rcgu.o" "-o" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-7714f4f368550006" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps" "-L" "/home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/build/wasmer-vm-92c89e019103225b/out" "-L" "/home/derson5/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustc7bgXyy/libwasmer_vm-c337a7ec254ad4ee.rlib" "-Wl,--start-group" "-Wl,--end-group" "/home/derson5/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9709982134b68855.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
  = note: /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-7714f4f368550006.zellij.df8h080u-cgu.1.rcgu.o: in function `wasmer::externals::function::Function::call':
          zellij.df8h080u-cgu.1:(.text._ZN6wasmer9externals8function8Function4call17h1ac5895acb9908a3E+0xc9b): undefined reference to `RegisterSetjmp'
          /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-7714f4f368550006.zellij.df8h080u-cgu.1.rcgu.o: in function `wasmer_engine::artifact::Artifact::finish_instantiation':
          zellij.df8h080u-cgu.1:(.text._ZN13wasmer_engine8artifact8Artifact20finish_instantiation17h3a10023d08ef977aE+0xd01): undefined reference to `RegisterSetjmp'
          /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-7714f4f368550006.zellij.df8h080u-cgu.1.rcgu.o: in function `wasmer_vm::trap::traphandlers::trap_handler':
          zellij.df8h080u-cgu.1:(.text._ZN9wasmer_vm4trap12traphandlers12trap_handler17h0d8ed0718d62a740E+0x228): undefined reference to `Unwind'
          /usr/bin/ld: /home/derson5/.cache/paru/clone/zellij/src/zellij-0.12.0/target/release/deps/zellij-7714f4f368550006.zellij.df8h080u-cgu.1.rcgu.o: in function `wasmer_vm::trap::traphandlers::CallThreadState::unwind_with':
          zellij.df8h080u-cgu.1:(.text._ZN9wasmer_vm4trap12traphandlers15CallThreadState11unwind_with17hfd05209784249940E+0x56): undefined reference to `Unwind'
          collect2: error: ld returned 1 exit status


error: aborting due to previous error

error: could not compile `zellij`

To learn more, run the command again with --verbose.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'zellij-0.12.0-1':

crabvk commented on 2021-04-23 15:40

Please consider these changes https://gist.github.com/crabvk/bba7d143e47b3a256378840b9cac7709
or add me as co-maintainer and I'll push the commit.

nicoulaj commented on 2021-04-23 08:55

Do you use rustup ? On my machine building the package automatically downloads and switches to the nightly channel:

==> Starting build()...
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-23, rust version 1.53.0-nightly (7f4afdf02 2021-04-22)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-analysis'
info: downloading component 'rust-docs'
info: downloading component 'rust-std' for 'wasm32-wasi'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: using up to 500.0 MiB of RAM to unpack components
info: installing component 'clippy'
info: installing component 'rust-analysis'
info: installing component 'rust-docs'
info: installing component 'rust-std' for 'wasm32-wasi'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'

Not sure how to manage this properly from packaging point of view.

jat255 commented on 2021-04-22 20:35

This is not building for me:

[cargo-make][2] INFO - Execute Command: "cargo" "build" "--release" "--all-features"
   Compiling itoa v0.4.7
   Compiling strum v0.20.0
   Compiling lazy_static v1.4.0
   Compiling atty v0.2.14
   Compiling ansi_term v0.12.1
   Compiling ryu v1.0.5
   Compiling serde v1.0.125
   Compiling serde_json v1.0.64
error[E0463]: can't find crate for `core`
  |
  = note: the `wasm32-wasi` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: could not compile `itoa`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `core`
  |
  = note: the `wasm32-wasi` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
  |
  = note: the `wasm32-wasi` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
  |
  = note: the `wasm32-wasi` target may not be installed

error[E0463]: can't find crate for `std`
  |
  = note: the `wasm32-wasi` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `core`
  |
  = note: the `wasm32-wasi` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
  |
  = note: the `wasm32-wasi` target may not be installed

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: build failed
[cargo-make][2] ERROR - Error while executing command, exit code: 101
[cargo-make][2] WARN - Build Failed.
[cargo-make][1] ERROR - Error while executing command, exit code: 1
[cargo-make][1] WARN - Build Failed.
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.