#9752 closed defect (worksforme)
Gitian LXC build fails to find 'base-lucid-amd64'
Reported by: | dcf | Owned by: | erinn |
---|---|---|---|
Priority: | Medium | Milestone: | |
Component: | Applications/Tor bundles/installation | Version: | |
Severity: | Keywords: | tbb-3.0, gitian | |
Cc: | mikeperry, arlolra, gk, mcs, brade | Actual Points: | |
Parent ID: | Points: | ||
Reviewer: | Sponsor: |
Description
I tried doing the Gitian build for the first time, so this ticket might be because I'm doing something wrong. It appears to have successfully build "tor-linux for lucid i386", but then failed at "tor-linux for lucid amd64".
What I did to set up the Ubuntu build VM:
http://releases.ubuntu.com/precise/ubuntu-12.04.3-server-amd64.iso qemu-img create -f qcow2 ubuntu-12.04-server-amd64-gitian.hda 50G kvm -k en-us -hda ubuntu-12.04-server-amd64-gitian.hda -m 2G -smp 4 -cdrom ubuntu-12.04.3-server-amd64.iso Install Ubuntu English United States Detect keyboard layout? No English (US) English (US) ubuntu ubuntu ubuntu password Encrypt your home directory? No Is this time zone correct? No UTC Guided - use entire disk and setup LVM Write the changes to disk? Yes Continue Write the changes to disk? Yes No HTTP proxy No automatic updates [*] OpenSSH server Install the GRUB boot loader to the master boot record? Yes Reboot
Here's what I see at the end of the build output.
****** Starting Tor Component of Linux Bundle (1/3 for Linux) ****** --- Building tor-linux for lucid i386 --- Stopping target if it is up Making a new image copy [16426.724888] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) Starting target Checking if target is up[16450.761484] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) [16451.589736] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) Preparing build environment [16452.389545] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) passwd: password expirty information changed. [16454.072930] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) [16455.172731] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) [16458.417791] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) Updating apt-get repository (log in var/install.log) [16459.423093] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) Installing additional packages (log in var/install.log) [16499.505049] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) Grabbing package manifest [16559.665726] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) stdin: is not a tty Creating build script (var/build-script) [16611.725550] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) [16632.581591] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) [16639.569632] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) Running build script (log in var/build.log) [16645.723896] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) Grabbing results [17443.934498] EXT3-fs (loop7): error: couldn't mount because of unsupported optional features (240) --- Building tor-linux for lucid amd64 --- Stopping target if it is up Making a new image copy cp: cannot stat `base-lucid-amd64': No such file or directory ./bin/gbuild:21:in `system!': failed to run make-clean-vm --suite lucid --arch amd64 (RuntimeError) from ./bin/gbuild:57:in `build_one_configuration' from ./bin/gbuild:223 from ./bin/gbuild:218:in `each' from ./bin/gbuild:218 from ./bin/gbuild:216:in `each' from ./bin/gbuild:216 make: *** [build] Error 1
Child Tickets
Attachments (1)
Change History (7)
comment:1 Changed 6 years ago by
Cc: | g.koppen@… added |
---|
comment:2 Changed 6 years ago by
Cc: | mcs brade added |
---|
Changed 6 years ago by
Attachment: | tor-browser-bundle-lxc-patch.txt added |
---|
proposed fix (set LXC_ARCH and LXC_SUITE when using LXC)
comment:4 Changed 6 years ago by
Our build is still going but the attached patch fixes the VM creation problem.
comment:5 Changed 6 years ago by
Cc: | gk added; g.koppen@… removed |
---|---|
Keywords: | gitian added |
Resolution: | → worksforme |
Status: | new → closed |
comment:6 Changed 6 years ago by
I just finished an LXC build without incident. (Even matched the KVM build for 3.5.3.)
Note: See
TracTickets for help on using
tickets.
Kathy Brade and I encountered the same problem. The real failure occurs during VM creation: the 32-bit VM is created OK but appears to fail, which causes creation of the 64-bit VM to be skipped, which eventually leads to the build failure. We have a patch that we are testing now and I will attach it here once I know that it works.