Bug 203174 - devel/arcanist: missing dependency on textproc/php56-dom
Summary: devel/arcanist: missing dependency on textproc/php56-dom
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 14:33 UTC by martin
Modified: 2015-09-17 23:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin 2015-09-17 14:33:39 UTC
arcanist's linter module for cppcheck needs php56-dom package.

This misleading exception appears which you can simply fix by installing the missing PHP package.


[2015-09-17 14:20:14] EXCEPTION: (PhutilAggregateException) Some linters failed:
    - PhutilMissingSymbolException: Failed to load class or interface 'DOMDocument': the class or interface 'DOMDocument' is not defined in the library map for any loaded phutil library. If this symbol was recently added or moved, your lib
rary map may be out of date. You can rebuild the map by running 'arc liberate'. For more information, see: http://www.phabricator.com/docs/phabricator/article/libphutil_Libraries_User_Guide.html at [<arcanist>/src/lint/engine/ArcanistLintE
ngine.php:273]
arcanist(), phutil()
  #0 <#2> __phutil_autoload(string) called at [<phutil>/src/__phutil_library_init__.php:25]
  #1 <#2> spl_autoload_call(string) called at [<arcanist>/src/lint/linter/ArcanistCppcheckLinter.php:73]
  #2 <#2> ArcanistCppcheckLinter::parseLinterOutput(string, integer, string, string) called at [<arcanist>/src/lint/linter/ArcanistExternalLinter.php:355]
  #3 <#2> ArcanistExternalLinter::resolveFuture(string, ExecFuture) called at [<arcanist>/src/lint/linter/ArcanistFutureLinter.php:34]
  #4 <#2> ArcanistFutureLinter::didLintPaths(array) called at [<arcanist>/src/lint/engine/ArcanistLintEngine.php:600]
  #5 <#2> ArcanistLintEngine::executeDidLintOnPaths(ArcanistCppcheckLinter, array) called at [<arcanist>/src/lint/engine/ArcanistLintEngine.php:551]
  #6 <#2> ArcanistLintEngine::executeLintersOnChunk(array, array) called at [<arcanist>/src/lint/engine/ArcanistLintEngine.php:479]
  #7 <#2> ArcanistLintEngine::executeLinters(array) called at [<arcanist>/src/lint/engine/ArcanistLintEngine.php:217]
  #8 ArcanistLintEngine::run() called at [<arcanist>/src/workflow/ArcanistLintWorkflow.php:331]
  #9 ArcanistLintWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382]

--
Thanks
Martin
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-09-17 23:38:31 UTC
A commit references this bug:

Author: grembo
Date: Thu Sep 17 23:37:58 UTC 2015
New revision: 397206
URL: https://svnweb.freebsd.org/changeset/ports/397206

Log:
  Add dependency to php5-dom required by arcanist's linter module for cppcheck

  PR:		203174
  Approved by:	mentors (implicit)

Changes:
  head/devel/arcanist/Makefile