Open
Bug 905290
Opened 12 years ago
Updated 3 years ago
bootstrap fails if user is not in the sudoers file (root / su) support
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: kbrosnan, Unassigned)
Details
Fedora 19 x64 - the defaults for the installer in Fedora does not make the user an Administrator / sudo user.
[kbrosnan@host-5-240 src]$ ./bootstrap.py
Executing as root: sudo yum groupinstall "Development Tools" "Development Libraries" "GNOME Software Development"
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for kbrosnan:
kbrosnan is not in the sudoers file. This incident will be reported.
Traceback (most recent call last):
File "./bootstrap.py", line 142, in <module>
sys.exit(main(sys.argv))
File "./bootstrap.py", line 133, in main
dasboot.bootstrap()
File "/tmp/tmpVrDDFn/mozboot/bootstrap.py", line 78, in bootstrap
try:
File "/tmp/tmpVrDDFn/mozboot/fedora.py", line 20, in install_system_packages
File "/tmp/tmpVrDDFn/mozboot/base.py", line 115, in yum_groupinstall
File "/tmp/tmpVrDDFn/mozboot/base.py", line 103, in run_as_root
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[u'sudo', u'yum', u'groupinstall', 'Development Tools', 'Development Libraries', 'GNOME Software Development']' returned non-zero exit status 1
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•8 years ago
|
Component: General → Bootstrap Configuration
Comment 1•4 years ago
|
||
Same applies to "mach bootstrap"
Running the bootstrap as root doesn't work either.
At the very least, if there is no workaround, then sudo access should be listed as a requirement on https://firefox-source-docs.mozilla.org/setup/linux_build.html
Comment 2•4 years ago
|
||
never mind, found "mach bootstrap --no-system-changes" which worked for me.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•