Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16472 - [devtools] add sudo to depends or optdepends

Attached to Project: Arch Linux
Opened by Andrea Scarpino (BaSh) - Monday, 05 October 2009, 16:38 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 06 October 2009, 15:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
building union chroot
moving build files to chroot
Setting PKGDEST in makepkg.conf
Setting SRCDEST in makepkg.conf
allowing 'nobody' sudo rights in the chroot
mounting sysfs : /sys
mounting procfs : /proc
binding device nodes : /dev
binding pacman cache : /var/cache/pacman
copying mtab : /etc/mtab
copying resolv.conf : /etc/resolv.conf
starting chroot (/chrootbuild)
/chrootbuild: line 5: sudo: command not found
cleaning up mounts
Build failed, check /home/bash/projects/archlinux/chroot/rw/build
cleaning up unioned mounts

Additional info:
* devtools 0.7.0-1

Steps to reproduce:
remove sudo package in the chroot and try to build a package with makechrootpkg
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 06 October 2009, 15:24 GMT
Reason for closing:  Not a bug
Comment by Aaron Griffin (phrakture) - Monday, 05 October 2009, 19:25 GMT
$ makechrootpkg -h
usage makechrootpkg [options] -r <chrootdir> [--] [makepkg args]
Run this script in a PKGBUILD dir to build a package inside a
clean chroot. All unrecognized arguments passed to this script
will be passed to makepkg.

The chroot dir consists of the following directories:
<chrootdir>/{root, rw, union} but only 'root' is required
by default. The rest will be created as needed

The chroot 'root' directory must be created via the following
command:
mkarchroot <chrootdir>/root base base-devel sudo
...

Comment by Aaron Griffin (phrakture) - Monday, 05 October 2009, 19:26 GMT
Note that this has nothing to do with sudo being installed on the system and has everything to do with how the chroot itself is constructed.
Comment by Allan McRae (Allan) - Tuesday, 06 October 2009, 07:48 GMT
So.... Not a Bug?
Comment by Andrea Scarpino (BaSh) - Tuesday, 06 October 2009, 15:24 GMT
...I didn't read 'sudo' after base-devel, I simply installed the two groups. thanks

Loading...