Package Details: vlc-git 4.0.0.r31756.g76cd807c24-2

Git Clone URL: https://aur.archlinux.org/vlc-git.git (read-only, click to copy)
Package Base: vlc-git
Description: Multi-platform MPEG, VCD/DVD, and DivX player
Upstream URL: https://code.videolan.org/videolan/vlc
Licenses: GPL-2.0-or-later, LGPL-2.1-or-later
Conflicts: libvlc, vlc
Provides: libvlc, vlc
Submitter: None
Maintainer: xiota (knoelli)
Last Packager: xiota
Votes: 210
Popularity: 0.59
First Submitted: 2008-04-01 12:14 (UTC)
Last Updated: 2024-11-16 22:21 (UTC)

Required by (152)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 45 Next › Last »

tiziodcaio commented on 2022-06-02 11:49 (UTC) (edited on 2022-06-02 11:50 (UTC) by tiziodcaio)

I built the package! If you are interested here the new config

I downgraded to lua52 because lua54 support is at the moment not working... A guy is trying to support here

ronjouch commented on 2022-05-21 23:16 (UTC)

Clean build (nothing cached, first install) fails with this error:

/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-dialog.o: in function `vlclua_create_widget_inner':
/usr/src/debug/vlc/modules/lua/libs/dialog.c:599: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-dialog.o: in function `vlclua_dialog_create':
/usr/src/debug/vlc/modules/lua/libs/dialog.c:207: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-net.o: in function `vlclua_net_listen_tcp':
/usr/src/debug/vlc/modules/lua/libs/net.c:196: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-httpd.o: in function `vlclua_httpd_redirect_new':
/usr/src/debug/vlc/modules/lua/libs/httpd.c:351: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-httpd.o: in function `vlclua_httpd_tls_host_new':
/usr/src/debug/vlc/modules/lua/libs/httpd.c:92: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-httpd.o:/usr/src/debug/vlc/modules/lua/libs/httpd.c:215: more undefined references to `lua_newuserdata' follow
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-strings.o: in function `vlclua_convert_xml_special_chars':
/usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to `lua_remove'
/usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to `lua_remove'
/usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to `lua_remove'
/usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to `lua_remove'
/usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to `lua_remove'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-strings.o:/usr/src/debug/vlc/modules/lua/libs/strings.c:155: more undefined references to `lua_remove' follow
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-vlm.o: in function `vlclua_vlm_new':
/usr/src/debug/vlc/modules/lua/libs/vlm.c:59: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-xml.o: in function `vlclua_xml_create':
/usr/src/debug/vlc/modules/lua/libs/xml.c:52: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-xml.o: in function `vlclua_xml_create_reader':
/usr/src/debug/vlc/modules/lua/libs/xml.c:95: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-io.o: in function `vlclua_io_open':
/usr/src/debug/vlc/modules/lua/libs/io.c:196: undefined reference to `lua_newuserdata'
/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-renderers.o: in function `vlclua_rd_create':
/usr/src/debug/vlc/modules/lua/libs/renderers.c:173: undefined reference to `lua_newuserdata'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:19277: liblua_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/ronj/.cache/yay/vlc-git/src/vlc/modules'
make[3]: *** [Makefile:37224: all-recursive] Error 1
make[3]: Leaving directory '/home/ronj/.cache/yay/vlc-git/src/vlc/modules'
make[2]: *** [Makefile:15559: all] Error 2
make[2]: Leaving directory '/home/ronj/.cache/yay/vlc-git/src/vlc/modules'
make[1]: *** [Makefile:1614: all-recursive] Error 1
make[1]: Leaving directory '/home/ronj/.cache/yay/vlc-git/src/vlc'
make: *** [Makefile:1501: all] Error 2

nokangaroo commented on 2022-04-27 15:28 (UTC) (edited on 2022-04-27 15:35 (UTC) by nokangaroo)

Build fails with 'typeof' not declared in this scope

I had to use the following patch to fix this:

diff --git a/include/vlc_list.h b/include/vlc_list.h
index 6dc7e107fc..8166164697 100644
--- a/include/vlc_list.h
+++ b/include/vlc_list.h
@@ -23,6 +23,7 @@

 # include <stdalign.h>
 # include <stdbool.h>
+# define typeof(x) __typeof__(x)

 /**
  * \defgroup list Linked lists

Jhackler commented on 2022-04-21 23:30 (UTC)

also fails to build on my machine

harryharryharry commented on 2022-04-21 13:56 (UTC)

@andrewSC I'm getting a compile error during a clean build with yay on Arch linux:

  CXX      gui/qt/dialogs/open/libqt_plugin_la-openurl.lo
gui/qt/dialogs/extended/extended_panels.cpp: In member function ‘void ExtV4l2::Refresh()’:
gui/qt/dialogs/extended/extended_panels.cpp:628:51: warning: ‘vlc_object_t* vlc_player_GetV4l2Object(vlc_player_t*)’ is deprecated [-Wdeprecated-declarations]
  628 |     vlc_object_t *p_obj = vlc_player_GetV4l2Object(p_intf->p_player);
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./gui/qt/qt.hpp:32,
                 from gui/qt/dialogs/extended/extended_panels.hpp:33,
                 from gui/qt/dialogs/extended/extended_panels.cpp:47:
../include/vlc_player.h:928:1: note: declared here
  928 | vlc_player_GetV4l2Object(vlc_player_t *player) VLC_DEPRECATED;
      | ^~~~~~~~~~~~~~~~~~~~~~~~
gui/qt/dialogs/extended/extended_panels.cpp: In member function ‘void ExtV4l2::ValueChange(int)’:
gui/qt/dialogs/extended/extended_panels.cpp:790:51: warning: ‘vlc_object_t* vlc_player_GetV4l2Object(vlc_player_t*)’ is deprecated [-Wdeprecated-declarations]
  790 |     vlc_object_t *p_obj = vlc_player_GetV4l2Object(p_intf->p_player);
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ./gui/qt/qt.hpp:32,
                 from gui/qt/dialogs/extended/extended_panels.hpp:33,
                 from gui/qt/dialogs/extended/extended_panels.cpp:47:
../include/vlc_player.h:928:1: note: declared here
  928 | vlc_player_GetV4l2Object(vlc_player_t *player) VLC_DEPRECATED;
      | ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./gui/qt/qt.hpp:31,
                 from gui/qt/dialogs/mediainfo/info_panels.cpp:29:
gui/qt/dialogs/mediainfo/info_panels.cpp: In member function ‘void InfoPanel::update(input_item_t*)’:
../include/vlc_list.h:268:36: error: ‘typeof’ was not declared in this scope
  268 |                                    typeof (*(pos)), member), true); \
      |                                    ^~~~~~
../include/vlc_common.h:1144:7: note: in definition of macro ‘container_of’
 1144 |     ((type *)(((char *)(ptr)) - offsetof(type, member)))
      |       ^~~~
gui/qt/dialogs/mediainfo/info_panels.cpp:504:5: note: in expansion of macro ‘vlc_list_foreach’
  504 |     vlc_list_foreach(cat, &p_item->categories, node)
      |     ^~~~~~~~~~~~~~~~
../include/vlc_common.h:1144:13: error: expected primary-expression before ‘)’ token
 1144 |     ((type *)(((char *)(ptr)) - offsetof(type, member)))
      |             ^
../include/vlc_list.h:267:23: note: in expansion of macro ‘container_of’
  267 |           && ((pos) = container_of((vlc_list_it__##pos).current, \
      |                       ^~~~~~~~~~~~
gui/qt/dialogs/mediainfo/info_panels.cpp:504:5: note: in expansion of macro ‘vlc_list_foreach’
  504 |     vlc_list_foreach(cat, &p_item->categories, node)
      |     ^~~~~~~~~~~~~~~~
In file included from /usr/include/locale.h:28,
                 from /usr/include/c++/11.2.0/clocale:42,
                 from /usr/include/c++/11.2.0/x86_64-pc-linux-gnu/bits/c++locale.h:41,
                 from /usr/include/c++/11.2.0/bits/localefwd.h:40,
                 from /usr/include/c++/11.2.0/string:43,
                 from /usr/include/qt/QtCore/qbytearray.h:52,
                 from /usr/include/qt/QtCore/qstring.h:50,
                 from /usr/include/qt/QtCore/QString:1,
                 from ./gui/qt/qt.hpp:41,
                 from gui/qt/dialogs/mediainfo/info_panels.cpp:29:
../include/vlc_list.h:268:36: error: expected type-specifier before ‘typeof’
  268 |                                    typeof (*(pos)), member), true); \
      |                                    ^~~~~~
../include/vlc_list.h:267:23: note: in expansion of macro ‘container_of’
  267 |           && ((pos) = container_of((vlc_list_it__##pos).current, \
      |                       ^~~~~~~~~~~~
gui/qt/dialogs/mediainfo/info_panels.cpp:504:5: note: in expansion of macro ‘vlc_list_foreach’
  504 |     vlc_list_foreach(cat, &p_item->categories, node)
      |     ^~~~~~~~~~~~~~~~
../include/vlc_list.h:268:36: error: expected ‘,’ before ‘typeof’
  268 |                                    typeof (*(pos)), member), true); \
      |                                    ^~~~~~
../include/vlc_list.h:267:23: note: in expansion of macro ‘container_of’
  267 |           && ((pos) = container_of((vlc_list_it__##pos).current, \
      |                       ^~~~~~~~~~~~
gui/qt/dialogs/mediainfo/info_panels.cpp:504:5: note: in expansion of macro ‘vlc_list_foreach’
  504 |     vlc_list_foreach(cat, &p_item->categories, node)
      |     ^~~~~~~~~~~~~~~~
../include/vlc_list.h:268:43: error: expected ‘)’ before ‘(’ token
  268 |                                    typeof (*(pos)), member), true); \
      |                                           ^
../include/vlc_list.h:267:23: note: in expansion of macro ‘container_of’
  267 |           && ((pos) = container_of((vlc_list_it__##pos).current, \
      |                       ^~~~~~~~~~~~
gui/qt/dialogs/mediainfo/info_panels.cpp:504:5: note: in expansion of macro ‘vlc_list_foreach’
  504 |     vlc_list_foreach(cat, &p_item->categories, node)
      |     ^~~~~~~~~~~~~~~~
../include/vlc_common.h:1144:33: note: to match this ‘(’
 1144 |     ((type *)(((char *)(ptr)) - offsetof(type, member)))
      |                                 ^~~~~~~~
../include/vlc_list.h:267:23: note: in expansion of macro ‘container_of’
  267 |           && ((pos) = container_of((vlc_list_it__##pos).current, \
      |                       ^~~~~~~~~~~~
gui/qt/dialogs/mediainfo/info_panels.cpp:504:5: note: in expansion of macro ‘vlc_list_foreach’
  504 |     vlc_list_foreach(cat, &p_item->categories, node)
      |     ^~~~~~~~~~~~~~~~
make[4]: *** [Makefile:31166: gui/qt/dialogs/mediainfo/libqt_plugin_la-info_panels.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
gui/qt/dialogs/open/open_panels.cpp:150:2: warning: #warning Qt open_panels should use a more sustainable way to customize FileDialogBox [-Wcpp]
  150 | #warning Qt open_panels should use a more sustainable way to customize FileDialogBox
      |  ^~~~~~~
make[4]: Leaving directory '/mnt/DATA/home/harry/.cache/yay/vlc-git/src/vlc/modules'
make[3]: *** [Makefile:37094: all-recursive] Error 1
make[3]: Leaving directory '/mnt/DATA/home/harry/.cache/yay/vlc-git/src/vlc/modules'
make[2]: *** [Makefile:15528: all] Error 2
make[2]: Leaving directory '/mnt/DATA/home/harry/.cache/yay/vlc-git/src/vlc/modules'
make[1]: *** [Makefile:1615: all-recursive] Error 1
make[1]: Leaving directory '/mnt/DATA/home/harry/.cache/yay/vlc-git/src/vlc'
make: *** [Makefile:1502: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: vlc-git

foggybrain commented on 2022-03-11 20:00 (UTC)

I am building using makepkg -c as I have always done on an up to date manjaro system.

andrewSC commented on 2022-03-11 17:40 (UTC)

foggybrain: Are you building in a clean chroot? I just built commit dcc4520cd9257fdcc77582e18853e6f46ddb4a07 without issue locally (in a clean chroot). Let me know.

foggybrain commented on 2022-03-11 17:26 (UTC)

Package won't build, getting this error :-

/usr/bin/ld: lua/libs/.libs/liblua_plugin_la-dialog.o: in function vlclua_create_widget_inner': /usr/src/debug/vlc/modules/lua/libs/dialog.c:599: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-dialog.o: in function vlclua_dialog_create': /usr/src/debug/vlc/modules/lua/libs/dialog.c:207: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-net.o: in function vlclua_net_listen_tcp': /usr/src/debug/vlc/modules/lua/libs/net.c:196: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-httpd.o: in function vlclua_httpd_redirect_new': /usr/src/debug/vlc/modules/lua/libs/httpd.c:351: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-httpd.o: in function vlclua_httpd_tls_host_new': /usr/src/debug/vlc/modules/lua/libs/httpd.c:92: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-httpd.o:/usr/src/debug/vlc/modules/lua/libs/httpd.c:215: more undefined references to lua_newuserdata' follow /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-strings.o: in functionvlclua_convert_xml_special_chars': /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to lua_remove' /usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference tolua_remove' /usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to lua_remove' /usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference tolua_remove' /usr/bin/ld: /usr/src/debug/vlc/modules/lua/libs/strings.c:155: undefined reference to lua_remove' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-strings.o:/usr/src/debug/vlc/modules/lua/libs/strings.c:155: more undefined references tolua_remove' follow /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-vlm.o: in function vlclua_vlm_new': /usr/src/debug/vlc/modules/lua/libs/vlm.c:59: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-xml.o: in function vlclua_xml_create': /usr/src/debug/vlc/modules/lua/libs/xml.c:52: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-xml.o: in function vlclua_xml_create_reader': /usr/src/debug/vlc/modules/lua/libs/xml.c:95: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-io.o: in function vlclua_io_open': /usr/src/debug/vlc/modules/lua/libs/io.c:196: undefined reference tolua_newuserdata' /usr/bin/ld: lua/libs/.libs/liblua_plugin_la-renderers.o: in function vlclua_rd_create': /usr/src/debug/vlc/modules/lua/libs/renderers.c:173: undefined reference tolua_newuserdata' collect2: error: ld returned 1 exit status make[4]: [Makefile:19135: liblua_plugin.la] Error 1 make[4]: Waiting for unfinished jobs.... make[4]: Leaving directory '/home/tim/aur/builds/vlc-git/src/vlc/modules' make[3]: [Makefile:36805: all-recursive] Error 1 make[3]: Leaving directory '/home/tim/aur/builds/vlc-git/src/vlc/modules' make[2]: [Makefile:15428: all] Error 2 make[2]: Leaving directory '/home/tim/aur/builds/vlc-git/src/vlc/modules' make[1]: [Makefile:1614: all-recursive] Error 1 make[1]: Leaving directory '/home/tim/aur/builds/vlc-git/src/vlc' make: [Makefile:1501: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... [tim@timpc vlc-git]$

andrewSC commented on 2022-03-10 22:34 (UTC)

Just made some updates to the PKGBUILD and can confirm it builds cleanly in a chroot. The libcaca issue should be resolved now since upstream merged in their changes to caca.c about a month ago (from today/this comment date). Let me know if there's any issues and I greatly appreciate the patience in my response!

DAC324 commented on 2022-02-05 21:48 (UTC) (edited on 2022-02-06 00:24 (UTC) by DAC324)

The package currently does not compile:

  CC       access/libdv1394_plugin_la-dv.lo
  CC       access/linsys/linsys_hdsdi.lo
  CC       access/linsys/liblinsys_sdi_plugin_la-linsys_sdi.lo
video_output/caca.c:51:5: error: unknown type name 'cucul_canvas_t'
   51 |     cucul_canvas_t *cv;
      |     ^~~~~~~~~~~~~~
video_output/caca.c:53:5: error: unknown type name 'cucul_dither_t'
   53 |     cucul_dither_t *dither;
      |     ^~~~~~~~~~~~~~
video_output/caca.c: In function 'Place':
video_output/caca.c:101:32: error: implicit declaration of function 'cucul_get_canvas_width'; did you mean 'caca_get_canvas_width'? [-Werror=implicit-function-declaration]
  101 |     const int canvas_width   = cucul_get_canvas_width(sys->cv);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
      |                                caca_get_canvas_width
video_output/caca.c:102:32: error: implicit declaration of function 'cucul_get_canvas_height'; did you mean 'caca_get_canvas_height'? [-Werror=implicit-function-declaration]
  102 |     const int canvas_height  = cucul_get_canvas_height(sys->cv);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~
      |                                caca_get_canvas_height
video_output/caca.c: In function 'Prepare':
video_output/caca.c:133:23: error: implicit declaration of function 'cucul_create_dither'; did you mean 'caca_create_dither'? [-Werror=implicit-function-declaration]
  133 |         sys->dither = cucul_create_dither(32,
      |                       ^~~~~~~~~~~~~~~~~~~
      |                       caca_create_dither
video_output/caca.c:133:21: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  133 |         sys->dither = cucul_create_dither(32,
      |                     ^
video_output/caca.c:148:5: error: implicit declaration of function 'cucul_set_color_ansi'; did you mean 'caca_set_color_ansi'? [-Werror=implicit-function-declaration]
  148 |     cucul_set_color_ansi(sys->cv, CUCUL_COLOR_DEFAULT, CUCUL_COLOR_BLACK);
      |     ^~~~~~~~~~~~~~~~~~~~
      |     caca_set_color_ansi
video_output/caca.c:148:35: error: 'CUCUL_COLOR_DEFAULT' undeclared (first use in this function)
  148 |     cucul_set_color_ansi(sys->cv, CUCUL_COLOR_DEFAULT, CUCUL_COLOR_BLACK);
      |                                   ^~~~~~~~~~~~~~~~~~~
video_output/caca.c:148:35: note: each undeclared identifier is reported only once for each function it appears in
video_output/caca.c:148:56: error: 'CUCUL_COLOR_BLACK' undeclared (first use in this function)
  148 |     cucul_set_color_ansi(sys->cv, CUCUL_COLOR_DEFAULT, CUCUL_COLOR_BLACK);
      |                                                        ^~~~~~~~~~~~~~~~~
video_output/caca.c:149:5: error: implicit declaration of function 'cucul_clear_canvas'; did you mean 'caca_clear_canvas'? [-Werror=implicit-function-declaration]
  149 |     cucul_clear_canvas(sys->cv);
      |     ^~~~~~~~~~~~~~~~~~
      |     caca_clear_canvas
video_output/caca.c:153:5: error: implicit declaration of function 'cucul_dither_bitmap'; did you mean 'caca_dither_bitmap'? [-Werror=implicit-function-declaration]
  153 |     cucul_dither_bitmap(sys->cv, sys->place.x, sys->place.y,
      |     ^~~~~~~~~~~~~~~~~~~
      |     caca_dither_bitmap
video_output/caca.c: In function 'Control':
video_output/caca.c:181:13: error: implicit declaration of function 'cucul_free_dither'; did you mean 'caca_free_dither'? [-Werror=implicit-function-declaration]
  181 |             cucul_free_dither(sys->dither);
      |             ^~~~~~~~~~~~~~~~~
      |             caca_free_dither
video_output/caca.c: In function 'Close':
video_output/caca.c:364:5: error: implicit declaration of function 'cucul_free_canvas'; did you mean 'caca_free_canvas'? [-Werror=implicit-function-declaration]
  364 |     cucul_free_canvas(sys->cv);
      |     ^~~~~~~~~~~~~~~~~
      |     caca_free_canvas
video_output/caca.c: In function 'Open':
video_output/caca.c:450:15: error: implicit declaration of function 'cucul_create_canvas'; did you mean 'caca_create_canvas'? [-Werror=implicit-function-declaration]
  450 |     sys->cv = cucul_create_canvas(0, 0);
      |               ^~~~~~~~~~~~~~~~~~~
      |               caca_create_canvas
video_output/caca.c:450:13: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  450 |     sys->cv = cucul_create_canvas(0, 0);
      |             ^
video_output/caca.c:463:50: warning: passing argument 1 of 'caca_create_display_with_driver' from incompatible pointer type [-Wincompatible-pointer-types]
  463 |     sys->dp = caca_create_display_with_driver(sys->cv, driver);
      |                                               ~~~^~~~
      |                                                  |
      |                                                  int *
In file included from video_output/caca.c:47:
/usr/include/caca.h:502:59: note: expected 'caca_canvas_t *' {aka 'struct caca_canvas *'} but argument is of type 'int *'
  502 | __extern caca_display_t * caca_create_display_with_driver(caca_canvas_t *,
      |                                                           ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [Makefile:25395: video_output/libcaca_plugin_la-caca.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
access/linsys/linsys_hdsdi.c: In Funktion »Close«:
access/linsys/linsys_hdsdi.c:271:5: Warnung: Der Rückgabewert von »write«, der mit dem Attribut »warn_unused_result« deklariert wurde, wird ignoriert [-Wunused-result]
  271 |     write( p_sys->evfd, &(uint64_t){ 1 }, sizeof (uint64_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/opt/.cache/yay/vlc-git/src/vlc/modules'
make[3]: *** [Makefile:34273: all-recursive] Error 1
make[3]: Leaving directory '/opt/.cache/yay/vlc-git/src/vlc/modules'
make[2]: *** [Makefile:14329: all] Error 2
make[2]: Leaving directory '/opt/.cache/yay/vlc-git/src/vlc/modules'
make[1]: *** [Makefile:1587: all-recursive] Error 1
make[1]: Leaving directory '/opt/.cache/yay/vlc-git/src/vlc'
make: *** [Makefile:1474: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

What to do?

UPDATE: According to https://code.videolan.org/videolan/vlc/-/issues/26389, this is due to libcaca being too new. This error occurs with libcaca-0.99beta-20.