Hi,
I have a fresh install of FreeBSD 14.0 and tried to build ffmpeg from ports with the alsa, pulseaudio, lame and sdl flags enabled. I have uninstalled the ffmpeg binary package.
Each time I try, it errors out (see transcript from the terminal below).
I have tried the suggested "make MAKE_JOBS_UNSAFE=yes install" without success.
I have successfully built ffmpeg from ports many times previously on FreeBSD 13.0, 13.1, 13.2 and 14.0.
Not sure if it's a problem with the port or missing dependencies. I don't have the experience to trouble-shoot. I would really appreciate any help. Thanks.
Termial Output:
I have a fresh install of FreeBSD 14.0 and tried to build ffmpeg from ports with the alsa, pulseaudio, lame and sdl flags enabled. I have uninstalled the ffmpeg binary package.
Each time I try, it errors out (see transcript from the terminal below).
I have tried the suggested "make MAKE_JOBS_UNSAFE=yes install" without success.
I have successfully built ffmpeg from ports many times previously on FreeBSD 13.0, 13.1, 13.2 and 14.0.
# make config
# make install
# make clean
Not sure if it's a problem with the port or missing dependencies. I don't have the experience to trouble-shoot. I would really appreciate any help. Thanks.
Termial Output:
Code:
./libavutil/vulkan_loader.h:59:11: error: use of undeclared identifier 'VK_KHR_VIDEO_DECODE_AV1_EXTENSION_NAME'
{ VK_KHR_VIDEO_DECODE_AV1_EXTENSION_NAME, FF_VK_EXT_VIDEO_DECODE_AV1 },
./libavutil/vulkan_loader.h:65:29: error: invalid application of 'sizeof' to an incomplete type 'const struct ExtensionMap[]'
for (int j = 0; j < FF_ARRAY_ELEMS(extension_map); j++) {
./libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
2 errors generated.
gmake[2]: *** [ffbuild/common.mak:81: libavfilter/vf_avgblur_vulkan.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/usr/ports/multimedia/ffmpeg/work/ffmpeg-6.1.1'
.===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/multimedia/ffmpeg
*** Error code 1
Stop.
make: stopped in /usr/ports/multimedia/ffmpeg
[root@FreeBSD /usr/ports/multimedia/ffmpeg]#