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

Fix debian/ubuntu arm64 build error,runtime argument missing #10139

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

FantasyGmm
Copy link
Contributor

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

@FantasyGmm FantasyGmm changed the title fix debian/ubuntu arm64 build error,runtime argument missing Fix debian/ubuntu arm64 build error,runtime argument missing Aug 25, 2023
@cvium cvium merged commit 3ee1141 into jellyfin:master Aug 25, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants