Closed Bug 1367032 Opened 7 years ago Closed 7 years ago

libxss-dev is missing from mach bootstrap

Categories

(Firefox Build System :: Mach Core, enhancement)

x86_64
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ato, Assigned: ato)

Details

Attachments

(1 file)

libxss-dev is required for compiling Firefox and missing from `./mach bootstrap`.
Assignee: nobody → ato
Status: NEW → ASSIGNED
Comment on attachment 8870386 [details]
Bug 1367032 - Bootstrap libxss-dev on Debian;

https://reviewboard.mozilla.org/r/141836/#review146196

It isn't clear to me what feature relies on this because `mach build` with no mozconfig works out of the box without this change. Should we change our default configure settings to enable whatever optional feature currently relies on libxss-dev?
Attachment #8870386 - Flags: review?(gps) → review+
libxss-dev, strictly speaking, is *not* required for compiling Firefox. You can build Firefox just fine without it (it's not installed on my machine, for instance). The only difference having libxss-dev installed makes is that the screenshot tool from testing/tools/screenshot uses it when it's available. That tool is used on automation to grab screenshot of failed tests, I think.

So I don't really see a reason to land this.
Comment on attachment 8870386 [details]
Bug 1367032 - Bootstrap libxss-dev on Debian;

https://reviewboard.mozilla.org/r/141836/#review146198

Changing to r- per glandium's comment.
Attachment #8870386 - Flags: review+ → review-
(In reply to Mike Hommey [:glandium] from comment #3)
> libxss-dev, strictly speaking, is *not* required for compiling Firefox. You
> can build Firefox just fine without it (it's not installed on my machine,
> for instance). The only difference having libxss-dev installed makes is that
> the screenshot tool from testing/tools/screenshot uses it when it's
> available. That tool is used on automation to grab screenshot of failed
> tests, I think.
> 
> So I don't really see a reason to land this.

`./mach build` fails on a default Debian installation if libxss-dev is not
installed.  I think this means that testing/tools/screenshot is compiled by
default, which it may not should be?
You'll have to provide a build log, because as I said, it works on my machine. And testing/tools/screenshot compiles fine when libxss-dev is not installed. There are #ifdefs removing the code that uses it when it's not there.
Purging libxss-dev and x11proto-scrnsaver-dev, I’m no longer able to reproduce this.  The reason I filed the bug in the first place was because I had a build failure on this after setting up my new machine.  I… don’t exactly know what has changed in the interim.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: