[tbb-dev] trouble building tor-browser-bundle.git

Arthur D. Edelstein arthuredelstein at gmail.com
Sat Apr 8 04:55:06 UTC 2017


Thanks, David! Unfortunately I then ran into another problem, that
looks like it might be caused by your workaround ("Failed to find an
lxc-init"). Or maybe I didn't mimic what you did correctly? In any
case, I'll try to investigate tomorrow.

Here's the part where it fails:

****** Starting Utilities Component of Linux Bundle (1/7 for Linux) ******

--- Building utils-linux for wheezy i386 ---
Stopping target if it is up
Making a new image copy
lxc-execute: Failed to find an lxc-init
lxc-execute: invalid sequence number 1. expected 4
lxc-execute: failed to spawn 'gitian'
lxc-execute: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/perf_event/lxc/gitian-1
lxc-execute: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/blkio/lxc/gitian-1
lxc-execute: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/net_cls,net_prio/lxc/gitian-1
lxc-execute: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/freezer/lxc/gitian-1
lxc-execute: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/devices/lxc/gitian-1
lxc-execute: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/cpu,cpuacct/lxc/gitian-1
lxc-execute: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/cpuset/lxc/gitian-1
./bin/gbuild:21:in `system!': failed to run make-clean-vm --suite
wheezy --arch i386 (RuntimeError)
    from ./bin/gbuild:57:in `build_one_configuration'
    from ./bin/gbuild:284:in `block (2 levels) in <main>'
    from ./bin/gbuild:279:in `each'
    from ./bin/gbuild:279:in `block in <main>'
    from ./bin/gbuild:277:in `each'
    from ./bin/gbuild:277:in `<main>'


On Fri, Apr 7, 2017 at 6:08 PM, David Fifield <david at bamsoftware.com> wrote:
> On Fri, Apr 07, 2017 at 05:35:10PM -0700, Arthur D. Edelstein wrote:
>> Hi all,
>>
>> I'm running into the following build errors when I enter
>> `./mkbundle-linux.sh versions.nightly`:
>>
>> I: Base system installed successfully.
>> cp: cannot stat
>> ���base-jessie-amd64-bootstrap/usr/lib/x86_64-linux-gnu/lxc/lxc-init���:
>> No such file or directory
>> cp: cannot stat ���base-jessie-amd64���: No such file or directory
>> amd64 jessie VM creation failed
>>
>> Any advice on what I might be doing wrong? My build machine is jessie
>> 8.7, in case it's relevant.
>
> I got this a few days ago and was going to file a bug. It's cause by the
> fact that on jessie, /usr/sin/init.lxc already exists; there's no need
> to copy it from /usr/lib/lxc/lxc-init.
>
> I worked around it by adding an additional guard in bin/make-base-vm:
>         # Fix lxc issue
>         if [! -f $OUT-bootstrap/usr/sbin/init.lxc]
>         then
>         ...
>         fi
> _______________________________________________
> tbb-dev mailing list
> tbb-dev at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-dev


More information about the tbb-dev mailing list