[MacPorts] #62767: librsvg @2.50.4 fails at configure during build
MacPorts
noreply at macports.org
Tue Apr 27 16:31:11 UTC 2021
#62767: librsvg @2.50.4 fails at configure during build
------------------------+----------------------
Reporter: phosphide | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: librsvg |
------------------------+----------------------
Description changed by kencu:
Old description:
> Changes in commit 990215fb0308d43a17285250e7ea5832d78d341b seem to
> prevent librsvg from building, the configure script fails at checking the
> C compiler. The compiler path is also passed as the first argument?
> The installation I'm working on is x86_64 emulated via Rosetta 2 on M1.
>
> {{{
> configure:4053: checking whether the C compiler works
> configure:4075: /usr/bin/clang /usr/bin/clang -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
> -I/opt/macports-x86_64/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt
> /macports-x86_64/lib -Wl,-headerpad_max_install_names -lobjc
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
> x86_64 conftest.c >&5
> ld: can't link with a main executable file '/usr/bin/clang' for
> architecture x86_64
> }}}
> Full log attached.
>
> After reverting to f81d9284291514bc66032866fb3451a1e7689dbc it builds
> without problems.
New description:
Changes in commit [990215fb0308d43a17285250e7ea5832d78d341b/macports-
ports] seem to prevent librsvg from building, the configure script fails
at checking the C compiler. The compiler path is also passed as the first
argument?
The installation I'm working on is x86_64 emulated via Rosetta 2 on M1.
{{{
configure:4053: checking whether the C compiler works
configure:4075: /usr/bin/clang /usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
-I/opt/macports-x86_64/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt
/macports-x86_64/lib -Wl,-headerpad_max_install_names -lobjc
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
x86_64 conftest.c >&5
ld: can't link with a main executable file '/usr/bin/clang' for
architecture x86_64
}}}
Full log attached.
After reverting to [f81d9284291514bc66032866fb3451a1e7689dbc/macports-
ports] it builds without problems.
--
--
Ticket URL: <https://trac.macports.org/ticket/62767#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list