[MacPorts] #68715: stack @2.13.1: build fails on 10.15: error: ld: unknown option: -no_fixup_chains
MacPorts
noreply at macports.org
Thu Nov 16 16:25:25 UTC 2023
#68715: stack @2.13.1: build fails on 10.15: error: ld: unknown option:
-no_fixup_chains
--------------------+-----------------------
Reporter: kencu | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: stack
--------------------+-----------------------
https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/162420/steps
/install-port/logs/stdio
{{{
basement > command was: /usr/bin/clang .stack-
work/dist/x86_64-osx/ghc-9.4.7/build/Basement/Terminal/Size_hsc_make.o
.stack-
work/dist/x86_64-osx/ghc-9.4.7/build/Basement/Terminal/Size_hsc_utils.o -o
.stack-
work/dist/x86_64-osx/ghc-9.4.7/build/Basement/Terminal/Size_hsc_make
--target=x86_64-apple-darwin -Wl,-no_fixup_chains --target=x86_64-apple-
darwin
-L/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/.home/.stack/programs/x86_64-osx/ghc-9.4.7/lib/ghc-9.4.7/lib/../lib/x86_64
-osx-ghc-9.4.7/base-4.17.2.0 -liconv
-L/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/.home/.stack/programs/x86_64-osx/ghc-9.4.7/lib/ghc-9.4.7/lib/../lib/x86_64
-osx-ghc-9.4.7/ghc-bignum-1.3
-L/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/.home/.stack/programs/x86_64-osx/ghc-9.4.7/lib/ghc-9.4.7/lib/../lib/x86_64
-osx-ghc-9.4.7/ghc-prim-0.9.1
-L/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/.home/.stack/programs/x86_64-osx/ghc-9.4.7/lib/ghc-9.4.7/lib/../lib/x86_64
-osx-ghc-9.4.7/rts-1.0.2
-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lm -ldl
-lffi
basement > error: ld: unknown option: -no_fixup_chains
basement > clang: error: linker command failed with
exit code 1 (use -v to see invocation)
basement >
Getting the project-level configuration file from the STACK_YAML
environment variable.
Error: [S-7282]
Stack failed to execute the build plan.
While executing the build plan, Stack encountered the error:
[S-7011]
While building package basement-0.0.16 (scroll up to its section to
see the error) using:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/.home/.stack
/setup-exe-cache/x86_64-osx/Cabal-simple_6HauvNHV_3.8.1.0_ghc-9.4.7
--verbose=1 --builddir=.stack-work/dist/x86_64-osx/ghc-9.4.7 build --ghc-
options ""
Process exited with code: ExitFailure 1
Command failed: cd
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/stack-2.13.1"
&&
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_stack/stack/work/bin/stack
build --with-gcc /usr/bin/clang --allow-different-user
Exit code: 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68715>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list