Re: problem building libavcodec59-5.0-shlibs on MacOS 10.11 (El Cap) / Xcode 8.2.1

Scott Hannahs via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On Apr 26, 2022, at 9:06 PM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> Can you selfupdate and try libavcodec59-5.0-shlibs-5.0.1-1 ? I don't know if that was fixed there but might as well try.
> 
> Hanspeter

I get the same sort of thing…   My bad not self updating, I had this error and then didn’t get back to it for awhile.  I hadn’t seen an update to that particular library.  Possibly ffmpeg 5.0 can’t be built on Mac OS 10.11??

-Scott

src/libavfilter/metal/utils.h:50:40: error: expected function body after function declarator
                                       API_AVAILABLE(macos(10.11), ios(8.0));
                                       ^
src/libavfilter/metal/utils.h:57:48: error: expected function body after function declarator
                                               API_AVAILABLE(macos(10.11), ios(8.0));
                                               ^
src/libavfilter/metal/utils.m:22:6: error: no previous prototype for function 'ff_metal_compute_encoder_dispatch' [-Werror,-Wmissing-prototypes]
void ff_metal_compute_encoder_dispatch(id<MTLDevice> device,
     ^
src/libavfilter/metal/utils.m:50:19: error: no previous prototype for function 'ff_metal_texture_from_pixbuf' [-Werror,-Wmissing-prototypes]
CVMetalTextureRef ff_metal_texture_from_pixbuf(void *ctx,
                  ^
4 errors generated.
make: *** [/sw/src/fink.build/libavcodec59-5.0-shlibs-5.0.1-1/ffmpeg-5.0.1/ffbuild/common.mak:84: libavfilter/metal/utils.o] Error 1
make: Leaving directory '/sw/src/fink.build/libavcodec59-5.0-shlibs-5.0.1-1/ffmpeg-5.0.1/finkbuild'
### execution of /tmp/fink.eLCzD failed, exit code 2
### execution of /tmp/fink.OBhj3 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libavcodec59-5.0-shlibs-5.0.1-1
(Reading database ... 309978 files and directories currently installed.)
Removing fink-buildlock-libavcodec59-5.0-shlibs-5.0.1-1 ...
Failed: phase compiling: libavcodec59-5.0-shlibs-5.0.1-1 failed


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.6
Distribution version: selfupdate-git Tue Apr 26 22:28:56 2022, 10.11, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 8.2.1
Xcode command-line tools: 8.2.0.0.1.1480973914
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.