Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#11420 closed enhancement (wontfix)

Expand gitian/check-prerequisites.sh tests

Reported by: michael Owned by: michael
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: gitian, tbb-gitian
Cc: gk Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

check-prerequisites.sh should include logic to test for known build requirements:

AMD64 architecture
Enough RAM memory
Enough disk storage

Assuming that builds on IA32 VMs (using LXC) and bare metal build environments fail due to the current OSX cross-compile toolchain and/or linking of libxul.so, check-prerequisites.sh should include (pseudocode):

uname -m | grep -q x86_64 ~|~| echo 'Wrong CPU arch!'

Assuming a minimum 4Go RAM build requirement, check-prerequisites.sh should include (pseudocode):

free -g | grep Mem | sed(1)/awk(1)

Assuming a minumum 48Go disk storage requirement, check-prerequisites.sh should include (pseudcode):

pwd(1)/mount(1)/df(1) script code to determine max storage in current path.

NOTE: These requirements depend on other variables, at the very least whether KVM or LXC is in use (already determined by check-prerequisites.sh.

Lastly, once these requirements are sorted out they should be documented (separate ticket) in or near [1] for human consumption.

[1] https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking/

Child Tickets

Change History (4)

comment:1 Changed 6 years ago by gk

Cc: gk added
Keywords: gitian added; Build Compile Requirements Autotools removed

comment:2 Changed 6 years ago by erinn

Component: Tor bundles/installationTor Browser
Keywords: tbb-gitian added

comment:3 Changed 3 years ago by gk

Resolution: wontfix
Severity: Blocker
Status: newclosed

No relevant for rbm anymore, thus WONTFIXing.

comment:4 Changed 3 years ago by gk

Severity: BlockerNormal
Note: See TracTickets for help on using tickets.