Re: libavcodec60 fails to build
Scott Hannahs via Fink-users <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks, hopefully that fixes the Xcode complaint. Those are good commands to know. The duplicate symbols seems to be happening for all the packages required by ffmpeg. This is the list of packages that I can’t install, it may be some sort of dependency between them. (i) ffmpeg 6.1-1 Tool to convert video file formats (i) libavcodec60-6.0-shlibs 6.1-1 Audio/video encoders and decoders libraries (i) libavdevice60-6.0-shlibs 6.1-1 Audio/video device libraries (i) libavfilter9-6.0-shlibs 6.1-1 Audio/video filtering libraries (i) libavformat60-6.0-shlibs 6.1-1 Audio/video parser and generator libraries (i) libavutil58-6.0-shlibs 6.1-1 Audio/video utils libraries (i) libpostproc57-6.0-shlibs 6.1-1 Audio/video post process libraries (i) libswresample4-6.0-shlibs 6.1-1 Audio resampling libraries (i) libswscale7-6.0-shlibs 6.1-1 Audio/video scaling libraries If I build one of the baseline packages that has no dependencies to build: fink update libavutil58-6.0-shlibs ld: building exports trie: duplicate symbol '_av_ac3_parse_header' make: *** [libavdevice/libavdevice.60.dylib] Error 1 This error seems to be related to Xcode 15 for versions after beta 2 according to homebrew. https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues/140 And there is a “fix” but I don’t quite understand it, forcing it to use the classic linker? -ld_classic iff the Xcode version is 15.0 or greater. Not sure how to do that in the info file. https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/pull/143/files -Scott > On Nov 20, 2023, at 5:01 AM, Hanspeter Niederstrasser <[email protected]> wrote: > > On 11/19/23 5:20 PM, Scott Hannahs via Fink-users wrote: >> MacOS Ventura 13.6.1/Xcode 15.0.1 >> Fink tells me that I have no Xcode, but Xcode 15.0.1 is installed. Just not recognized? >> -Scott >> Also include the following system information: >> Package manager version: 0.45.99.git >> Distribution version: selfupdate-git Sat Nov 18 12:09:01 2023, 13.0, x86_64 >> Trees: local/injected local/main stable/main >> No recognized Xcode.app installed >> Xcode command-line tools: 15.0.0.0.1.1694021235 >> Max. Fink build jobs: 1 > > Not sure yet on the duplicate symbol problem, but for the missing Xcode.app: > > run `fink-virtual-pkgs --debug` and in the output near the top should be some debugging info as to what Fink can and can't find about Xcode.app versioning that Fink uses to create the virtual package representing Xcode.app > > You can also run these two commands to get the expected version directly: > xcode-select -print-path > defaults read `xcode-select -print-path 2>/dev/null`/../version CFBundleShortVersionString > > And this one is used to find the Command Line Tools: > pkgutil --pkg-info com.apple.pkg.CLTools_Executables > > Hanspeter > > -- > +-------------------------------------+----------------------------+ > | Hanspeter Niederstrasser | The Four F's of Survival: | > | | Feeding, Fleeing, Fighting | > | | and ... Reproduction | > | | | > | | -Unknown | > +-------------------------------------+----------------------------+ > _______________________________________________ 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