Some deno problem on https://aur.archlinux.org/packages/line-gtk#comment-1087294 #1

Closed
opened 2026-10-07 13:11:12 +07:00 by belnolight · 5 comments
Owner

Description

nathawat have reported the bug from the aur about some deno that make the project broke. Based on latest AUR Pull (https://github.com/MidnightTale/Line-GTK/pull/3)

When installing line-gtk via AUR (makepkg), the default Arch build environment runs strip on all binaries. Because deno compile appends a serialized JavaScript/bundle section to the end of the binary, running strip removes that section completely.

This corrupts line-gtk-protocol, causing it to immediately crash on startup with:

error: Could not find standalone binary section.

As a result, the GTK client fails to connect to the sidecar, loops through recovery attempts, and gets stuck showing "ไม่สามารถเริ่มระบบโปรโตคอลใหม่ได้" / "Failed to restart protocol" without displaying the login QR code.

Expected Outcomes

The package should rely on system's deno and removed the precompiled line-gtk-protocol binary during packaging.

# Description [nathawat](https://aur.archlinux.org/account/nathawat) have reported the bug from the aur about some deno that make the project broke. Based on latest AUR Pull (https://github.com/MidnightTale/Line-GTK/pull/3) ``` When installing line-gtk via AUR (makepkg), the default Arch build environment runs strip on all binaries. Because deno compile appends a serialized JavaScript/bundle section to the end of the binary, running strip removes that section completely. This corrupts line-gtk-protocol, causing it to immediately crash on startup with: error: Could not find standalone binary section. As a result, the GTK client fails to connect to the sidecar, loops through recovery attempts, and gets stuck showing "ไม่สามารถเริ่มระบบโปรโตคอลใหม่ได้" / "Failed to restart protocol" without displaying the login QR code. ``` # Expected Outcomes The package should rely on system's deno and removed the precompiled line-gtk-protocol binary during packaging.
belnolight self-assigned this 2026-10-07 13:11:12 +07:00
Author
Owner

TODO : will fix after I back from college, I'm still here clearing the last-year Shenanigans. (I love Internship)

TODO : will fix after I back from college, I'm still here clearing the last-year Shenanigans. ~~(I love Internship)~~
belnolight added reference fix/native-deno-runtime 2026-10-07 13:20:32 +07:00
Author
Owner

Confirmed: it reduce package size a lot (90MB+)

image.png
Confirmed: it reduce package size a lot (90MB+) <img width="385" alt="image.png" src="attachments/ce59d57a-4656-4cd0-8778-e76365154572">
Author
Owner

Work on my install, waiting for more test.
image.png

Work on my install, waiting for more test. <img width="1123" alt="image.png" src="attachments/23409db9-012b-44d4-a2fd-21523b119838">
266 KiB
Author
Owner

Confirmed : Worked on newly-installed VM, pushing to main!

image.png

Confirmed : Worked on newly-installed VM, pushing to main! ![image.png](attachments/e651a873-d700-493a-b62c-1764953d02bc)
123 KiB
Author
Owner

Now it fixed!

Now it fixed!
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iusearchbtw/line-gtk#1