i get same error in same place as nfs and spontex commented. arch stock currently updated to everything current.
Search Criteria
Package Details: kodi-addon-inputstream-ffmpegdirect 21.3.5-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/kodi-addon-inputstream-ffmpegdirect.git (read-only, click to copy) |
---|---|
Package Base: | kodi-addon-inputstream-ffmpegdirect |
Description: | Inputstream ffmpegdirect kodi plugin |
Upstream URL: | https://github.com/xbmc/inputstream.ffmpegdirect |
Keywords: | addon arm AUR kodi |
Licenses: | GPL |
Groups: | kodi |
Provides: | kodi-addon-inputstream-ffmpegdirect |
Submitter: | ivanich |
Maintainer: | ivanich |
Last Packager: | ivanich |
Votes: | 8 |
Popularity: | 0.024614 |
First Submitted: | 2021-02-21 20:51 (UTC) |
Last Updated: | 2024-04-16 18:19 (UTC) |
Dependencies (5)
- kodi (kodi-ext-gitAUR, kodi-gles)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- kodi-dev (kodi-ext-git-devAUR, kodi-stable-git-devAUR, kodi-git-devAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
Required by (1)
Sources (1)
glenb77 commented on 2024-04-01 22:57 (UTC)
nfs commented on 2024-03-29 23:18 (UTC)
I am running an up-to-date system using the Arch-zen kernel and the KDE Plasma desktop environment.
Running makepkg -sr on the PKGBUILD fails just like it did for spontex with an error and a message:
ERROR: gnutls not found using pkg-config
gnutls is installed on my machine, so it seems pkg-config isn't working right
spontex commented on 2024-03-25 19:17 (UTC) (edited on 2024-03-25 19:21 (UTC) by spontex)
yay -S kodi-addon-inputstream-ffmpegdirect
under EndeavourOS gives the following error:
[ 88%] Performing build step for 'ffmpeg'
[ 12%] Creating directories for 'ffmpeg'
[ 25%] No download step for 'ffmpeg'
[ 37%] No update step for 'ffmpeg'
[ 50%] No patch step for 'ffmpeg'
[ 62%] Performing configure step for 'ffmpeg'
ERROR: gnutls not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
make[5]: *** [CMakeFiles/ffmpeg.dir/build.make:92: ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-configure] Error 1
make[4]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ffmpeg.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/ffmpeg.dir/build.make:86: build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:220: CMakeFiles/ffmpeg.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERREUR : Une erreur s’est produite dans build().
Abandon…
-> erreur lors de la construction : kodi-addon-inputstream-ffmpegdirect-exit status 4
-> Impossible d’installer les paquets suivants. Une intervention manuelle est requise :
kodi-addon-inputstream-ffmpegdirect - exit status 4
Can anybody help me about that? (also tracked here)
20mark commented on 2024-02-02 17:17 (UTC) (edited on 2024-02-02 17:25 (UTC) by 20mark)
Hello, i can't seem to compile the package, i have the error:
src/libavcodec/x86/mathops.h: Assembler messages:
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
make[6]: *** [/home/marco/.cache/yay/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-20.5.0-Nexus/build/build/ffmpeg/src/ffmpeg/ffbuild/common.mak:67: libavformat/adtsenc.o] Error 1
make[5]: *** [CMakeFiles/ffmpeg.dir/build.make:86: ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[4]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ffmpeg.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/ffmpeg.dir/build.make:86: build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:220: CMakeFiles/ffmpeg.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
-> errore durante la creazione: kodi-addon-inputstream-ffmpegdirect-exit status 4
Also, i cant seem to apply patch sugested by ollikaa in yay. any help?
ollikaa commented on 2024-01-22 23:02 (UTC)
Thx @icedream for your link with the relating issue. I was able to edit the corresponding lines in mathops.h Direct Link to the fix is here: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=effadce6c756247ea8bae32dc13bb3e6f464f0eb
opengk commented on 2024-01-05 14:06 (UTC) (edited on 2024-01-05 14:09 (UTC) by opengk)
FYI, I created the same package for the Kodi Omega release here : https://aur.archlinux.org/packages/kodi-addon-inputstream-ffmpegdirect-git
I introduced kind of a test on lto to warn users it should be used with aarch64 architecture.
Just added you as a contributor as I started from your PKGBUILD.
icedream commented on 2023-11-15 23:48 (UTC) (edited on 2023-11-15 23:48 (UTC) by icedream)
Getting the same as @nfs and @asm0dey, digging further down in the logs those seem to be the relevant lines - I've seen that on builds of older ffmpeg versions before as it's a known issue (https://fftrac-bg.ffmpeg.org/ticket/10405) and there is a commit/fix in newer versions:
CC libavformat/adtsenc.o
src/libavcodec/x86/mathops.h: Assembler messages:
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
make[6]: *** [/home/icedream/.cache/yay/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-20.5.0-Nexus/build/build/ffmpeg/src/ffmpeg/ffbuild/common.mak:67: libavformat/adtsenc.o] Error 1
gardotd426 commented on 2023-10-17 05:12 (UTC)
Slightly different error from what @asm0dey and @nfs were getting, but same result:
make[6]: *** [/home/matt/tmp/makepkg/kodi-addon-inputstream-ffmpegdirect/src/inputstream.ffmpegdirect-20.5.0-Nexus/build/build/ffmpeg/src/ffmpeg/ffbuild/common.mak:67: libavformat/av1.o] Error 1
src/libavformat/dv.c: In function ‘dv_extract_audio_info’:
src/libavformat/dv.c:264:13: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
264 | av_init_packet(&c->audio_pkt[i]);
| ^~~~~~~~~~~~~~
In file included from src/libavcodec/bsf.h:30,
from src/libavcodec/avcodec.h:44,
from src/libavformat/avformat.h:312,
from src/libavformat/dv.c:32:
src/libavcodec/packet.h:488:6: note: declared here
488 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
src/libavformat/dv.c: In function ‘avpriv_dv_produce_packet’:
src/libavformat/dv.c:407:5: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
407 | av_init_packet(pkt);
| ^~~~~~~~~~~~~~
src/libavcodec/packet.h:488:6: note: declared here
488 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
src/libavformat/dashenc.c: In function ‘dash_init’:
src/libavformat/dashenc.c:1568:65: warning: ‘-stream’ directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
1568 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.%s", basename, i, os->format_name);
| ^~~~~~~
src/libavformat/dashenc.c:1568:62: note: directive argument in the range [0, 2147483647]
1568 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.%s", basename, i, os->format_name);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from src/libavutil/common.h:38,
from src/libavutil/avutil.h:296,
from src/libavutil/avassert.h:31,
from src/libavformat/dashenc.c:28:
In function ‘snprintf’,
inlined from ‘dash_init’ at src/libavformat/dashenc.c:1568:17:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 1042) into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/libavformat/dashenc.c: In function ‘dash_init’:
src/libavformat/dashenc.c:1572:49: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
1572 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile);
| ^~
In function ‘snprintf’,
inlined from ‘dash_init’ at src/libavformat/dashenc.c:1572:9:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/libavformat/dashenc.c: In function ‘flush_init_segment’:
src/libavformat/dashenc.c:608:49: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
608 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile);
| ^~
In function ‘snprintf’,
inlined from ‘flush_init_segment’ at src/libavformat/dashenc.c:608:9:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/libavformat/dashenc.c: In function ‘write_hls_media_playlist’:
src/libavformat/dashenc.c:502:49: warning: ‘media_’ directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
502 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id);
| ^~~~~~
In function ‘snprintf’,
inlined from ‘get_hls_playlist_name’ at src/libavformat/dashenc.c:502:9,
inlined from ‘write_hls_media_playlist’ at src/libavformat/dashenc.c:538:5:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 13 and 1046 bytes into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/libavformat/dashenc.c: In function ‘dash_flush’:
src/libavformat/dashenc.c:1948:63: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
1948 | snprintf(os->full_path, sizeof(os->full_path), "%s%s", c->dirname, os->initfile);
| ^~
In function ‘snprintf’,
inlined from ‘dash_flush’ at src/libavformat/dashenc.c:1948:13:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/libavformat/dashenc.c: In function ‘dash_write_trailer’:
src/libavformat/dashenc.c:502:49: warning: ‘media_’ directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
502 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id);
| ^~~~~~
In function ‘get_hls_playlist_name’,
inlined from ‘dash_write_trailer’ at src/libavformat/dashenc.c:2300:17:
src/libavformat/dashenc.c:502:46: note: directive argument in the range [0, 2147483647]
502 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id);
| ^~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘get_hls_playlist_name’ at src/libavformat/dashenc.c:502:9,
inlined from ‘dash_write_trailer’ at src/libavformat/dashenc.c:2300:17:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 13 and 1045 bytes into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/libavformat/dashenc.c: In function ‘dash_write_packet’:
src/libavformat/dashenc.c:2242:59: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
2242 | snprintf(os->full_path, sizeof(os->full_path), "%s%s", c->dirname,
| ^~
In function ‘snprintf’,
inlined from ‘dash_write_packet’ at src/libavformat/dashenc.c:2242:9:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
STRIP libavfilter/x86/colorspacedsp.o
make[5]: *** [CMakeFiles/ffmpeg.dir/build.make:86: ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[4]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ffmpeg.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/ffmpeg.dir/build.make:86: build/ffmpeg/src/ffmpeg-stamp/ffmpeg-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:220: CMakeFiles/ffmpeg.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: kodi-addon-inputstream-ffmpegdirect-exit status 4
-> Failed to install the following packages. Manual intervention is required:
kodi-addon-inputstream-ffmpegdirect - exit status 4
asm0dey commented on 2023-10-13 21:58 (UTC)
Have the same as @nfs
Pinned Comments