[MacPorts] #56195: cargo downloads files during build phase

MacPorts noreply at macports.org
Thu Apr 5 18:02:54 UTC 2018


#56195: cargo downloads files during build phase
----------------------------------+----------------------
  Reporter:  MarcusCalhoun-Lopez  |      Owner:  sean@…
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:  haspatch
      Port:  cargo                |
----------------------------------+----------------------

Comment (by cgilles):

 :debug:extract setting option extract.args to
 '/opt/digikam/var/macports/distfiles/cargo/cargo-0.25.0.tar.gz'
 :debug:extract Environment:
 :debug:extract CC_PRINT_OPTIONS='YES'
 :debug:extract
 CC_PRINT_OPTIONS_FILE='/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/.CC_PRINT_OPTIONS'
 :debug:extract CPATH='/opt/digikam/include'
 :debug:extract LIBRARY_PATH='/opt/digikam/lib'
 :debug:extract MACOSX_DEPLOYMENT_TARGET='10.8'
 :info:extract Executing:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work"
 && /usr/bin/gzip -dc
 '/opt/digikam/var/macports/distfiles/cargo/cargo-0.25.0.tar.gz' |
 /usr/bin/tar -xf -
 :debug:extract system:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work"
 && /usr/bin/gzip -dc
 '/opt/digikam/var/macports/distfiles/cargo/cargo-0.25.0.tar.gz' |
 /usr/bin/tar -xf -
 :info:extract --->  Extracting cargo-0.24.0-x86_64-apple-darwin.tar.gz
 :debug:extract setting option extract.args to
 '/opt/digikam/var/macports/distfiles/cargo/cargo-0.24.0-x86_64-apple-
 darwin.tar.gz'
 :debug:extract Environment:
 :debug:extract CC_PRINT_OPTIONS='YES'
 :debug:extract
 CC_PRINT_OPTIONS_FILE='/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/.CC_PRINT_OPTIONS'
 :debug:extract CPATH='/opt/digikam/include'
 :debug:extract LIBRARY_PATH='/opt/digikam/lib'
 :debug:extract MACOSX_DEPLOYMENT_TARGET='10.8'
 :info:extract Executing:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work"
 && /usr/bin/gzip -dc
 '/opt/digikam/var/macports/distfiles/cargo/cargo-0.24.0-x86_64-apple-
 darwin.tar.gz' | /usr/bin/tar -xf -
 :debug:extract system:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work"
 && /usr/bin/gzip -dc
 '/opt/digikam/var/macports/distfiles/cargo/cargo-0.24.0-x86_64-apple-
 darwin.tar.gz' | /usr/bin/tar -xf -
 :debug:extract Executing proc-post-org.macports.extract-extract-0
 :debug:patch patch phase started at Thu Apr  5 19:36:32 CEST 2018
 :debug:patch Executing org.macports.patch (cargo)
 :notice:patch --->  Applying patches to cargo
 :info:patch --->  Applying path-dyld.diff
 :debug:patch Environment:
 :debug:patch CC_PRINT_OPTIONS='YES'
 :debug:patch
 CC_PRINT_OPTIONS_FILE='/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/.CC_PRINT_OPTIONS'
 :debug:patch CPATH='/opt/digikam/include'
 :debug:patch LIBRARY_PATH='/opt/digikam/lib'
 :debug:patch MACOSX_DEPLOYMENT_TARGET='10.8'
 :info:patch Executing:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.25.0"
 && /usr/bin/patch -p0 <
 '/opt/digikam/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/cargo/files
 /path-dyld.diff'
 :debug:patch system:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.25.0"
 && /usr/bin/patch -p0 <
 '/opt/digikam/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/cargo/files
 /path-dyld.diff'
 :info:patch patching file src/cargo/util/paths.rs
 :debug:configure configure phase started at Thu Apr  5 19:36:32 CEST 2018
 :notice:configure --->  Configuring cargo
 :debug:configure Preferred compilers: clang macports-clang-4.0
 :debug:configure Using compiler 'Xcode Clang'
 :debug:configure Executing org.macports.configure (cargo)
 :debug:build build phase started at Thu Apr  5 19:36:32 CEST 2018
 :notice:build --->  Building cargo
 :debug:build Executing org.macports.build (cargo)
 :debug:build Environment:
 :debug:build CC='/usr/bin/clang'
 :debug:build CC_PRINT_OPTIONS='YES'
 :debug:build
 CC_PRINT_OPTIONS_FILE='/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/.CC_PRINT_OPTIONS'
 :debug:build CPATH='/opt/digikam/include'
 :debug:build CXX='/usr/bin/clang++'
 :debug:build LIBRARY_PATH='/opt/digikam/lib'
 :debug:build MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:build OPENSSL_DIR='/opt/digikam'
 :info:build Executing:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.25.0"
 &&
 /opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.24.0-x86_64
 -apple-darwin/cargo/bin/cargo build --release -j8
 :debug:build system:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.25.0"
 &&
 /opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.24.0-x86_64
 -apple-darwin/cargo/bin/cargo build --release -j8
 :info:build     Updating registry `https://github.com/rust-lang/crates.io-
 index`
 :info:build error: failed to load source for a dependency on `atty`
 :info:build Caused by:
 :info:build   Unable to update registry `https://github.com/rust-
 lang/crates.io-index`
 :info:build Caused by:
 :info:build   failed to fetch `https://github.com/rust-lang/crates.io-
 index`
 :info:build Caused by:
 :info:build   [16/-1] unexpected return value from ssl handshake -9808
 :info:build Command failed:  cd
 "/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.25.0"
 &&
 /opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.24.0-x86_64
 -apple-darwin/cargo/bin/cargo build --release -j8
 :info:build Exit code: 101
 :error:build Failed to build cargo: command execution failed
 :debug:build Error code: CHILDSTATUS 96587 101
 :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"
 :debug:build could not read "/opt/digikam/share/rust/ctags.rust": no such
 file or directory
 :debug:build     while executing
 :debug:build "::file type $file"
 :error:build See
 /opt/digikam/var/macports/logs/_opt_digikam_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cargo/cargo/main.log
 for details.

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


More information about the macports-tickets mailing list