Opened 3 years ago

Last modified 3 years ago

#62767 closed defect

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

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

Description (last modified by cjones051073 (Chris Jones))

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 (8)

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

Attachment: config.log added

comment:1 Changed 3 years ago by kencu (Ken)

For some reason, CC is getting messed up:

CC='/usr/bin/clang /usr/bin/clang'

and interprets this as an attempt to link against /usr/bin/clang.

comment:2 Changed 3 years ago by kencu (Ken)

Probably a typo of some kind -- there were a large number of recent changes in these portgroups.

comment:3 Changed 3 years ago by kencu (Ken)

Cc: cjones051073 added

Hey Chris, this looks like something you'd be interested in.

comment:4 Changed 3 years ago by cjones051073 (Chris Jones)

that isn't the full macports log, can you attach that as well please.

Last edited 3 years ago by cjones051073 (Chris Jones) (previous) (diff)

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

Attachment: main.log added

comment:5 Changed 3 years ago by kencu (Ken)

Description: modified (diff)

comment:6 Changed 3 years ago by cjones051073 (Chris Jones)

Description: modified (diff)

Ok, can reproduce. Investigating...

Note: See TracTickets for help on using tickets.