Re: Failed: phase compiling: libavcodec60-6.0-shlibs-6.1.2-1 failed

Hanspeter Niederstrasser <[email protected]> Fri, 3 Jan 2025 19:54:17 -0600
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 1/3/25 10:55 AM, Scott Hannahs via Fink-users wrote:
> I have a patch for that but have not submitted a PR.  But put these files in your local tree in the appropriate folder. And it should allow the library to build
> 
> -Scott
> 
> 
> 
> 
> 
>> On Jan 3, 2025, at 08:55, Franchetti, Giuliano Dr. <[email protected]> wrote:
>>
>> Hi,
>>
>> the update of ibavcodec60-6.0-shlibs-6.1.2-1 failed.
>> Below is the error in the middle of many warnings and the bottom of teh messages.
>>
>> Many thanks
>>
>> 	Giuliano
>>
>> PS: Happy 2025!
>>
>>
>> .
>> .
>> .
>> .
>>       |                     ^
>> src/libavdevice/opengl_enc.c:482:27: error: incompatible function pointer types assigning to 'FF_PFNGLSHADERSOURCEPROC' (aka 'void (*)(unsigned int, int, const char **, con               st int *)') from 'void (GLuint, GLsizei, const GLchar *const *, const GLint *)' (aka 'void (unsigned int, int, const char *const *, const int *)') [-Wincompatible-function-               pointer-types]                      .
>> .
>> .
>> .
>> .
>> .
>> .
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:1653:23: note: 'glGetError' has been explicitly marked deprecated here
>> 1653 | GLAPI GLenum APIENTRY glGetError (void) OPENGL_DEPRECATED(10.5, 10.14);
>>       |                       ^
>> 80 warnings and 1 error generated.
>> make: *** [/opt/sw2/src/fink.build/libavcodec60-6.0-shlibs-6.1.2-1/ffmpeg-6.1.2/ffbuild/common.mak:81: libavdevice/opengl_enc.o] Error 1
>> make: Leaving directory '/opt/sw2/src/fink.build/libavcodec60-6.0-shlibs-6.1.2-1/ffmpeg-6.1.2/finkbuild'
>> ### execution of /tmp/fink.uhpsC failed, exit code 2
>> ### execution of /tmp/fink.LMeI0 failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /opt/sw2/bin/dpkg-lockwait -r fink-buildlock-libavcodec60-6.0-shlibs-6.1.2-1

>>
>> Also include the following system information:
>> Package manager version: 0.45.99.git
>> Distribution version: selfupdate-git Fri Jan  3 14:47:01 2025, 13.0, x86_64
>> Trees: local/main stable/main local/injected
>> Xcode.app: 16.1
>> Xcode command-line tools: 16.1.0.0.1.1729049160
>> Max. Fink build jobs:  1

Scott,

What is the source of your patch?

Hanspeter

-- 
I'm not a robot like you. I don't like having disks crammed into me...
unless they're Oreos, and then only in the mouth. -- Fry



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