[MacPorts] #65575: [OSX 10.6.8] -- Error: Failed to build ld64-274: command execution failed

MacPorts noreply at macports.org
Sun Jul 31 07:23:42 UTC 2022


#65575: [OSX 10.6.8] -- Error: Failed to build ld64-274: command execution failed
-----------------------+--------------------
  Reporter:  lawlist   |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ld64-274  |
-----------------------+--------------------

Comment (by lawlist):

 Yes, I'm using a custom configure installation path:

 {{{
 ./configure --prefix=/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2 \
 --with-applications-
 dir=/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/.0.applications
 }}}

 I have now created the directory structure of `/opt/local/lib` and copied
 the file `libiconv.2.dylib` to that location and made a `clean` and
 `install`.  Nothing else is located at the new path of `/opt/local/`. I've
 attached the updated build log as ...03 to this ticket.  It looks like
 Macports is now looking for other things at `/opt/local/...`.  Perhaps I
 could set a configuration of `CPPFLAGS` and `LDFLAGS` in the terminal?

 The past 30 years of my life is stored in `/Users/HOME/.0.data/...`, and
 that directory gets synced with `rsync` to a few different computers, and
 is also backed up to dedicated backup disks by date ...  A custom
 directory structure for the Macports installation is what I have been
 using for several years now.

 {{{
 :info:build Building rustbuild
 :info:build running:
 /Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
 -apple-darwin/cargo/bin/cargo build --manifest-path
 /Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/Cargo.toml
 --verbose --verbose --offline
 :info:build dyld: Library not loaded:
 /opt/local/libexec/openssl11/lib/libssl.1.1.dylib
 :info:build   Referenced from:
 /Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
 -apple-darwin/cargo/bin/cargo
 :info:build   Reason: image not found
 :info:build Traceback (most recent call last):
 :info:build   File
 "/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/bootstrap.py",
 line 1342, in <module>
 :info:build     main()
 :info:build   File
 "/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/bootstrap.py",
 line 1325, in main
 :info:build     bootstrap(help_triggered)
 :info:build   File
 "/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/bootstrap.py",
 line 1299, in bootstrap
 :info:build     build.build_bootstrap()
 :info:build   File
 "/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/bootstrap.py",
 line 1044, in build_bootstrap
 :info:build     run(args, env=env, verbose=self.verbose)
 :info:build   File
 "/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/bootstrap.py",
 line 185, in run
 :info:build     raise RuntimeError(err)
 :info:build RuntimeError: failed to run:
 /Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
 -apple-darwin/cargo/bin/cargo build --manifest-path
 /Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/Cargo.toml
 --verbose --verbose --offline
 :info:build make: *** [all] Error 1
 :info:build make: Leaving directory
 `/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src'
 :info:build Command failed:  cd
 "/Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/build/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.61.0-src"
 && /usr/bin/make -j1 -w all BOOTSTRAP_ARGS="-j1"
 :info:build Exit code: 2
 :error:build Failed to build rust: command execution failed
 :debug:build Error code: CHILDSTATUS 63825 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /Users/HOME/.0.data/.0.emacs/.0.macports_2_7_2/var/macports/logs/_Users_HOME_.0.data_.0.emacs_.0.macports_2_7_2_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/main.log
 for details.
 }}}

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


More information about the macports-tickets mailing list