Opened 17 months ago

Last modified 15 months ago

#66295 new defect

fzf fails to upgrade (0.33.0_0 < 0.35.1_0) on mavericks

Reported by: tehcog (tehcog) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: cardi (calvin ardi), herbygillot (Herby Gillot)
Port: fzf

Description

Build Fails. Please see attached main.log file.

Also, the folowing is present in my .bashrc

500 # !!!!!! GO MACPORTS README !!!!!
501 #
502 # 202010902
503 # go @1.16.7_1
504 #  go has the following notes:
505 #    go had to be specially patched and built to work on your platform.
506 #
507 #    It likely won't work out of the box when building other projects, so make sure change your environment to use the following variables:
508 #      * GO_EXTLINK_ENABLED="1"
509 #    to always force go to use the external gcc or clang linker and
510 #      * GO_LDFLAGS="\"-extldflags=${configure.ldflags}\""
511 #      * CGO_LDFLAGS="-g -O2 ${configure.ldflags}"
512 #    to force-link any binary against the legacy support library. Use exactly the quoting provided here, even if it may look odd, or compilation will fail.
513 #
514 #    Failure to do so will leave you unable to create binaries that use features not natively available on your system, either directly or through a go core dependency.
515
516 GO_EXTLINK_ENABLED="1"
517 # couldn't get these to work ("bad substitution") until single quotes were added:
518 export GO_LDFLAGS='"\"-extldflags=${configure.ldflags}\""'
519 export CGO_LDFLAGS='"-g -O2 ${configure.ldflags}"'

Attachments (1)

fzf_main.log (48.5 KB) - added by tehcog (tehcog) 17 months ago.
main.log

Download all attachments as: .zip

Change History (2)

Changed 17 months ago by tehcog (tehcog)

Attachment: fzf_main.log added

main.log

comment:1 Changed 15 months ago by cardi (calvin ardi)

One of fzf's dependencies, rivo/uniseg, requires Go 1.19 (relevant compile error).

It looks like you're running OS X 10.9.5---MacPorts' version of Go is fixed to 1.17.3 if you're running macOS 10.12 (Sierra) or older.

Note: See TracTickets for help on using tickets.