[MacPorts] #54308: cargo: configure: error: needed, but unable to find any of: CFG_CARGO cargo

MacPorts noreply at macports.org
Sun Jun 11 17:05:57 UTC 2017


#54308: cargo: configure: error: needed, but unable to find any of: CFG_CARGO cargo
----------------------+-------------------
 Reporter:  ostefano  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.4.1
 Keywords:            |       Port:  cargo
----------------------+-------------------
 Cargo does not build (requires Cargo).
 This might actually be related: https://github.com/gentoo/gentoo-
 rust/issues/220

 {{{
 :msg:archivefetch --->  Fetching archive for cargo
 :debug:archivefetch Executing org.macports.archivefetch (cargo)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 502/501
 :info:archivefetch --->  cargo-0.18.0_0.darwin_16.x86_64.tbz2 doesn't seem
 to exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 cargo-0.18.0_0.darwin_16.x86_64.tbz2 from
 https://packages.macports.org/cargo
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404 Not Found
 :msg:archivefetch --->  Attempting to fetch
 cargo-0.18.0_0.darwin_16.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/cargo
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404 Not Found
 :msg:archivefetch --->  Attempting to fetch
 cargo-0.18.0_0.darwin_16.x86_64.tbz2 from
 http://nue.de.packages.macports.org/cargo
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404 Not Found
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Sun Jun 11 14:25:17 BST 2017
 :notice:fetch --->  Fetching distfiles for cargo
 :debug:fetch elevating privileges for fetch: euid changed to 0, egid
 changed to 0.
 :debug:fetch dropping privileges: euid changed to 502, egid changed to
 501.
 :debug:fetch Executing org.macports.fetch (cargo)
 :debug:fetch Executing: /usr/bin/git clone --progress https://github.com
 /rust-lang/cargo.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0
 2>&1
 :debug:fetch system: /usr/bin/git clone --progress https://github.com
 /rust-lang/cargo.git
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0
 2>&1
 :info:fetch Cloning into
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0'...
 :info:fetch remote: Counting objects: 30785, done.
 remote: Compressing objects: 100% (87/87), done.
 remote: Total 30785 (delta 29), reused 35 (delta 6), pack-reused 30692
 Receiving objects: 100% (30785/30785), 13.86 MiB | 2.82 MiB/s, done.MiB/s
 Resolving deltas: 100% (22585/22585), done.)
 :debug:fetch Executing
 GIT_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0/.git
 GIT_WORK_TREE=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0
 /usr/bin/git checkout -q 0.18.0 2>&1
 :debug:fetch system:
 GIT_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0/.git
 GIT_WORK_TREE=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0
 /usr/bin/git checkout -q 0.18.0 2>&1
 :debug:fetch Executing proc-post-org.macports.fetch-fetch-0
 :debug:fetch system -W
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0:
 git submodule update --init
 :info:fetch Submodule 'src/rust-installer' (https://github.com/rust-lang
 /rust-installer.git) registered for path 'src/rust-installer'
 :info:fetch Cloning into
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0/src
 /rust-installer'...
 :info:fetch Submodule path 'src/rust-installer': checked out
 '4f994850808a572e2cc8d43f968893c8e942e9bf'
 :debug:fetch Privilege de-escalation not attempted as not running as root.
 :debug:checksum checksum phase started at Sun Jun 11 14:25:26 BST 2017
 :notice:checksum --->  Verifying checksums for cargo
 :debug:checksum Executing org.macports.checksum (cargo)
 :debug:checksum Privilege de-escalation not attempted as not running as
 root.
 :debug:extract extract phase started at Sun Jun 11 14:25:26 BST 2017
 :notice:extract --->  Extracting cargo
 :debug:extract Executing org.macports.extract (cargo)
 :debug:extract Executing proc-post-org.macports.extract-extract-0
 :debug:extract Privilege de-escalation not attempted as not running as
 root.
 :debug:patch patch phase started at Sun Jun 11 14:25:26 BST 2017
 :debug:patch Executing org.macports.patch (cargo)
 :debug:patch Privilege de-escalation not attempted as not running as root.
 :debug:configure configure phase started at Sun Jun 11 14:25:26 BST 2017
 :notice:configure --->  Configuring cargo
 :debug:configure Preferred compilers: clang macports-clang-3.9 macports-
 clang-3.8 macports-clang-3.7
 :debug:configure Using compiler 'Xcode Clang'
 :debug:configure Executing org.macports.configure (cargo)
 :debug:configure Environment:
 :debug:configure CC='/usr/bin/clang'
 :debug:configure CC_PRINT_OPTIONS='YES'
 :debug:configure
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/.CC_PRINT_OPTIONS'
 :debug:configure CFLAGS='-pipe -Os -arch x86_64'
 :debug:configure CPATH='/opt/local/include'
 :debug:configure CPPFLAGS='-I/opt/local/include'
 :debug:configure CXX='/usr/bin/clang++'
 :debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
 :debug:configure F77FLAGS='-m64'
 :debug:configure F90FLAGS='-pipe -Os -m64'
 :debug:configure FCFLAGS='-pipe -Os -m64'
 :debug:configure FFLAGS='-pipe -Os'
 :debug:configure INSTALL='/usr/bin/install -c'
 :debug:configure LDFLAGS='-L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch x86_64'
 :debug:configure LIBRARY_PATH='/opt/local/lib'
 :debug:configure MACOSX_DEPLOYMENT_TARGET='10.12'
 :debug:configure OBJC='/usr/bin/clang'
 :debug:configure OBJCFLAGS='-pipe -Os -arch x86_64'
 :debug:configure OBJCXX='/usr/bin/clang++'
 :debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0"
 && ./configure --prefix=/opt/local
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0"
 && ./configure --prefix=/opt/local
 :info:configure configure: looking for configure programs
 :info:configure configure: found cmp
 :info:configure configure: found mkdir
 :info:configure configure: found printf
 :info:configure configure: found cut
 :info:configure configure: found head
 :info:configure configure: found grep
 :info:configure configure: found xargs
 :info:configure configure: found cp
 :info:configure configure: found find
 :info:configure configure: found uname
 :info:configure configure: found date
 :info:configure configure: found tr
 :info:configure configure: found sed
 :info:configure configure: found cmake
 :info:configure configure: found make
 :info:configure configure: recreating config.tmp
 :info:configure configure:
 :info:configure configure: processing ./configure args
 :info:configure configure:
 :info:configure configure: CFG_PREFIX           := /opt/local
 :info:configure configure: CFG_LOCAL_RUST_ROOT  :=
 :info:configure configure: CFG_CARGO            := cargo
 :info:configure configure: CFG_RUSTC            := rustc
 :info:configure configure: CFG_RUSTDOC          := rustdoc
 :info:configure configure: CFG_CARGO            :=
 :info:configure configure: error: needed, but unable to find any of:
 CFG_CARGO cargo
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/work/cargo-0.18.0"
 && ./configure --prefix=/opt/local
 :info:configure Exit code: 1
 :error:configure Failed to configure cargo: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"
 :error:configure See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cargo/cargo/main.log
 for details.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54308>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list