Closed Bug 1640064 Opened 5 years ago Closed 5 years ago

./mach bootstrap is always failure on debian/sid

Categories

(Firefox Build System :: Bootstrap Configuration, defect, P3)

Unspecified
Linux
defect

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: m_kato, Assigned: mhentges)

Details

(Keywords: in-triage)

Attachments

(1 file)

Related to bug 1626098, debian/sid has no python-pip, so ./mach bootstrap is always failure by the following log.

Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-pip

E: Package 'python-pip' has no installation candidate
Error running mach:

    ['bootstrap']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

subprocess.CalledProcessError: Command '['sudo', 'apt-get', 'install', 'autoconf2.13', 'build-essential', 'nodejs', 'python-setuptools', 'unzip', 'uuid', 'zip', 'python-pip', 'python-dev']' returned non-zero exit status 100.

  File "/mozilla/mozilla-central/python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
    bootstrapper.bootstrap()
  File "/mozilla/mozilla-central/python/mozboot/mozboot/bootstrap.py", line 457, in bootstrap
    self.instance.install_system_packages()
  File "/mozilla/mozilla-central/python/mozboot/mozboot/debian.py", line 128, in install_system_packages
    self.apt_install(*packages)
  File "/mozilla/mozilla-central/python/mozboot/mozboot/base.py", line 428, in apt_install
    self.run_as_root(command)
  File "/mozilla/mozilla-central/python/mozboot/mozboot/base.py", line 384, in run_as_root
    subprocess.check_call(command, stdin=sys.stdin)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)

If you do ./mach python -c "import distro; print(distro.linux_distribution(full_distribution_name=False))" what is the result? I don't have a machine with debian/sid on hand so I just want to make sure I'm checking the right thing before I write a quick patch.

Flags: needinfo?(m_kato)

(In reply to Ricky Stewart from comment #1)

If you do ./mach python -c "import distro; print(distro.linux_distribution(full_distribution_name=False))" what is the result? I don't have a machine with debian/sid on hand so I just want to make sure I'm checking the right thing before I write a quick patch.

(u'debian', u'unstable', u'sid')
Flags: needinfo?(m_kato)
Severity: -- → S3
Keywords: in-triage
Priority: -- → P3
Assignee: nobody → mhentges
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df8bd16c2935 Don't attempt to install python-pip (py2) on Debian Sid r=rstewart
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: