Opened 2 years ago

Closed 2 years ago

#64802 closed defect (fixed)

slang2 fails to build due to incorrect -L flag ordering

Reported by: laszlo-pusztai Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: slang2

Description

The title says it all. I'm attaching the build log.

Attachments (1)

main.log (125.9 KB) - added by laszlo-pusztai 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by laszlo-pusztai

Attachment: main.log added

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: slang2 universal arm64 removed

It's putting its internal -L flag in the wrong place, after the externally supplied LDFLAGS (which include -L/opt/local/lib). So it ends up linking to the installed non-universal version of itself, instead of the copy in the build dir.

A workaround would be to uninstall the port first.

Last edited 2 years ago by jmroot (Joshua Root) (previous) (diff)

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Summary: slang2 fails to build for arm64-x86_64 universal on arm64slang2 fails to build due to incorrect -L flag ordering

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newaccepted

Thanks for the report. I am able to reproduce the problem. Will fix while updating it to 2.3.2.

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 99f21c0bd58edf3edf74c8d76ebb337640f1b4d0/macports-ports (master):

slang2: Update to 2.3.2 and fix -L flag order

Closes: #64802

Also fix livecheck.

Note: See TracTickets for help on using tickets.