sbuild is not included in schroot made by mk-sbuild-lv

Bug #408458 reported by Stefhen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ubuntu-dev-tools

After creating a schroot via:

$ mk-sbuild-lv media jaunty

The sbuild command is no where to be found inside my chroot.

...

Setting up liblockfile1 (1.08-3) ...

Setting up lockfile-progs (0.1.11ubuntu2) ...
Setting up devscripts (2.10.39ubuntu7) ...

Setting up fakeroot (1.12.1ubuntu1) ...

Setting up pkg-create-dbgsym (0.26) ...
Setting up pkgbinarymangler (57) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Done building jaunty.

 To CHANGE the golden image: schroot -c jaunty-source -u root
 To ENTER an image snapshot: schroot -c jaunty
 To BUILD within a snapshot: sbuild -d jaunty PACKAGE*.dsc

$ schroot -c jaunty -u root
I: [jaunty-eee88885-d0dd-471b-8524-097dbff63e8c chroot] (hovland?root) Running login shell: ?/bin/bash?
(jaunty)root@xbmc:/home/hovland# sbuild
-bash: sbuild: command not found
(jaunty)root@xbmc:/home/hovland# find / -name 'sbuild'
(jaunty)root@xbmc:/home/hovland# logout
hovland@xbmc:~
$ which sbuild
/usr/bin/sbuild

hovland@xbmc:~
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
hovland@xbmc:~

$ apt-cache policy ubuntu-dev-tools
ubuntu-dev-tools:
  Installed: 0.72
  Candidate: 0.72
  Version table:
 *** 0.72 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Iain Lane (laney) wrote :

Hello,

Thanks for your report, but I do not think this is a bug. sbuild is supposed to be invoked from your real system and performs the build inside the chroot. It does not need to be available inside the chroot for this.

Iain

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Invalid
Revision history for this message
Kees Cook (kees) wrote :

sbuild should be used outside of your chroots -- it manipulates them directly.

Revision history for this message
Stefhen (res0nat0r) wrote :

Oops, sorry my mistake.

I was following the tutorial here:

https://help.ubuntu.com/community/SbuildLVMHowto

From the "using sbuild" section it seemed to me that this should be run right after entering the chroot from the way the documentation read, should I try and see if this should be clarified in the wiki?

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.