[MacPorts] #62733: stack @2.5.1: ConnectionTimeout

MacPorts noreply at macports.org
Sun Apr 25 00:19:32 UTC 2021


#62733: stack @2.5.1: ConnectionTimeout
----------------------+-----------------------
  Reporter:  manbaum  |      Owner:  essandess
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:           |   Keywords:  sierra
      Port:  stack    |
----------------------+-----------------------

Comment (by manbaum):

 Sorry. The last fail log seemed to be network error, I retried a few
 times, the connection problem disappeared.

 The real problem is happened at link stage: Undefined symbols
 "_utimensat".


 {{{
 :info:build Linking .stack-
 work/dist/x86_64-osx/Cabal-2.4.0.1/build/stack/stack ...
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_utimensat", referenced from:
 :info:build       _cazW_info in libHSdirectory-1.3.3.0.a(Posix.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build `clang' failed in phase `Linker'. (Exit code: 1)
 :info:build Completed 161 action(s).
 :info:build --  While building package stack-2.5.1 (scroll up to its
 section to see the error) using:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stack/stack/work/stack-2.5.1
 /.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup --builddir=.stack-
 work/dist/x86_64-osx/Cabal-2.4.0.1 build lib:stack exe:stack --ghc-options
 ""
 :info:build     Process exited with code: ExitFailure 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stack/stack/work/stack-2.5.1"
 &&
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stack/stack/work/bin/stack
 build --with-gcc /usr/bin/clang --allow-different-user
 :info:build Exit code: 1
 :error:build Failed to build stack: command execution failed
 :debug:build Error code: CHILDSTATUS 31865 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stack/stack/main.log
 for details.
 }}}

 The new log file is attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/62733#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list