zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.1k stars 643 forks source link

File name too long (os error 36) - can't install #3191

Open cmcallister opened 7 months ago

cmcallister commented 7 months ago

2. Issues with the Zellij UI / behavior / crash

Issue description

I'm running Linux Mint 21.3. When trying to install zellij via cargo, it fails with the following stack trace:

error: failed to compile `zellij v0.39.2`, intermediate artifacts can be found at `/tmp/cargo-installWZgErd`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  failed to download `zellij-server v0.39.2`

Caused by:
  unable to get packages from source

Caused by:
  failed to download replaced source registry `crates-io`

Caused by:
  failed to unpack package `zellij-server v0.39.2`

Caused by:
  failed to unpack entry at `zellij-server-0.39.2/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__when_swapping_floating_layouts_in_an_undamaged_state_with_no_focus_node_pane_focuses_on_deepest_node.snap`

Caused by:
  failed to unpack `/home/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zellij-server-0.39.2/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__when_swapping_floating_layouts_in_an_undamaged_state_with_no_focus_node_pane_focuses_on_deepest_node.snap`

Caused by:
  failed to unpack `zellij-server-0.39.2/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__when_swapping` into`/home/chris/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zellij-server-0.39.2/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__when_swapping_floating_layouts_in_an_undamaged_state_with_no_focus_node_pane_focuses_on_deepest_node.snap`

Caused by:
  File name too long (os error 36)

Minimal reproduction

I don't have any other machines to try this on but my system information is below

Other relevant information

System:
  Kernel: 6.5.0-25-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33
    wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: LENOVO product: 90SU0016US v: Legion T5 26IAB7
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: LENOVO model: 3753 v: SDK0T76530 WIN 3556078687847 serial: <superuser required>
    UEFI: LENOVO v: O5LKT27A date: 08/23/2022
CPU:
  Info: 12-core (8-mt/4-st) model: 12th Gen Intel Core i7-12700 bits: 64 type: MST AMCP
    smt: enabled arch: Alder Lake rev: 2 cache: L1: 1024 KiB L2: 12 MiB L3: 25 MiB
  Speed (MHz): avg: 1841 high: 4572 min/max: 800/4800:4900:3600 cores: 1: 888 2: 800 3: 2158
    4: 4572 5: 1091 6: 800 7: 2410 8: 1272 9: 3712 10: 800 11: 3270 12: 800 13: 4384 14: 862
    15: 2110 16: 800 17: 1037 18: 3309 19: 883 20: 863 bogomips: 84480
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti Lite Hash Rate] vendor: Lenovo driver: nvidia
    v: 535.161.07 pcie: speed: 16 GT/s lanes: 16 ports: active: none off: DP-1
    empty: DP-2,DP-3,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2489 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.7x13.5") s-diag: 692mm (27.3")
  Monitor-1: DP-0 res: 2560x1440 dpi: 109 size: 597x336mm (23.5x13.2") diag: 685mm (27")
  OpenGL: renderer: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 535.161.07
    direct render: Yes
Audio:
  Device-1: Intel vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    pcie: speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-25-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3 chip-ID: 8086:7af0
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-2: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0026
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 356b hci-v: 5.2 rev: 356b
Drives:
  Local Storage: total: 953.87 GiB used: 671.57 GiB (70.4%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL21T0HCLR-00BL7 size: 953.87 GiB speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: CL2QGXA7 temp: 31.9 C scheme: GPT
Partition:
  ID-1: / size: 45.53 GiB used: 34.64 GiB (76.1%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 476 MiB used: 6.1 MiB (1.3%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 228.12 GiB used: 91.63 GiB (40.2%) fs: ext4 dev: /dev/nvme0n1p3
Swap:
  Alert: No swap data was found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-7:2 info: Razer USA Huntsman V2 Tenkeyless type: Keyboard,Mouse,HID
    driver: razerkbd,usbhid interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 1532:026b
    class-ID: 0300
  Device-2: 1-8:3 info: Razer USA Basilisk V3 type: Mouse,Keyboard,HID driver: razermouse,usbhid
    interfaces: 4 rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 1532:0099 class-ID: 0300
  Device-3: 1-9:4 info: Lenovo ITE Device(8297) type: HID driver: hid-generic,usbhid
    interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 17ef:c955 class-ID: 0301
  Device-4: 1-14:5 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026 class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 10 rev: 3.1 speed: 20 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 27 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 34%
Repos:
  Packages: 2998 apt: 2947 flatpak: 51
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/ansible-ansible-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/ansible-ansible-jammy.gpg] https: //ppa.launchpadcontent.net/ansible/ansible/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/appimagelauncher-team-stable-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/appimagelauncher-team-stable-jammy.gpg] https: //ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com virginia main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/openrazer-stable-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/openrazer-stable-jammy.gpg] https: //ppa.launchpadcontent.net/openrazer/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/polychromatic-stable-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/polychromatic-stable-jammy.gpg] https: //ppa.launchpadcontent.net/polychromatic/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
    1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https: //repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https: //updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/syncthing.list
    1: deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https: //apt.syncthing.net/ syncthing stable
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
Info:
  Processes: 583 Uptime: 1d 17h 1m wakeups: 0 Memory: 31.06 GiB used: 23.91 GiB (77.0%)
  Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4
  inxi: 3.3.13
jhonnyV-V commented 5 months ago

I have the same issue

OS: Linux Mint 21.2 x86_64 Kernel: 5.15.0-101-generic cargo 1.77.2 (e52e36006 2024-03-26)

Quiwy commented 4 months ago

Same issue here with version 0.40.1 : failed to compile zellij v0.40.1

OS : Ubuntu 22.04.4 LTS Kernel : 6.5.0-28-generic cargo 1.78.0 (54d8815d0 2024-03-26)

Edit : seems the problem is comming from the fact my home is using ecryptfs, so in fact this is this issue. Will use binaries.