Opened 3 years ago
Closed 3 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)
Change History (5)
Changed 3 years ago by laszlo-pusztai
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Keywords: | slang2 universal arm64 removed |
---|
comment:2 Changed 3 years ago by jmroot (Joshua Root)
Summary: | slang2 fails to build for arm64-x86_64 universal on arm64 → slang2 fails to build due to incorrect -L flag ordering |
---|
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Status: | new → accepted |
Thanks for the report. I am able to reproduce the problem. Will fix while updating it to 2.3.2.
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
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.