package fails to build as the prepare function still has the line "git apply -3 ../0003-libav-Fix-compatibility-with-ffmpeg-7.patch" which is a patch that is no longer included in the package and is no longer needed.
Search Criteria
Package Details: lib32-gst-libav 1.24.10-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/lib32-gst-bad-ugly.git (read-only, click to copy) |
---|---|
Package Base: | lib32-gst-bad-ugly |
Description: | Multimedia graph framework (32-bit) - libav plugin |
Upstream URL: | https://gstreamer.freedesktop.org/ |
Licenses: | LGPL |
Provides: | lib32-gst-ffmpeg |
Replaces: | lib32-gst-libav-latest |
Submitter: | ahmubashshir |
Maintainer: | ahmubashshir (MarsSeed) |
Last Packager: | ahmubashshir |
Votes: | 50 |
Popularity: | 1.77 |
First Submitted: | 2023-01-07 17:47 (UTC) |
Last Updated: | 2024-12-16 06:56 (UTC) |
Dependencies (75)
- lib32-ffmpegAUR
- lib32-gst-plugins-base-libs (lib32-gst-plugins-base-libs-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- glib2-devel (make)
- lib32-a52decAUR (make)
- lib32-aomAUR (make)
- lib32-bluez-libsAUR (make)
- lib32-bzip2 (make)
- lib32-curl (make)
- lib32-faacAUR (make)
- lib32-faad2AUR (make)
- lib32-ffmpegAUR (make)
- lib32-fluidsynth (make)
- lib32-gst-plugins-base (lib32-gst-plugins-base-gitAUR) (make)
- lib32-gst-plugins-base-libs (lib32-gst-plugins-base-libs-gitAUR) (make)
- lib32-gst-plugins-good (lib32-gst-plugins-good-gitAUR) (make)
- lib32-gstreamer (lib32-gstreamer-gitAUR) (make)
- lib32-gtk3 (make)
- lib32-json-glib (make)
- lib32-ladspa (make)
- lib32-lcms2 (make)
- lib32-libassAUR (make)
- lib32-libavtp (make)
- lib32-libbs2bAUR (make)
- lib32-libcdioAUR (make)
- lib32-libdc1394AUR (make)
- lib32-libdcaAUR (make)
- lib32-libde265AUR (make)
- lib32-libdrm (lib32-libdrm-gitAUR) (make)
- lib32-libdvdnavAUR (make)
- lib32-libdvdreadAUR (make)
- lib32-libfdk-aacAUR (make)
- lib32-libgmeAUR (make)
- lib32-libgudev (make)
- lib32-liblrdfAUR (make)
- lib32-libmodplug (make)
- lib32-libmpcdecAUR (make)
- lib32-libmpeg2AUR (make)
- lib32-librsvg (make)
- lib32-libsndfile (make)
- lib32-libsrtpAUR (make)
- lib32-libusb (make)
- lib32-libwebp (make)
- lib32-libx11 (make)
- lib32-libxcb (lib32-libxcb-gitAUR) (make)
- lib32-libxkbcommon-x11 (make)
- lib32-libxml2 (make)
- lib32-lilvAUR (make)
- lib32-lv2AUR (make)
- lib32-neonAUR (make)
- lib32-nettle (make)
- lib32-openal (make)
- lib32-opencore-amrAUR (make)
- lib32-openssl (make)
- lib32-opus (make)
- lib32-orc (make)
- lib32-pango (make)
- lib32-rtmpdumpAUR (make)
- lib32-sbcAUR (make)
- lib32-shadercAUR (make)
- lib32-soundtouchAUR (make)
- lib32-srtAUR (make)
- lib32-vulkan-icd-loader (lib32-vulkan-icd-loader-gitAUR) (make)
- lib32-vulkan-validation-layers (lib32-vulkan-validation-layers-gitAUR) (make)
- lib32-wayland (make)
- lib32-wildmidiAUR (make)
- lib32-x264AUR (make)
- lib32-x265AUR (make)
- lib32-zvbiAUR (make)
- libltc (make)
- meson (meson-gitAUR) (make)
- python-packaging (make)
- vulkan-headers (vulkan-headers-gitAUR) (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR) (check)
Required by (1)
- wine-osu-spectator (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 22 Next › Last »
silverhikari commented on 2024-08-18 18:52 (UTC)
zwastik commented on 2024-08-18 18:11 (UTC)
Also, does this mean these packages were previously on the official repos and got moved to the aur?
makepkg -fsriC --needed
==> Making package: lib32-gst-plugins-bad 1.18.5-2 (Sun 18 Aug 2024 02:07:58 PM -04)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for user:
error: target not found: lib32-chromaprint
error: target not found: lib32-libkate
error: target not found: lib32-libmms
error: target not found: lib32-libmpcdec
error: target not found: lib32-libnice
error: target not found: lib32-libofa
error: target not found: lib32-lilv
error: target not found: lib32-mjpegtools
error: target not found: lib32-spandsp
error: target not found: lib32-webrtc-audio-processing
error: target not found: lib32-zbar
error: target not found: lib32-zvbi
==> ERROR: 'pacman' failed to install missing dependencies.
zwastik commented on 2024-08-18 18:04 (UTC)
@gfurst what is the proper url? I get error 404
gfurst commented on 2024-08-18 14:37 (UTC) (edited on 2024-08-18 14:39 (UTC) by gfurst)
Ok, this was a nightmarish thing to take on, but I managed to build every other dependency over this package, had to manually go about and pre-install most of them.
But actually building the package it self fails in the preliminary checks, got the patch from below but still fails at:
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctions.c' with conflicts.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsplugin.c' cleanly.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsplugin.h' with conflicts.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsriff.c' cleanly.
Applied patch to 'subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsstartwith.c' with conflicts.
U subprojects/gst-libav/ext/libav/gstavauddec.c
U subprojects/gst-libav/ext/libav/gstavcodecmap.c
U subprojects/gst-libav/ext/libav/gstavviddec.c
U subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctions.c
U subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsplugin.h
U subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctionsstartwith.c
==> ERROR: A failure occurred in prepare().
Aborting...
No clear reason why.
@zwastik you need to download the patch below manually and add it to PKGBUILD (plus SHA256 sum).
zwastik commented on 2024-08-18 02:02 (UTC)
==> ERROR: Failure while downloading https://gitlab.archlinux.org/archlinux/packaging/packages/gstreamer/-/raw/main/
0002-libav-Fix-compatibility-with-ffmpeg-7.patch
ahmubashshir commented on 2024-07-06 12:31 (UTC)
Guys, lib32-x265 is outdated, so the build is failing.
Jaska commented on 2024-07-02 21:02 (UTC)
@zepar Thanks, the patch also worked for me.
also adding the compiler flag to the meson options fixed the other error for me -D c_args="-Wno-error=incompatible-pointer-types"
zepar commented on 2024-06-27 13:12 (UTC)
@NeWolf to bypass that error i added this to the PKGBUILD:
export CFLAGS="${CFLAGS} -Wno-error=incompatible-pointer-types"
I'm now using the patch below and seems that line is no longer nedded:
NeWolf commented on 2024-06-27 10:55 (UTC) (edited on 2024-06-27 10:55 (UTC) by NeWolf)
package fails to build with this error
[1092/1461] Compiling C object subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o
FAILED: subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o
gcc -m32 -Isubprojects/gst-libav/ext/libav/libgstlibav.so.p -Isubprojects/gst-libav/ext/libav -I../gstreamer/subprojects/gst-libav/ext/libav -Isubprojects/gst-libav -I../gstreamer/subprojects/gst-libav -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -fno-strict-aliasing -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Waggregate-return -Wvla -Wpointer-arith -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o -MF subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o.d -o subprojects/gst-libav/ext/libav/libgstlibav.so.p/gstavprotocol.c.o -c ../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c
../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c: In function ‘gst_ffmpegdata_open’:
../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c:272:28: error: passing argument 6 of ‘avio_alloc_context’ from incompatible pointer type [-Wincompatible-pointer-types]
272 | gst_ffmpegdata_read, gst_ffmpegdata_write, gst_ffmpegdata_seek);
| ^~~~~~~~~~~~~~~~~~~~
| |
| int (*)(void *, uint8_t *, int) {aka int (*)(void *, unsigned char *, int)}
In file included from /usr/include/libavformat/avformat.h:319,
from ../gstreamer/subprojects/gst-libav/ext/libav/gstavprotocol.c:27:
/usr/include/libavformat/avio.h:404:25: note: expected ‘int (*)(void *, const uint8_t *, int)’ {aka ‘int (*)(void *, const unsigned char *, int)’} but argument is of type ‘int (*)(void *, uint8_t *, int)’ {aka ‘int (*)(void *, unsigned char *, int)’}
404 | int (*write_packet)(void *opaque, const uint8_t *buf, int buf_size),
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1101/1461] Compiling C object subprojects/gst-plugin...tests/check/elements_dash_mpd.p/elements_dash_mpd.c.o
In file included from ../gstreamer/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c:52:
../gstreamer/subprojects/gst-plugins-bad/tests/check/elements/dash_mpd.c:6012:17: warning: ‘dash_mpdparser_xlink_period’ defined but not used [-Wunused-function]
6012 | GST_START_TEST (dash_mpdparser_xlink_period)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gstreamer-1.0/gst/check/gstcheck.h:240:13: note: in definition of macro ‘GST_START_TEST’
240 | static void __testname (int G_GNUC_UNUSED __i__) \
| ^~~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
zepar commented on 2024-06-26 03:33 (UTC)
I was able to build using version 1.24.5 and applying the patch that is on github link that Jaska provided (https://github.com/OpenMandrivaAssociation/gst-libav/blob/master/6505.diff)
Pinned Comments
ahmubashshir commented on 2023-11-18 14:43 (UTC) (edited on 2023-11-18 14:44 (UTC) by ahmubashshir)
If you have any improvements/suggestions for the pkgbuilds I maintain, please create an issue/pr on github.com/ahmubashshir/pkgbuilds or send the patches to ahmubashshir+pkgbuilds@gmail.com
p.s. sorry for being late, I was busy with my mid and part-time job last three months... it was truly chaotic...