Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge ffmpeg with v4l fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Fri Aug 02, 2024 7:17 am    Post subject: emerge ffmpeg with v4l fails Reply with quote

Necktwi@Core3566 ~ $ sudo wgetpaste -s 0x0 -c emerge --info '=media-video/ffmpeg-6.1.1-r8::gentoo'
/usr/bin/wgetpaste: =media-video/ffmpeg-6.1.1-r8::gentoo No such file found.
Necktwi@Core3566 ~ $ sudo wgetpaste -s 0x0 -c "emerge --info '=media-video/ffmpeg-6.1.1-r8::gentoo'"
Your paste can be seen here: http://0x0.st/XO43.1-r8::ge
Necktwi@Core3566 ~ $ sudo wgetpaste -s 0x0 -c "emerge -pqv '=media-video/ffmpeg-6.1.1-r8::gentoo'"
Your paste can be seen here: http://0x0.st/XO4Y.1-r8::ge
Necktwi@Core3566 ~ $ sudo wgetpaste -s 0x0 /var/tmp/portage/media-video/ffmpeg-6.1.1-r8/temp/build.log
Your paste can be seen here: http://0x0.st/XO4g.log
Necktwi@Core3566 ~ $ sudo wgetpaste -s 0x0 /var/tmp/portage/media-video/ffmpeg-6.1.1-r8/temp/environment
Your paste can be seen here: http://0x0.st/XO4E.txt
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2380

PostPosted: Fri Aug 02, 2024 8:52 am    Post subject: Reply with quote

It's disrespectful to your helpers to just throw a few logs. Why do you think that'll appeal to somebody to go through it line by line to figure out what your problem is? Exactly the opposite. You should explain what your issue is and then try to post as relevant output as possible, not as much as possible. You'll be asked for specific output that might be relevant if more is needed.

Now it would be very nice of you if you start over, explaining what your issue is and what you have done.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22598

PostPosted: Fri Aug 02, 2024 2:33 pm    Post subject: Reply with quote

The error appears to be:
https://0x0.st/XO4g.log:
   890   clang -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avdevice -mtune=cortex-a55 -mcpu=cortex-a55 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -Wno-error   -mcpu=cortex-a55 -std=c11 -fPIC  -pthread    -I/usr/include/libdrm      -I/usr/include/webp -I/usr/include/webp -DX264_API_IMPORTS -I/usr/include/libdrm   -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -mtune=cortex-a55 -mcpu=cortex-a55 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -Wno-error -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type   -MMD -MF libavdevice/v4l2.d -MT libavdevice/v4l2.o -c -o libavdevice/v4l2.o src/libavdevice/v4l2.c
   907   src/libavdevice/v4l2.c:145:9: error: incompatible function pointer types assigning to 'int (*)(int, int, ...)' from 'int (int, unsigned long, ...)' [-Wincompatible-function-pointer-types]
   908     145 |         SET_WRAPPERS(v4l2_);
   909         |         ^~~~~~~~~~~~~~~~~~~
   910   src/libavdevice/v4l2.c:137:17: note: expanded from macro 'SET_WRAPPERS'
   911     137 |     s->ioctl_f  = prefix ## ioctl;      \
   912         |                 ^ ~~~~~~~~~~~~~~~
   913   1 error generated.
   915   make: *** [/var/tmp/portage/media-video/ffmpeg-6.1.1-r8/work/ffmpeg-6.1.1/ffbuild/common.mak:81: libavdevice/v4l2.o] Error 1
   917    * ERROR: media-video/ffmpeg-6.1.1-r8::gentoo failed (compile phase):
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2380

PostPosted: Fri Aug 02, 2024 5:41 pm    Post subject: Reply with quote

@Hu, there are multiple errors. Until we know what OP did exactly, we cannot arrive at conclusions.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum