Re: Failed: phase compiling: libavcodec60-6.0-shlibs-6.1.2-1 failed
Scott Hannahs via Fink-users <[email protected]> Fri, 3 Jan 2025 11:55:42 -0500
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
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 > (Reading database ... 282720 files and directories currently installed.) > Removing fink-buildlock-libavcodec60-6.0-shlibs-6.1.2-1 (2025.01.03-14.47.49) ... > Failed: phase compiling: libavcodec60-6.0-shlibs-6.1.2-1 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <[email protected]> > The Fink Beginners List <[email protected]>, > > with a carbon copy to the maintainer: > > Hanspeter Niederstrasser <[email protected]> > > Note that this is preferable to emailing just the maintainer directly, > since most fink package maintainers do not have access to all possible > hardware and software configurations. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > 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 > > > > > > > > > > _______________________________________________ > 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 _______________________________________________ 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
libavcodec60-6.0-shlibs.info
(application/octet-stream, 31.9 KB) - not displayed
libavcodec60-6.0-shlibs.patch
(application/octet-stream, 955 B)
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c index 6f7a30ff9e..691bee22ad 100644 --- a/libavdevice/opengl_enc.c +++ b/libavdevice/opengl_enc.c @@ -117,7 +117,7 @@ typedef void (APIENTRY *FF_PFNGLATTACHSHADERPROC) (GLuint program, GLuint shad typedef GLuint (APIENTRY *FF_PFNGLCREATESHADERPROC) (GLenum type); typedef void (APIENTRY *FF_PFNGLDELETESHADERPROC) (GLuint shader); typedef void (APIENTRY *FF_PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef void (APIENTRY *FF_PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const char* *string, const GLint *length); +typedef void (APIENTRY *FF_PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const char* const *string, const GLint *length); typedef void (APIENTRY *FF_PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); typedef void (APIENTRY *FF_PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, char *infoLog);