Re: Failure building libavutil60-8.0-shlibs et al.

"Daniel E. Macks" <[email protected]> Fri, 28 Nov 2025 21:38:50 -0000 (UTC)
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
Sean Case via Fink-users <[email protected]> said:
> macOS 15.7.2
> XCode 26.1.1
> fink 0.45.99.git (just updated it now to see if it would help)
>
> It's failing so early that I can't even see an error message.  See
> transcript below.

[...]
> #!/bin/sh -ev
>         
>         ### remove spaces from framework calls to satisfy validator in .pc files
>         perl -pi -e 's|-framework AppKit|-Wl,-framework,AppKit|g; \
>                 s|-framework AudioToolbox|-Wl,-framework,AudioToolbox|g; \
>                 s|-framework AVFoundation|-Wl,-framework,AVFoundation|g; \
>                 s|-framework CoreAudio|-Wl,-framework,CoreAudio|g; \
>                 s|-framework CoreFoundation|-Wl,-framework,CoreFoundation|g; \
>                 s|-framework CoreGraphics|-Wl,-framework,CoreGraphics|g; \
>                 s|-framework CoreMedia|-Wl,-framework,CoreMedia|g; \
>                 s|-framework CoreServices|-Wl,-framework,CoreServices|g; \
>                 s|-framework CoreVideo|-Wl,-framework,CoreVideo|g; \
>                 s|-framework Foundation|-Wl,-framework,Foundation|g; \
>                 s|-framework OpenCL|-Wl,-framework,OpenCL|g; \
>                 s|-framework OpenGL|-Wl,-framework,OpenGL|g; \
>                 s|-framework QuartzCore|-Wl,-framework,QuartzCore|g; \
>                 s|-framework Security|-Wl,-framework,Security|g; \
>                 s|-framework VideoDecodeAcceleration|-Wl,-framework,VideoDecodeAcceleration|g; \
>                 s|-framework VideoToolbox|-Wl,-framework,VideoToolbox|g' configure
>         perl -pi -e 's|-framework \$framework|-Wl,-framework,\$framework|g' configure
>         ### Don't mix/match c++ libs
>         perl -pi -e 's|lgme -lstdc\+\+|lgme |g' configure
>
>         # test needs external file lena.pnm
>         #perl -pi -e 's|\+\= fate-shortest|+= |g' tests/fate/ffmpeg.mak
>         #perl -ni -e 'print unless /lena.pnm/' tests/Makefile
>         #perl -pi -e 's|fate-shortest: tests/data/vsynth_lena.yuv|fate-shortest: |g' tests/fate/ffmpeg.mak
>         #perl -pi -e 's|fate-shortest: CMD \= framecrc|fate-shorttest: CMD = echo GOOD|g' tests/fate/ffmpeg.mak
> sudo -u fink-bld [ENV] sh -c /tmp/fink.FcSQe
> /tmp/fink._ZgGc
> #!/bin/sh -ev
>         . /opt/sw/sbin/fink-buildenv-helper.sh
> # Copyright (c) 2015, Hanspeter Niederstrasser
> # All rights reserved.
> #
> # Permission is hereby granted, free of charge, to any person obtaining
> # a copy of this software and associated documentation files (the
> # "Software"), to deal in the Software without restriction, including
> # without limitation the rights to use, copy, modify, merge, publish,
> # distribute, sublicense, and/or sell copies of the Software, and to
> # permit persons to whom the Software is furnished to do so, subject to
> # the following conditions:
> #
> # The above copyright notice and this permission notice shall be
> # included in all copies or substantial portions of the Software.
> #
> # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>
> # Usage:
> # Source this script file within {Patch,Compile,Install,Test}Script in
> # your .info file in order to set environment variables calculated for the 
> # buildtime system.
> #
> # These variables can then be used for patch token replacement or in 
> # shell conditionals, among other uses, without reinventing the wheel.
> # Example 1: Provide the proper SDK location in a patch
> #                        Patch any hardcoded SDK locations in the source tree and replace
> #                               with the string @SDK_PATH@.
> #                        In PatchScript, replace the token with the variable containing the 
> #                               SDK location, and apply the patch:
> #                        sed "s|@SDK_PATH@|$SDK_PATH|g" < %{PatchFile} | patch -p1
> # Example 2: Use in a conditional to determine if a flag is needed
> #                        if [ "$OSX_MAJOR_VERSION" >  "10.7" ]; then ...
>
> set +v || :

I'm pretty sure this is
https://github.com/nieder/fink-buildenv-modules/pull/3

dan




_______________________________________________
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