[tbb-bugs] #13760 [Tor Browser]: Building Tor-Browser fails because of undeclared variables

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 13 20:04:36 UTC 2014


#13760: Building Tor-Browser fails because of undeclared variables
-------------------------+--------------------------
 Reporter:  dwt          |          Owner:  tbb-team
     Type:  defect       |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Tor Browser  |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+--------------------------
 Currently, preparing the build of for browser fails:

 {{{
 $ make prep
 # lots of output
 ./fetch-inputs.sh: line 189: !PACKAGE: unbound variable
 }}}

 The problems seems to be that in commit
 329adc09efb6e7f7bcf36297313ddeaad979287f when versions.nightly and
 versions.apha where extended with these variables, but versions was not -
 thus leading to the problem.

 Here's the problematic code:
 {{{
 for i in GOCRYPTO GONET
 do
   PACKAGE="${i}_PACKAGE"
   echo $PACKAGE
   URL="${MIRROR_URL_YAWNING}${!PACKAGE}" # <-- this explodes
   get "${!PACKAGE}" "${MIRROR_URL_YAWNING}${!PACKAGE}"
 done
 }}}

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


More information about the tbb-bugs mailing list