[tor-bugs] #31390 [Core Tor/Tor]: --enable-rust with pre-downloaded Rust dependencies fails: no .cargo-checksum.json files

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 12 02:19:54 UTC 2019


#31390: --enable-rust with pre-downloaded Rust dependencies fails: no .cargo-
checksum.json files
------------------------------+------------------------------------
 Reporter:  yurivict271       |          Owner:  (none)
     Type:  defect            |         Status:  needs_information
 Priority:  Medium            |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor/Tor      |        Version:  Tor: 0.4.0.5
 Severity:  Normal            |     Resolution:
 Keywords:  rust, 041-should  |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------------

Comment (by yurivict271):

 rust-nightly-1.38.0.20190811_1

 Sorry for the confusion, here is tor's configure:
 {{{
 ===>  Configuring for tor-0.4.0.5_3
 (cd /usr/ports/security/tor/work/tor-0.4.0.5 &&  _LATE_CONFIGURE_ARGS="" ;
 if [ -z "" ] &&  ./configure --help 2>&1 | /usr/bin/grep --
 --localstatedir > /dev/null; then
 _LATE_CONFIGURE_ARGS="${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ;  fi
 ;  if [ ! -z "`./configure --help 2>&1 | /usr/bin/grep -- '--mandir'`" ];
 then  _LATE_CONFIGURE_ARGS="${_LATE_CONFIGURE_ARGS}
 --mandir=/usr/local/man" ;  fi ;  if [ ! -z "`./configure --help 2>&1 |
 /usr/bin/grep -- '--disable-silent-rules'`" ]; then
 _LATE_CONFIGURE_ARGS="${_LATE_CONFIGURE_ARGS} --disable-silent-rules" ;
 fi ;  if [ ! -z "`./configure --help 2>&1 | /usr/bin/grep -- '--enable-
 jobserver\[.*#\]'`" ]; then  _LATE_CONFIGURE_ARGS="${_LATE_CONFIGURE_ARGS}
 --enable-jobserver=1" ;  fi ;  if [ ! -z "`./configure --help 2>&1 |
 /usr/bin/grep -- '--infodir'`" ]; then
 _LATE_CONFIGURE_ARGS="${_LATE_CONFIGURE_ARGS}
 --infodir=/usr/local/share/info/" ;  fi ;  if [ -z "`./configure --version
 2>&1 | /usr/bin/egrep -i '(autoconf.*2\.13|Unrecognized option)'`" ]; then
 _LATE_CONFIGURE_ARGS="${_LATE_CONFIGURE_ARGS} --build=amd64-portbld-
 freebsd12.0" ;  else  _LATE_CONFIGURE_ARGS="${_LATE_CONFIGURE_ARGS} amd64
 -portbld-freebsd12.0" ;  fi ;  if ! /usr/bin/env CC="cc" CPP="cpp"
 CXX="c++"  CFLAGS="-O2 -pipe -fno-omit-frame-pointer  -fstack-protector-
 strong -fno-strict-aliasing -std=gnu99 " CPPFLAGS="-fno-omit-frame-
 pointer" CXXFLAGS="-O2 -pipe -fno-omit-frame-pointer -fstack-protector-
 strong -fno-strict-aliasing -fno-omit-frame-pointer  "  LDFLAGS="
 -fstack-protector-strong " LIBS=""  INSTALL="/usr/bin/install -c"
 INSTALL_DATA="install  -m 0644"  INSTALL_LIB="install  -s -m 0644"
 INSTALL_PROGRAM="install  -s -m 555"  INSTALL_SCRIPT="install  -m 555"
 TOR_CPPFLAGS_libevent="-I/usr/local/include"
 TOR_LDFLAGS_libevent="-L/usr/local/lib/"  TOR_LIBEVENT_LIBS="-levent"
 TOR_RUST_DEPENDENCIES=/usr/ports/security/tor/work/tor-0.4.0.5/rs
 TOR_ZSTD_LIBS="-lzstd" MAKE=gmake PKG_CONFIG=pkgconf
 XDG_DATA_HOME=/usr/ports/security/tor/work
 XDG_CONFIG_HOME=/usr/ports/security/tor/work
 HOME=/usr/ports/security/tor/work
 PATH=/usr/ports/security/tor/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
 ./configure --with-openssl-dir="/usr" --enable-lzma --enable-rust
 --enable-zstd --enable-gcc-hardening --enable-linker-hardening --with-
 malloc=tcmalloc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}; then  echo
 "===>  Script \"configure\" failed unexpectedly.";  (echo "Please report
 the problem to yuri at FreeBSD.org [maintainer] and attach the
 \"/usr/ports/security/tor/work/tor-0.4.0.5/config.log\" including the
 output of the failure of your make command. Also, it might be a good idea
 to provide an overview of all packages installed on your system (e.g. a
 /usr/local/sbin/pkg-static info -g -Ea).") | /usr/bin/fmt 75 79 ;  false;
 fi)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31390#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list