Re: ffmpeg failed (Sonoma14.4.1, Xcode & CLT 15.3))

a_sk--- via Fink-beginners <[email protected]> Wed, 8 May 2024 17:17:33 +0900
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Hi Hanspeter Niederstrasser

For completeness, show an error with line number;

1 $ fink install libavcodec60-6.0-shlibs

7 2 additional packages will be installed:
8  libavutil58-6.0-shlibs libswresample4-6.0-shlibs

1176 src/libavdevice/opengl_enc.c:482:27: error: incompatible function pointer types assigning to 'FF_PFNGLS     HADERSOURCEPROC' (aka 'void (*)(unsigned int, int, const char **, const int *)') from 'void (GLuint, GLsizei, const GLchar *const *, const GLint *)' (aka 'void (unsigned int, int, const char *const *, const      int *)') [-Wincompatible-function-pointer-types]

1629 80 warnings and 1 error generated.

1664 Distribution version: selfupdate-git Tue May  7 09:13:39 2024, 14.0, x86_64

To fully install ffmpeg, 7 packages still remain.
To indicate 80 warning locations, difficult under Fink censorship.

> 2024/04/24 14:21、[email protected]:
> 
> Hi Hanspeter Niederstrasser
> 
> I’ve missed ones in the run log.
> 
> src/libavdevice/opengl_enc.c:482:27: error: incompatible function pointer types assigning to 'FF_PFNGLSHADERSOURCEPROC' (aka 'void (*)(unsigned int, int, const char **, const int *)') from 'void (GLuint, GLsizei, const GLchar *const *, const GLint *)' (aka 'void (unsigned int, int, const char *const *, const int *)') [-Wincompatible-function-pointer-types]
>     procs->glShaderSource = glShaderSource;
> 
> …
> 80 warnings and 1 error generated.
> make: *** [/opt/sw/src/fink.build/libavcodec60-6.0-shlibs-6.1.1-1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavdevice/opengl_enc.o] error 1
> make: directory '/opt/sw/src/fink.build/libavcodec60-6.0-shlibs-6.1.1-1/ffmpeg-6.1.1/finkbuild' out
> 
> Regards
> 
>> 2024/04/16 9:44、Hanspeter Niederstrasser <[email protected]>:
>> 
>> On 4/15/24 10:34 AM, a_sk--- via Fink-beginners wrote:
>>> (One of ffmpeg package)
>>> $fink install libavcodec60-6.0-shlibs
>>> following 2 additional packages will be installed:
>>>  libavutil58-6.0-shlibs libswresample4-6.0-shlibs
>>> . . .
>>> 
>>> Failed: phase compiling: libavcodec60-6.0-shlibs-6.1.1-1 failed
>>> . . .
>>> Regards
>>>> 2024/04/15 18:33、Hanspeter Niederstrasser <[email protected]>:
>>>> 
>>>> On 4/14/24 10:11 AM, a_sk--- via Fink-beginners wrote:
>>>>> Hi Hanspeter Niederstrasser  — The maintainer of ffmpeg
>>>>> fink install ffmpeg
>>>>> following 8 additional packages will be installed:
>>>>>  libavcodec60-6.0-shlibs libavdevice60-6.0-shlibs libavfilter9-6.0-shlibs
>>>>>  libavformat60-6.0-shlibs libavutil58-6.0-shlibs libpostproc57-6.0-shlibs
>>>>>  libswresample4-6.0-shlibs libswresample4-6.0-shlibs
>>>>> . . .
>>>>> 
>>>> 
>>>> That's a just a warning about the deprecated function glGetError(). What's the actual error ? Include the compiler command that failed and please don't send me the entire build log.
>> 
>> That longer snippet still doesn't contain an actual error message.  Look for the string "error: " (similar to how the warnings include the file name 'src/libavdevice/opengl_enc.c', some line numbers, then the error and error text.
>> 
>> Hanspeter
>> -- 
>> 
>> _______________________________________________
>> Fink-beginners mailing list
>> [email protected]
>> List archive:
>> https://sourceforge.net/p/fink/mailman/fink-users/
>> Subscription management:
>> https://lists.sourceforge.net/lists/listinfo/fink-beginners
>

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners