Opened 3 years ago

Last modified 3 years ago

#62767 closed defect

librsvg @2.50.4 fails at configure during build — at Initial Version

Reported by: phosphide (Jakub Tomczyński) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: librsvg

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.

Change History (1)

Changed 3 years ago by phosphide (Jakub Tomczyński)

Attachment: config.log added
Note: See TracTickets for help on using tickets.