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

DOTNETRUNTIME isn't being set to debian-arch64 if the system's arch is aarch64 #6619

Closed
CactiChameleon9 opened this issue Sep 27, 2021 · 6 comments
Assignees
Labels
bug Something isn't working stale Stale and will be closed if no activity occurs

Comments

@CactiChameleon9
Copy link

CactiChameleon9 commented Sep 27, 2021

Describe the bug
DOTNETRUNTIME isn't being set to debian-arch64 if the system's arch is aarch64, meaning the build fails with an unhelpful lists of errors since --runtime is being set to nothing

System (please complete the following information):

  • OS: Debian
  • Jellyfin Version: 837d8fe

To Reproduce
Try to build jellyfin debian arm64 on a raspberry pi 4

Expected behavior
It should build with minimal issues

Build error:

root@DietPiServer:/tmp/jellyfin# ./build --type native -p debian.arm64
+ pushd /tmp/jellyfin
/tmp/jellyfin /tmp/jellyfin
+ cp -a debian/control /tmp/control.orig
+ sed -i /dotnet-sdk-6.0,/d debian/control
+ [[ '' == \y\e\s ]]
+ export CONFIG_SITE=/etc/dpkg-cross/cross-config.
+ CONFIG_SITE=/etc/dpkg-cross/cross-config.
+ dpkg-buildpackage -us -uc -a arm64 --pre-clean --post-clean
dpkg-buildpackage: info: source package jellyfin-server
dpkg-buildpackage: info: source version 10.8.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Jellyfin Packaging Team <packaging@jellyfin.org>
dpkg-buildpackage: info: host architecture arm64
 dpkg-source --before-build .
dpkg-source: info: using options from jellyfin/debian/source/options: --tar-ignore=.git* --tar-ignore=**/.git --tar-ignore=**/.hg --tar-ignore=**/.vs --tar-ignore=**/.vscode --tar-ignore=deployment --tar-ignore=**/bin --tar-ignore=**/obj --tar-ignore=**/.nuget --tar-ignore=*.deb --tar-ignore=ThirdParty
 debian/rules clean
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 8 in use)
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/tmp/jellyfin'
dotnet clean -maxcpucount:1 --configuration Release Jellyfin.Server || true

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.100-rc.1.21463.6

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 17.0.0-preview-21460-01+8f208e609 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 09/27/2021 07:00:21.
Project "/tmp/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj" on node 1 (Clean target(s)).
_CheckForNETCoreSdkIsPreview:
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj" (1) is building "/tmp/jellyfin/Emby.Drawing/Emby.Drawing.csproj" (2:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/Emby.Drawing/Emby.Drawing.csproj" (2:2) is building "/tmp/jellyfin/MediaBrowser.Model/MediaBrowser.Model.csproj" (6:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/MediaBrowser.Model/MediaBrowser.Model.csproj" (6:2) is building "/tmp/jellyfin/Jellyfin.Data/Jellyfin.Data.csproj" (9:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/Jellyfin.Data/Jellyfin.Data.csproj" (Clean target(s)).
Project "/tmp/jellyfin/MediaBrowser.Model/MediaBrowser.Model.csproj" (6:2) is building "/tmp/jellyfin/src/Jellyfin.Extensions/Jellyfin.Extensions.csproj" (10:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/src/Jellyfin.Extensions/Jellyfin.Extensions.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/MediaBrowser.Model/MediaBrowser.Model.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Drawing/Emby.Drawing.csproj" (2:2) is building "/tmp/jellyfin/MediaBrowser.Controller/MediaBrowser.Controller.csproj" (7:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/MediaBrowser.Controller/MediaBrowser.Controller.csproj" (7:2) is building "/tmp/jellyfin/Emby.Naming/Emby.Naming.csproj" (11:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/Emby.Naming/Emby.Naming.csproj" (11:2) is building "/tmp/jellyfin/MediaBrowser.Common/MediaBrowser.Common.csproj" (8:4) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/MediaBrowser.Common/MediaBrowser.Common.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/Emby.Naming/Emby.Naming.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/MediaBrowser.Controller/MediaBrowser.Controller.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/Emby.Drawing/Emby.Drawing.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj" (1) is building "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/Emby.Notifications/Emby.Notifications.csproj" (12:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/Emby.Notifications/Emby.Notifications.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/Jellyfin.Api/Jellyfin.Api.csproj" (13:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/Jellyfin.Api/Jellyfin.Api.csproj" (13:2) is building "/tmp/jellyfin/Emby.Dlna/Emby.Dlna.csproj" (16:3) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/Emby.Dlna/Emby.Dlna.csproj" (16:3) is building "/tmp/jellyfin/RSSDP/RSSDP.csproj" (20:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/RSSDP/RSSDP.csproj" (20:2) is building "/tmp/jellyfin/Jellyfin.Networking/Jellyfin.Networking.csproj" (21:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/Jellyfin.Networking/Jellyfin.Networking.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/RSSDP/RSSDP.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/Emby.Dlna/Emby.Dlna.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/Jellyfin.Api/Jellyfin.Api.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj" (5:3) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/MediaBrowser.Providers/MediaBrowser.Providers.csproj" (14:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Project "/tmp/jellyfin/MediaBrowser.Providers/MediaBrowser.Providers.csproj" (14:2) is building "/tmp/jellyfin/DvdLib/DvdLib.csproj" (22:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/DvdLib/DvdLib.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/MediaBrowser.Providers/MediaBrowser.Providers.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj" (15:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj" (17:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/Emby.Photos/Emby.Photos.csproj" (18:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/Emby.Photos/Emby.Photos.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (3:2) is building "/tmp/jellyfin/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj" (19:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj" (Clean target(s)).
Project "/tmp/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj" (1) is building "/tmp/jellyfin/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj" (4:2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "obj/Release/net6.0/".
Done Building Project "/tmp/jellyfin/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj" (Clean target(s)).
Done Building Project "/tmp/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj" (Clean target(s)).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:06.67
rm -rf '/tmp/jellyfin/usr'
make[1]: Leaving directory '/tmp/jellyfin'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f debian/jellyfin-server.debhelper.log
dh_clean: warning: Compatibility levels before 10 are deprecated (level 8 in use)
	rm -f -- debian/jellyfin-server.substvars debian/files
	rm -fr -- debian/jellyfin-server/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
 dpkg-source -b .
dpkg-source: info: using options from jellyfin/debian/source/options: --tar-ignore=.git* --tar-ignore=**/.git --tar-ignore=**/.hg --tar-ignore=**/.vs --tar-ignore=**/.vscode --tar-ignore=deployment --tar-ignore=**/bin --tar-ignore=**/obj --tar-ignore=**/.nuget --tar-ignore=*.deb --tar-ignore=ThirdParty
dpkg-source: info: using source format '1.0'
dpkg-source: warning: native package version may not have a revision
dpkg-source: warning: source directory 'jellyfin' is not <sourcepackage>-<upstreamversion> 'jellyfin-server-10.8.0'
dpkg-source: info: building jellyfin-server in jellyfin-server_10.8.0-1.tar.gz
dpkg-source: info: building jellyfin-server in jellyfin-server_10.8.0-1.dsc
 debian/rules build
make: 'build' is up to date.
 debian/rules binary
dh binary
dh: warning: Compatibility levels before 10 are deprecated (level 8 in use)
   dh_update_autotools_config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/tmp/jellyfin'
dotnet publish -maxcpucount:1 --configuration Release --output='/tmp/jellyfin/usr/lib/jellyfin/bin' --self-contained --runtime  \
	"-p:DebugSymbols=false;DebugType=none" Jellyfin.Server
Microsoft (R) Build Engine version 17.0.0-preview-21460-01+8f208e609 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Emby.Drawing/Emby.Drawing.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Emby.Server.Implementations/Emby.Server.Implementations.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Jellyfin.Drawing.Skia/Jellyfin.Drawing.Skia.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/MediaBrowser.Model/MediaBrowser.Model.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/MediaBrowser.Controller/MediaBrowser.Controller.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/MediaBrowser.Common/MediaBrowser.Common.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Jellyfin.Data/Jellyfin.Data.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/src/Jellyfin.Extensions/Jellyfin.Extensions.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Emby.Naming/Emby.Naming.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Emby.Notifications/Emby.Notifications.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Jellyfin.Api/Jellyfin.Api.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/MediaBrowser.Providers/MediaBrowser.Providers.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Emby.Dlna/Emby.Dlna.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Emby.Photos/Emby.Photos.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/RSSDP/RSSDP.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Jellyfin.Networking/Jellyfin.Networking.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/DvdLib/DvdLib.csproj]
/root/dotnet/sdk/6.0.100-rc.1.21463.6/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier '-p:DebugSymbols=false' is not recognized. [/tmp/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj]
make[1]: *** [debian/rules:42: override_dh_auto_build] Error 1
make[1]: Leaving directory '/tmp/jellyfin'
make: *** [debian/rules:33: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
root@DietPiServer:/tmp/jellyfin# 
@CactiChameleon9 CactiChameleon9 added the bug Something isn't working label Sep 27, 2021
@CactiChameleon9 CactiChameleon9 changed the title DOTNETRUNTIME isn't being set to debian-arch64 if the system's arch is arch64 DOTNETRUNTIME isn't being set to debian-arch64 if the system's arch is aarch64 Sep 27, 2021
@joshuaboniface joshuaboniface self-assigned this Sep 27, 2021
@jellyfin-bot
Copy link
Contributor

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot jellyfin-bot added the stale Stale and will be closed if no activity occurs label Jan 28, 2022
@CactiChameleon9
Copy link
Author

I am no longer able to easily test this, however I assume the issue hasn't been fixed since the issue hasn't been closed. @joshuaboniface did you ever get to look at this?

@jellyfin-bot jellyfin-bot removed the stale Stale and will be closed if no activity occurs label Feb 4, 2022
@jiangcuo
Copy link

modfiy debian/rules
`
ifeq ($(HOST_ARCH),armv7l)
# Building ARM
DOTNETRUNTIME := debian-arm
endif
ifeq ($(HOST_ARCH),arm64)
# Building ARM
DOTNETRUNTIME := debian-arm64
endif

++ifeq ($(HOST_ARCH),aarch64)
++ # Building ARM
++ DOTNETRUNTIME := debian-arm64
++endif

export DH_VERBOSE=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
`

@jellyfin-bot
Copy link
Contributor

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot jellyfin-bot added the stale Stale and will be closed if no activity occurs label Oct 7, 2023
@jellyfin-bot
Copy link
Contributor

This issue was closed due to inactivity.

@jellyfin-bot jellyfin-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2023
@cvium
Copy link
Member

cvium commented Oct 29, 2023

This was fixed by #10139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Stale and will be closed if no activity occurs
Projects
Status: Needs triage
Archived in project
Development

No branches or pull requests

5 participants