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

Hanspeter Niederstrasser <[email protected]> Sat, 4 Jan 2025 04:04:12 -0600
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 1/3/25 10:39 PM, Scott Hannahs via Fink-users wrote:
> On Jan 3, 2025, at 20:54, Hanspeter Niederstrasser <[email protected]> wrote:
>>
>> 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 was trying to fix some compile errors.  It was all mine but based on the info file from about a month ago.  I have a PR for this that I have merged with the recent update to libavcodec60.  This is much improved, but for seem reason it tells me that my patch is reversed?  Not sure, it seems the same as the patch that was just added.  I will look at it again tomorrow or regenerate the patch file.

This fix is being tracked here: 
https://github.com/fink/fink-distributions/pull/1208

Hanspeter

-- 
Hanlon's Razor
Never attribute to malice that which can be adequately explained by 
stupidity.



_______________________________________________
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