Closed Bug 1774298 Opened 4 years ago Closed 4 years ago

`mach bootstrap` fails with "E: Unable to locate package watchman"

Categories

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

defect

Tracking

(firefox-esr91 unaffected, firefox-esr102 unaffected, firefox101 unaffected, firefox102 unaffected, firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox101 --- unaffected
firefox102 --- unaffected
firefox103 --- fixed

People

(Reporter: botond, Assigned: gsvelto)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Running on Debian 10 (yes, I know, it's oldstable and I should upgrade). All the same, is it necessary for watchman to be a hard dependency?

Regressed by: 1773028

Set release status flags based on info from the regressing bug 1773028

:gsvelto, since you are the author of the regressor, bug 1773028, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(gsvelto)
Severity: -- → S3
Priority: -- → P3

FWIW, removing this line makes mach bootstrap and mach build succeed, suggesting the hard dependency is not necessary.

Which version of Debian are you on? Checking pkgs.org it seems that 11+ should have that package, I'll try to make it conditional.

Flags: needinfo?(gsvelto)
Has Regression Range: --- → yes

Yeah, please upgrade ;)

Can you check if my patch fixes the problem for you?

Flags: needinfo?(botond)

With this patch I get:

TypeError: '>=' not supported between instances of 'str' and 'int'

  File "/home/botond/dev/projects/mozilla/central/python/mozboot/mozboot/mach_commands.py", line 41, in bootstrap
    mach_context=command_context._mach_context,
  File "/home/botond/dev/projects/mozilla/central/python/mozboot/mozboot/bootstrap.py", line 228, in __init__
    self.instance = cls(**args)
  File "/home/botond/dev/projects/mozilla/central/python/mozboot/mozboot/debian.py", line 73, in __init__
    if self.version >= 11:
Flags: needinfo?(botond)
Assignee: nobody → gsvelto
Attachment #9281364 - Attachment description: WIP: Bug 1774298 - Install watchman only on Debian 11+ → Bug 1774298 - Install watchman only on Debian 11+ r=andi
Status: NEW → ASSIGNED
Pushed by gsvelto@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2770ddafedd Install watchman only on Debian 11+ r=andi
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Regressions: 1776184

Set release status flags based on info from the regressing bug 1773028

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: