FS#74981 - [mediawiki] equivset component missing

Attached to Project: Community Packages
Opened by Jim Casteel (skunark) - Tuesday, 07 June 2022, 02:52 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 02 July 2022, 15:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Equivset required by the newly bundled AbuseFilter extension:


Additional info:
* package version(s)
1.38.0-2

* config and/or log files etc.
Error: Class "Wikimedia\Equivset\Equivset" not found

* link to upstream bug report, if any: nothing found on fabricator, i assume it's an issue with the php composer step, still digging

Steps to reproduce:

Add the following to the LocalSettings.php and attempt to do an edit
wfLoadExtension( 'AbuseFilter' );
This task depends upon

Closed by  Sergej Pupykin (sergej)
Saturday, 02 July 2022, 15:34 GMT
Reason for closing:  Fixed
Comment by Jim Casteel (skunark) - Tuesday, 07 June 2022, 16:19 GMT
I managed to work around the issue by running the same composer update command in the PKGBUILD in the vendor directory. I feel like this is a mediawiki bug if you agree I can make sure it’s filed upstream.
Comment by Jim Casteel (skunark) - Wednesday, 08 June 2022, 04:15 GMT Comment by Jim Casteel (skunark) - Saturday, 11 June 2022, 03:32 GMT
Some further investigation, I believe we have two bugs here. I don't believe the PKGBUILD needs the composer step, well at least not for the extensions i've enabled. If there is a reason for it, it might be best to add a comment in the line above.

I also believe the composer step is still missing the build dependency for abusefilter. So if you do run composer, you will also at least need to run it again in the vendor directory.
Comment by Jim Casteel (skunark) - Wednesday, 29 June 2022, 01:31 GMT
Based on the comments for the merged bug on mediawiki, I get the hint the composer step in PKGBUILD should not happen.
Comment by Sergej Pupykin (sergej) - Saturday, 02 July 2022, 14:34 GMT
I think it is fixed in 1.38.2-1.
Comment by Jim Casteel (skunark) - Saturday, 02 July 2022, 15:30 GMT
I've updated to this release and all is good from my end now. Thanks!

Loading...