[buildd-tools-devel] Bug#630791: Wrong sbuild-up* usage in sbuild-adduser

Cyril Brulebois kibi at debian.org
Fri Jun 17 11:54:34 UTC 2011


Package: sbuild
Version: 0.62.3-1
Severity: normal

Hi,

WRT the comments in <20110617102250.GJ1854 at mraw.org> (lists.a.d.o seems
to be lagging behind a bit), it's actually during the sbuild-adduser
call that we get wrong usage info (obsolete way of calling sbuild-up*):
| $ sudo sbuild-adduser kibi
| [sudo] password for kibi: 
| Adding user `kibi' to group `sbuild' ...
| Adding user kibi to group sbuild
| Done.
| 
| # Setup tasks for sudo users:
| 
| # BUILD
| # HOME directory in chroot, user:sbuild, 0770 perms, from
| # passwd/group copying to chroot, filtered
| # Maybe source 50sbuild, or move into common location.
| 
| Next, copy the example sbuildrc file to the home directory of each user and
| set the variables for your system:
| 
|   cp /usr/share/doc/sbuild/examples/example.sbuildrc /home/kibi/.sbuildrc
| 
| Now try a build:
| 
|   cd /path/to/source
|   sbuild-update <distribution>
|   sbuild-upgrade <distribution> apt-get upgrade
|   (or "sbuild-apt <distribution> apt-get -f install"
|        first if the chroot is broken)
|   sbuild -d <distribution> <package>_<version>

Mraw,
KiBi.

-- System Information:
Debian Release: sid/experimental
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sbuild depends on:
ii  adduser                      3.113       add and remove users and groups
ii  apt-utils                    0.8.14.1    APT utility programs
ii  libsbuild-perl               0.62.3-1    Tool for building Debian binary pa
ii  perl                         5.12.3-7+b1 Larry Wall's Practical Extraction 
ii  perl-modules                 5.12.3-7    Core Perl modules

Versions of packages sbuild recommends:
ii  debootstrap                   1.0.32     Bootstrap a basic Debian system
ii  fakeroot                      1.16-1     tool for simulating superuser priv

Versions of packages sbuild suggests:
pn  deborphan                     <none>     (no description available)
ii  wget                          1.12-3.1   retrieves files from the web

-- no debconf information





More information about the Buildd-tools-devel mailing list