[PR #10139] [MERGED] Fix debian/ubuntu arm64 build error,runtime argument missing #12170

Closed
opened 2025-12-22 09:08:56 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/10139
Author: @FantasyGmm
Created: 8/22/2023
Status: Merged
Merged: 8/25/2023
Merged by: @cvium

Base: masterHead: master


📝 Commits (1)

  • 7e46d6b fix debian/ubuntu arm64 build error,runtime argument missing

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 debian/rules (+4 -0)

📄 Description

I tried to compile on Rock 5B, but it`s fail

log:

make[1]: Entering directory '/root/jellyfin'
dotnet publish -maxcpucount:1 --configuration Release --output='/root/jellyfin/usr/lib/jellyfin/bin' --self-contained --runtime  \
        -p:DebugSymbols=false -p:DebugType=none Jellyfin.Server
Required argument missing for option: --runtime

I checked the build script and found that it used arch to obtain the architecture. However, on the Armbian system, he returned aarch64 instead of the existing arm64 in the script, which resulted in the runtime missing parameters

root@rock-5b:~/jellyfin# arch
aarch64
root@rock-5b:~/jellyfin# neofetch
                                 root@rock-5b
                                 ------------
      █ █ █ █ █ █ █ █ █ █ █      OS: Armbian (23.08.0-trunk) aarch64
     ███████████████████████     Host: Radxa ROCK 5B
   ▄▄██                   ██▄▄   Kernel: 5.10.160-legacy-rk35xx
   ▄▄██    ███████████    ██▄▄   Uptime: 2 hours, 27 mins
   ▄▄██   ██         ██   ██▄▄   Packages: 1444 (dpkg)
   ▄▄██   ██         ██   ██▄▄   Shell: bash 5.1.16
   ▄▄██   ██         ██   ██▄▄   Terminal: /dev/pts/0
   ▄▄██   █████████████   ██▄▄   CPU: (8) @ 1.800GHz
   ▄▄██   ██         ██   ██▄▄   Memory: 1695MiB / 7688MiB
   ▄▄██   ██         ██   ██▄▄
   ▄▄██   ██         ██   ██▄▄
   ▄▄██                   ██▄▄
     ███████████████████████
      █ █ █ █ █ █ █ █ █ █ █


Changes
I added the judgment for aarch64 in the debian/rules file


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/10139 **Author:** [@FantasyGmm](https://github.com/FantasyGmm) **Created:** 8/22/2023 **Status:** ✅ Merged **Merged:** 8/25/2023 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`7e46d6b`](https://github.com/jellyfin/jellyfin/commit/7e46d6bcc75bbca9462d31694e814b52491308e5) fix debian/ubuntu arm64 build error,runtime argument missing ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `debian/rules` (+4 -0) </details> ### 📄 Description I tried to compile on Rock 5B, but it`s fail log: ```bash make[1]: Entering directory '/root/jellyfin' dotnet publish -maxcpucount:1 --configuration Release --output='/root/jellyfin/usr/lib/jellyfin/bin' --self-contained --runtime \ -p:DebugSymbols=false -p:DebugType=none Jellyfin.Server Required argument missing for option: --runtime ``` I checked the build script and found that it used arch to obtain the architecture. However, on the Armbian system, he returned aarch64 instead of the existing arm64 in the script, which resulted in the runtime missing parameters ```bash root@rock-5b:~/jellyfin# arch aarch64 root@rock-5b:~/jellyfin# neofetch root@rock-5b ------------ █ █ █ █ █ █ █ █ █ █ █ OS: Armbian (23.08.0-trunk) aarch64 ███████████████████████ Host: Radxa ROCK 5B ▄▄██ ██▄▄ Kernel: 5.10.160-legacy-rk35xx ▄▄██ ███████████ ██▄▄ Uptime: 2 hours, 27 mins ▄▄██ ██ ██ ██▄▄ Packages: 1444 (dpkg) ▄▄██ ██ ██ ██▄▄ Shell: bash 5.1.16 ▄▄██ ██ ██ ██▄▄ Terminal: /dev/pts/0 ▄▄██ █████████████ ██▄▄ CPU: (8) @ 1.800GHz ▄▄██ ██ ██ ██▄▄ Memory: 1695MiB / 7688MiB ▄▄██ ██ ██ ██▄▄ ▄▄██ ██ ██ ██▄▄ ▄▄██ ██▄▄ ███████████████████████ █ █ █ █ █ █ █ █ █ █ █ ``` **Changes** I added the judgment for aarch64 in the debian/rules file --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:08:56 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#12170
No description provided.