Re: Fink pgplot 5.2.2-18 failed (Sonoma 14.4.1 xcode, CLT15.3, 0.45.99.git )

Daniel Macks <[email protected]> Mon, 08 Apr 2024 10:23:32 -0400
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
This looks like the error reported at https://forums.developer.apple.com/forums/thread/729072

It identifies several nonstandard user or system settings that can trigger it. I think fink tries hard to sanitize the shell environment during the compile process, but it's long been known that /usr/local can interfere in ways fink can't control. So...is your xcode (and its components) fully up-to-date? Do you have anything in /usr/local/include ?

dan

On 4/8/24, 4:22 AM, "[email protected]" <[email protected]> wrote:

    gcc12-compiler gcc12-shlibs are required, but they unfortunately failed to install.
    . . .

    . . . . 
    /c++/v1/__locale:550:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
    . . 
    /c++/v1/__locale:551:37: error: expected ';' at end of declaration list

        char_type toupper(char_type __c) const
    . .
    /c++/v1/__locale:557:48: error: too many arguments provided to function-like macro invocation

        const char_type* toupper(char_type* __low, const char_type* __high) const
    . . 

    /c++/v1/__locale:569:48: error: too many arguments provided to function-like macro invocation
    . . 

    c++/v1/__locale:660:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
    . . 
    ++/v1/__locale:661:37: error: expected ';' at end of declaration list

        char_type toupper(char_type __c) const
    . . 

    c++/v1/__locale:667:48: error: too many arguments provided to function-like macro invocation
    . . 

    c++/v1/__locale:679:48: error: too many arguments provided to function-like macro invocation
    . . .
    c++/v1/__locale:795:21: error: too many arguments provided to function-like macro invocation
    . . .

    c++/v1/__locale:795:1: error: declaration conflicts with target of using declaration already in scope
    . . .

    c++/v1/__locale:797:5: error: expected expression
    . . .

    c++/v1/__locale:798:2: error: expected ';' at end of declaration
    . . .

    c++/v1/__locale:803:21: error: too many arguments provided to function-like macro invocation
    . . .

    c++/v1/__locale:803:1: error: declaration conflicts with target of using declaration already in scope
    . . .

    c++/v1/__locale:805:5: error: expected expression
    . . .

    c++/v1/__locale:806:2: error: expected ';' at end of declaration
    . . .

    c++/v1/__locale:811:21: error: too many arguments provided to function-like macro invocation
    . . .

    c++/v1/__locale:811:1: error: declaration conflicts with target of using declaration already in scope
    . . .

    c++/v1/__locale:813:5: error: expected expression
    . . .

    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    . . . .

    Failed: phase compiling: gcc12-12.2.0-3 failed
    . . . . .
    selfupdate-git Mon Apr  8 16:10:40 2024, 14.0, x86_64
    Max. Fink build jobs:  1


















_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners