Closed Bug 1616023 Opened 4 years ago Closed 4 years ago

Moz-phab self update broken by libphutil deprecating master branch

Categories

(Conduit :: moz-phab, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bomsy, Assigned: zalun)

References

Details

(Keywords: conduit-triaged)

Attachments

(2 files)

Attached image mozphab_error.png

I started getting

ERROR: Unable to load libphutil. Put libphutil/ next to arcanist/, or update your PHP 'include_path' to include the parent directory of libphutil/, or symlink libphutil/ into arcanist/externals/includes/

after a moz-phab auto update.
It looks like the issue is libphutil deprecated the master branch 5 days ago which moz-phab pulls from
https://github.com/phacility/libphutil/tree/master

There seems to be a stable branch still existing ..

Keywords: conduit-triaged
Priority: -- → P1

A source of confusion: in my case, the .mozbuild folder contained an arcanist folder and a libphutil folder. But those were not the relevant ones. The relevant ones were in .mozbuild/moz-phab/`. Thanks to Hubert for pointing this out.

Assignee: nobody → pzalewa
Status: NEW → ASSIGNED

Confirmed to fix the issue by doing:

cd ~/.mozbuild/moz-phab
rm -rf libphutil
git clone https://github.com/phacility/libphutil
cd libphutil
git co stable

moz-phab submit // WORKS

To solve the issue please run following:

rm -rf ~/.mozbuild/moz-phab/arcanist
rm -rf ~/.mozbuild/moz-phab/libphutil
moz-phab self-update
moz-phab arc help
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: