Opened 4 years ago

Closed 4 years ago

#16361 closed defect (not a bug)

tor bundle- Package hash for noscript_security_suite-2.6.9.21-sm+fn+fx.xpi differs from our locally stored sha256!

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

Description

I can't seem to build the tor-bundle on ubuntu trusty.
I couldn't build it with a 2.0 version of or either.

2015-06-13 07:24:02 (2.35 MB/s) - ‘noscript_security_suite-2.6.9.21-sm+fn+fx.xpi’ saved [559842/559842]

apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb: OK
x86_64-apple-darwin10.tar.xz: OK
multiarch-darwin11-cctools127.2-gcc42-5666.3-llvmgcc42-2336.1-Linux-120724.tar.xz: OK
noscript_security_suite-2.6.9.21-sm+fn+fx.xpi: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
Package hash for noscript_security_suite-2.6.9.21-sm+fn+fx.xpi differs from our locally stored sha256!
make: * [prep-nightly] Error 1

Child Tickets

Attachments (2)

build.log.gz (20.7 KB) - added by torbuider_ubuntu 4 years ago.
build.log for "make"; gzipped
build.log.2.gz (126.6 KB) - added by torbuider_ubuntu 4 years ago.
build log 06/16/15

Download all attachments as: .zip

Change History (12)

comment:1 Changed 4 years ago by torbuider_ubuntu

The above log was from make nightly. Below is just from make.
HEAD is now at 0c04617... Default back to lxc-start, with option for lxc-execute

Starting Utilities Component of Linux Bundle (1/5 for Linux)

--- Building utils-linux for lucid i386 ---
Stopping target if it is up
Making a new image copy
Formatting 'target-lucid-i386.qcow2', fmt=qcow2 size=17179869184 backing_file='base-lucid-i386.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Starting target
Checking if target is up
Preparing build environment
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Grabbing package manifest
Creating build script (var/build-script)
Running build script (log in var/build.log)
./bin/gbuild:21:in `system!': failed to run on-target setarch i386 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)

from ./bin/gbuild:122:in `build_one_configuration'
from ./bin/gbuild:224:in `block (2 levels) in <main>'
from ./bin/gbuild:219:in `each'
from ./bin/gbuild:219:in `block in <main>'
from ./bin/gbuild:217:in `each'
from ./bin/gbuild:217:in `<main>'

make: * [build] Error 1

comment:2 Changed 4 years ago by gk

Component: - Select a componentTor Browser
Keywords: tbb-gitian added
Milestone: TorBrowserBundle 2.3.x-stable
Owner: set to tbb-team
Version: Tor: 0.2.6.8

What does the output in gitian-builder/var/build.log give you as an error?

comment:3 Changed 4 years ago by torbuider_ubuntu

This web site thinks my attachment of it is spam. it would not upload. Here are the last few lines of it. I think the last build try was a standard make.
libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -static-libstdc++ -static-libgcc -o cxxfilt cxxfilt.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -lz
/bin/bash ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -static-libstdc++ -static-libgcc -o bfdtest1 bfdtest1.o ../bfd/libbfd.la ../libiberty/libiberty.a -lz
libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -static-libstdc++ -static-libgcc -o bfdtest1 bfdtest1.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -lz
/bin/bash ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -static-libstdc++ -static-libgcc -o bfdtest2 bfdtest2.o ../bfd/libbfd.la ../libiberty/libiberty.a -lz
libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -static-libstdc++ -static-libgcc -o bfdtest2 bfdtest2.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -lz
mv -f .deps/readelf.Tpo .deps/readelf.Po
/bin/bash ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -static-libstdc++ -static-libgcc -o readelf readelf.o version.o unwind-ia64.o dwarf.o elfcomm.o ../libiberty/libiberty.a -lz
libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -static-libstdc++ -static-libgcc -o readelf readelf.o version.o unwind-ia64.o dwarf.o elfcomm.o ../libiberty/libiberty.a -lz
make[4]: Leaving directory `/home/ubuntu/build/binutils-2.24/binutils'
make[3]: Leaving directory `/home/ubuntu/build/binutils-2.24/binutils'
make[2]: Leaving directory `/home/ubuntu/build/binutils-2.24/binutils'
make[1]: Leaving directory `/home/ubuntu/build/binutils-2.24'
make: * [all] Error 2

comment:4 Changed 4 years ago by gk

That snippet does not contain the error. It happened earlier. Zipping the log and attaching that might help. My current guess is that you don't have enough RAM. The default one is 2000 MiB which seems to be not enough these days. Could you raise the amount of RAM you give to KVM by doing something like export VM_MEMORY=4000 which would give it 4000 MiB and test if that solves your problem?

comment:5 Changed 4 years ago by torbuider_ubuntu

I found one message saying that flex was not found. I installed that. Also got an upgrade on tor. I am already running the nightly build. If it does not work< I will try what you suggest.

Changed 4 years ago by torbuider_ubuntu

Attachment: build.log.gz added

build.log for "make"; gzipped

comment:6 Changed 4 years ago by torbuider_ubuntu

--- Building utils-linux for lucid i386 ---
Stopping target if it is up
Making a new image copy
Formatting 'target-lucid-i386.qcow2', fmt=qcow2 size=17179869184 backing_file='base-lucid-i386.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Starting target
Checking if target is up
Preparing build environment
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Grabbing package manifest
Creating build script (var/build-script)
Running build script (log in var/build.log)
./bin/gbuild:21:in `system!': failed to run on-target setarch i386 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)

from ./bin/gbuild:122:in `build_one_configuration'
from ./bin/gbuild:224:in `block (2 levels) in <main>'
from ./bin/gbuild:219:in `each'
from ./bin/gbuild:219:in `block in <main>'
from ./bin/gbuild:217:in `each'
from ./bin/gbuild:217:in `<main>'

make: * [build] Error 1

comment:7 Changed 4 years ago by gk

Could you check if you have still running qemu processes (e.g. via ps aux | grep qemu), kill them and restart the build? If it is still failing, please attach the zipped build.log again, thanks.

comment:8 Changed 4 years ago by torbuider_ubuntu

yes. will kill it and retry

6224 0.1 8.8 6670704 1453600 pts/7 Sl Jun11 6:52 qemu-system-x86_64 -enable-kvm -m 2000 -smp 2 -drive file=target-precise-amd64.qcow2,cache=writeback,if=virtio -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:2223-:22 -vnc 127.0.0.1:16

comment:9 Changed 4 years ago by torbuider_ubuntu

I got much farther in the build. I found out that I had run out of disk space. I fixed that, restarted the build and got these results.
Mac Bundle complete

torsocks ../tools/update-responses/download_missing_versions release
03:58:19 libtorsocks(27414): WARNING: The symbol res_query() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_query() with the reported error: Not Found

03:58:19 libtorsocks(27414): WARNING: The symbol res_search() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_search() with the reported error: Not Found

03:58:19 libtorsocks(27414): WARNING: The symbol res_send() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_send() with the reported error: Not Found

03:58:19 libtorsocks(27414): WARNING: The symbol res_querydomain() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_querydomain() with the reported error: Not Found

03:58:19 libtorsocks(27415): WARNING: The symbol res_query() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_query() with the reported error: Not Found

03:58:19 libtorsocks(27415): WARNING: The symbol res_search() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_search() with the reported error: Not Found

03:58:19 libtorsocks(27415): WARNING: The symbol res_send() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_send() with the reported error: Not Found

03:58:19 libtorsocks(27415): WARNING: The symbol res_querydomain() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_querydomain() with the reported error: Not Found

03:58:19 libtorsocks(27412): WARNING: The symbol res_query() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_query() with the reported error: Not Found

03:58:19 libtorsocks(27412): WARNING: The symbol res_search() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_search() with the reported error: Not Found

03:58:19 libtorsocks(27412): WARNING: The symbol res_send() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_send() with the reported error: Not Found

03:58:19 libtorsocks(27412): WARNING: The symbol res_querydomain() was not found in any shared library with the reported error: Not Found!

Also, we failed to find the symbol res_querydomain() with the reported error: Not Found

Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at ../tools/update-responses/download_missing_versions line 8.
BEGIN failed--compilation aborted at ../tools/update-responses/download_missing_versions line 8.
make: * [incrementals] Error 2
There is a report on the symbols- Debian Bug report logs - #636943
That has been around along time. Even using a newer version of tor does not fix it.
I then installed the missing perl module and am restarting the build.

Changed 4 years ago by torbuider_ubuntu

Attachment: build.log.2.gz added

build log 06/16/15

comment:10 Changed 4 years ago by gk

Resolution: not a bug
Status: newclosed
Mac Bundle complete

This actually means you are done building Tor Browser, congratulations! Everything is working for you then. The remaining part that is breaking due to missing dependencies is only needed for creating the incremental update files.

Closing your issue as not-a-bug then.

Note: See TracTickets for help on using tickets.