[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
Sun Aug 11 23:30:45 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):

 configure:

 {{{
 ===>  Configuring for asciidoc-8.6.10_1
 (cd /usr/ports/textproc/asciidoc/work/asciidoc-8.6.10 &&
 _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=8" ;  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 " 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"  MAKE=gmake
 PYTHON="/usr/local/bin/python2.7"
 XDG_DATA_HOME=/usr/ports/textproc/asciidoc/work
 XDG_CONFIG_HOME=/usr/ports/textproc/asciidoc/work
 HOME=/usr/ports/textproc/asciidoc/work
 PATH=/usr/ports/textproc/asciidoc/work/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
 ./configure --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}; then  echo "===>
 Script \"configure\" failed unexpectedly.";  (echo "Please report the
 problem to sunpoet at FreeBSD.org [maintainer] and attach the
 \"/usr/ports/textproc/asciidoc/work/asciidoc-8.6.10/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)
 }}}

 build:

 {{{
 ===>  Building for tor-0.4.0.5_3
 (cd /usr/ports/security/tor/work/tor-0.4.0.5; if ! /usr/bin/env
 TOR_RUST_DEPENDENCIES=/usr/ports/security/tor/work/tor-0.4.0.5/rs
 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include
 OPENSSLLIB=/usr/lib 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
 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh
 NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2
 -pipe -fno-omit-frame-pointer  -fstack-protector-strong -fno-strict-
 aliasing -std=gnu99 "  CPP="cpp" CPPFLAGS="-fno-omit-frame-pointer"
 LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2
 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-
 aliasing -fno-omit-frame-pointer  "  MANPREFIX="/usr/local"
 BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m
 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m
 0644"  BSD_INSTALL_MAN="install  -m 444" gmake -f Makefile -j8  all; then
 if [ -n "Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
 failure to the maintainer." ] ; then  echo "===> Compilation failed
 unexpectedly.";  (echo "Try to set MAKE_JOBS_UNSAFE=yes and rebuild before
 reporting the failure to the maintainer.") | /usr/bin/fmt 75 79 ;  fi;
 false;  fi)
 }}}

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


More information about the tor-bugs mailing list