Michael created this task.
Michael added projects: Wikidata-Campsite, User-Michael,
Continuous-Integration-Config, phan.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.
TASK DESCRIPTION
Currently, all Lexeme builds fail with an error in phan:
counterexample
[InvalidArgumentException]
Package phan/phan at version 0.8 has a PHP requirement incompatible with
your PHP version (7.2.16)
As far as I can see, this might be caused by the interplay of 3 different
patches. First having WikibaseLexeme's phan integration-config explicitly
depend on Wikibase <https://gerrit.wikimedia.org/r/516575> for T225524
<https://phabricator.wikimedia.org/T225524>, then adjusting Wikibase's local
phan configuration to use phan 1.3.4 <https://gerrit.wikimedia.org/r/494176>
for T217018: Upgrade Wikibase extension to use newer phan
<https://phabricator.wikimedia.org/T217018> and finally to raise the php
version of the phan runner for Wikibase in the integration config from 7.0 to
7.2 <https://gerrit.wikimedia.org/r/517768>. However, that left WikibaseLexeme
with the old phan 0.8, but a new PHP 7.2 phan runner.
Full log:
00:01:17.870 [mwext-php72-phan-docker] $ /bin/bash -eu
/tmp/jenkins1200382226019678461.sh
00:01:17.874 + chmod 2777 src
00:01:17.900 [mwext-php72-phan-docker] $ /bin/bash
/tmp/jenkins6530407008460609516.sh
00:01:17.903 ++ pwd
00:01:17.903 ++ pwd
00:01:17.904 ++ pwd
00:01:17.905 ++ pwd
00:01:17.906 + exec docker run --volume
/srv/jenkins-workspace/workspace/mwext-php72-phan-docker/src:/mediawiki
--volume /srv/jenkins-workspace/workspace/mwext-php72-phan-docker/src:/src
--volume /srv/jenkins-workspace/workspace/mwext-php72-phan-docker/cache:/cache
--volume /srv/jenkins-workspace/workspace/mwext-php72-phan-docker/log:/log
--init --rm --label jenkins.job=mwext-php72-phan-docker --label
jenkins.build=278 --env-file /dev/fd/63
docker-registry.wikimedia.org/releng/mediawiki-phan:0.3.0 -m checkstyle
00:01:17.908 ++ /usr/bin/env
00:01:17.908 ++ egrep -v
'^(HOME|SHELL|PATH|LOGNAME|MAIL|HHVM_REPO_CENTRAL_PATH)='
00:01:18.311 + umask 002
00:01:18.311 + cd /mediawiki/extensions/WikibaseLexeme
00:01:18.311 + '[' '!' -f
/mediawiki/extensions/WikibaseLexeme/.phan/config.php ']'
00:01:18.311 + jq -e '.extra."phan"' composer.json
00:01:18.312 null
00:01:18.312 +
CFG_COMPOSER=vendor/mediawiki/mediawiki-phan-config/composer.json
00:01:18.313 + jq -e '.extra."phan"'
vendor/mediawiki/mediawiki-phan-config/composer.json
00:01:18.317 jq: error: Could not open file
vendor/mediawiki/mediawiki-phan-config/composer.json: No such file or directory
00:01:18.318 + PHAN_VERSION=0.8
00:01:18.318 + '[' -f .phan/config.php ']'
00:01:18.318 + export PHP_ARGS=-dextension=ast_101.so
00:01:18.318 + PHP_ARGS=-dextension=ast_101.so
00:01:18.318 + install_phan
00:01:18.318 + cd /srv/phan
00:01:18.319 + composer require phan/phan:0.8
00:01:19.466
00:01:19.477
00:01:19.478 [InvalidArgumentException]
00:01:19.478 Package phan/phan at version 0.8 has a PHP requirement
incompatible with your PHP version (7.2.16)
TASK DETAIL
https://phabricator.wikimedia.org/T226244
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Michael
Cc: Aklapper, Jdforrester-WMF, Michael, darthmon_wmde, Redabr4, Zanziii,
Sadisticturd, Nandana, A.S.Kochergin, Lahi, Gq86, GoranSMilovanovic, QZanden,
LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Lydia_Pintscher,
Mbch331, hashar, Daimona
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs