Bug 221254 - [WPE] Some more dependencies mising in Tools/wpe/install-dependencies
Summary: [WPE] Some more dependencies mising in Tools/wpe/install-dependencies
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Minor
Assignee: Eleni Maria Stea
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-02 05:28 PST by Eleni Maria Stea
Modified: 2021-02-04 03:59 PST (History)
5 users (show)

See Also:


Attachments
proposed patch for Tools dependencies (1.22 KB, patch)
2021-02-02 05:30 PST, Eleni Maria Stea
aperez: review-
Details | Formatted Diff | Diff
modified the patch and updated the Changelog (2.01 KB, patch)
2021-02-03 06:10 PST, Eleni Maria Stea
no flags Details | Formatted Diff | Diff
Patch for landing (1.51 KB, patch)
2021-02-04 02:38 PST, Adrian Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eleni Maria Stea 2021-02-02 05:28:39 PST
Overview:
python-psutil is missing from Debian and Tools installation stops.
Missing libegl-mesa0 aborts installation of required libegl1-mesa-dev.

Reproduce:
Try a fresh install in a recent Debian or Ubuntu system (because they lack python2 packages) where libegl-mesa0 and libegl1-mesa-dev are not installed.
Run: Tools/wpe/install-dependencies

Result:
Errors about missing packages will be generated.

Expected result:
The installation to succeed without errors.

Proposed solution:
In Tools/wpe/install-dependencies script:
python-psutil could be replaced with python3-psutil. 
libegl-mesa0 could be added before libegl1-mesa-dev.
Comment 1 Eleni Maria Stea 2021-02-02 05:30:19 PST
Created attachment 418985 [details]
proposed patch for Tools dependencies

python-psutil is replaced with python3-psutil that is present in
    Diebian/Ubuntu/Raspbian. libegl-mesa0 is added in the dependencies
    list as it's required for libegl1-mesa-dev to be installed.
Comment 2 Adrian Perez 2021-02-03 04:52:38 PST
Comment on attachment 418985 [details]
proposed patch for Tools dependencies

Patch looks fine, but you need to edit the ChangeLog before we can
accept it. The “webkit-patch” script (or “prepare-ChangeLog”) can
check your local changes and generate a skeleton of the edits in
the ChangeLog that then you can fill in.

There is a walkthrough here:

  https://trac.webkit.org/wiki/CommitterTips#Walkingyouthroughyourfirstcommit

Feel free to ask if you get stuck :)
Comment 3 Eleni Maria Stea 2021-02-03 06:10:32 PST
Created attachment 419127 [details]
modified the patch and updated the Changelog

Thank you for the review and the guidelines!
I've updated my patch and the Changelog.
Comment 4 EWS 2021-02-04 02:31:25 PST
Adrian Perez found in /Volumes/Data/worker/Commit-Queue/build/Tools/ChangeLog does not appear to be a valid reviewer according to contributors.json.
/Volumes/Data/worker/Commit-Queue/build/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Comment 5 Adrian Perez 2021-02-04 02:31:39 PST
(In reply to Eleni Maria Stea from comment #3)
> Created attachment 419127 [details]
> modified the patch and updated the Changelog
> 
> Thank you for the review and the guidelines!
> I've updated my patch and the Changelog.

Approved, thanks!
Comment 6 Adrian Perez 2021-02-04 02:37:13 PST
(In reply to EWS from comment #4)
> Adrian Perez found in
> /Volumes/Data/worker/Commit-Queue/build/Tools/ChangeLog does not appear to
> be a valid reviewer according to contributors.json.
> /Volumes/Data/worker/Commit-Queue/build/Tools/ChangeLog neither lists a
> valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case
> insensitive).

Gah! The commit-queue failed because the line:

  “Reviewed by  Adrian Perez.”

…should have been instead:

  “Reviewed by Adrian Perez de Castro.”

(Reviewer names are checked against the contents of the
“Tools/Scripts/webkitpy/common/config/contributors.json” file.)

Another option is to leave the line as:

  ”Reviewed by OOOPS.”

…and then when a reviewer sets the “r+” flag in Bugzilla, the commit queue
will edit the ChangeLog and replace “OOOPS” with the name of the reviewer.
Comment 7 Adrian Perez 2021-02-04 02:38:02 PST
Created attachment 419262 [details]
Patch for landing
Comment 8 Adrian Perez 2021-02-04 02:40:01 PST
I have posted a version with the “Reviewed by” line edited to
contain the correct name, to let the commit queue handle the
landing.
Comment 9 Eleni Maria Stea 2021-02-04 03:00:22 PST
(In reply to Adrian Perez from comment #8)
> I have posted a version with the “Reviewed by” line edited to
> contain the correct name, to let the commit queue handle the
> landing.

Thanks! And apologies I mistyped your name!
Comment 10 EWS 2021-02-04 03:02:55 PST
Committed r272365: <https://trac.webkit.org/changeset/272365>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 419262 [details].
Comment 11 Radar WebKit Bug Importer 2021-02-04 03:03:12 PST
<rdar://problem/73973784>
Comment 12 Adrian Perez 2021-02-04 03:59:37 PST
(In reply to Eleni Maria Stea from comment #9)
> (In reply to Adrian Perez from comment #8)
> > I have posted a version with the “Reviewed by” line edited to
> > contain the correct name, to let the commit queue handle the
> > landing.
> 
> Thanks! And apologies I mistyped your name!

No problem at all =]