-
Notifications
You must be signed in to change notification settings - Fork 41
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
Can't build from source for Kodi 21 on Arch #250
Comments
How are you compiling the code? --- /tmp/makepkg.conf 2023-05-19 18:45:31.000000000 -0400
+++ /etc/makepkg.conf 2023-09-08 22:19:40.401643967 -0400
@@ -33,21 +33,21 @@
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
- -fstack-clash-protection -fcf-protection"
+ -fstack-clash-protection -fcf-protection -flto"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"
#RUSTFLAGS="-C opt-level=2"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
#DEBUG_RUSTFLAGS="-C debuginfo=2" |
I've tried the AUR package with -fltio as well just before trying building from source. Failed. partial.cli.log posted above shows building from source failing. |
Tried again with Kodi Omega Alpha 3 on Arch. Building from source still has errors -kept -flto just in case: |
Essentially, a patch is needed for FFmpeg, or a downgrade for binutils. Developers of binutils argue that this is not a BUG, but a feature of the version. |
Can you make a PKGBUILD for Omega?| |
It's not particularly difficult, but it requires some time. However, where is the PKGBUILD for the Omega branch of Kodi obtained from? |
If you have installed kodi-git in Arch, this -if corrected-, should install the Omega version: kodi-git binary available from Chaotic-AUR: |
Hi, I just submited the Omega version package to AUR This includes check and comments about broken built for aarch64 architecture, and is for Omega branch. It works well on my system (RPi 4). Please test and tell me if all is well. Kind regards. |
Removed all Kodi files, installed just kodi-git from Chaotic-AUR, then kodi-addon-inputstream-ffmpegdirect-git gave me:
|
On which system are you building ? Mine is working on aarch64 RPi4, but indeed I got the same issue when building on my x86_64 system.. It seems to be an issue with binutil > 2.41. Let me try to figure out how to fix this.. |
I tend to downgrade binutils, build, then you can upgrade it again. |
This is what i have now building for Omega on Arch, any way to fix the issue? Thanks |
Are you trying to build the latest version of this addon? |
same issue: #299 |
I forgot to mention that Kodi loving peeps -at least on Arch Linux-, may just use the Flatpak version, binaries are already embedded, everything works ok. |
See partial cli.log below.
partial.cli.log
The text was updated successfully, but these errors were encountered: