Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643366 - Bump www-apps/mythweb-0.28.1 to 33.1 (fixed compatibility with PHP 8.1, MySQL 8)
Summary: Bump www-apps/mythweb-0.28.1 to 33.1 (fixed compatibility with PHP 8.1, MySQL 8)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major with 1 vote (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 06:19 UTC by Brendan Shanks
Modified: 2023-07-18 18:22 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mythweb-29.1.ebuild (mythweb-29.1.ebuild,1.59 KB, text/plain)
2019-01-04 19:18 UTC, Brendan Shanks
Details
MythWeb 31.0 (mythweb-31.0.ebuild,1.59 KB, text/plain)
2020-04-25 18:17 UTC, Brendan Shanks
Details
MythWeb 32.0 ebuild (mythweb-32.0.ebuild,1.59 KB, text/plain)
2022-04-13 17:04 UTC, Brendan Shanks
Details
MythWeb 32.0 ebuild (mythweb-32.0.ebuild,1.69 KB, text/plain)
2022-04-15 16:26 UTC, Brendan Shanks
Details
MythWeb 33.1 ebuild (mythweb-33.1.ebuild,1.66 KB, text/plain)
2023-07-18 18:21 UTC, Brendan Shanks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Shanks 2018-01-04 06:19:32 UTC
www-apps/mythweb-0.28.1 is not compatible with PHP 7.1 (now stable on amd64), I get the following error:

[Wed Jan 03 22:04:18.518802 2018] [php7:error] [pid 12640:tid 140369689814784] [client xx] PHP Fatal error:  Cannot use $this as parameter in /var/www/localhost/htdocs/mythweb/includes/utils.php on line 218

Upstream tracked this as bug #12981 (https://code.mythtv.org/trac/ticket/12981), and a fix was cherry-picked back to the fixes/0.28 branch (https://github.com/MythTV/mythweb/commits/fixes/0.28).

Either packaging an ebuild with the latest fixes/0.28 snapshot or just applying the patch to the 0.28.1 ebuild should work.
Comment 1 Preston Crow 2018-02-23 01:14:24 UTC
I can confirm that I saw this bug, and that upgrading to mythweb-0.28.2 solves it.

See bug 648564 for ebuilds if you want them before they show up.
Comment 2 Brendan Shanks 2019-01-04 19:17:34 UTC
Now that media-tv/mythweb is updated to 29.1, mythweb should be as well. MythWeb is in maintenance mode so there's not that many changes between 28.1 and 29.1, most important is fixing compatibility with PHP 7.1+. The attached ebuild is working for me with PHP 7.2.10 (although there are some warnings that show up in the rendered pages)
Comment 3 Brendan Shanks 2019-01-04 19:18:29 UTC
Created attachment 559864 [details]
mythweb-29.1.ebuild
Comment 4 Brendan Shanks 2020-04-25 18:16:35 UTC
MythWeb 31 is out and should work fine with MythTV 0.29, 30, and 31. All the changes are to fix PHP and MySQL errors. I"m using it with Apache and MythTV 30 and is working great.
Comment 5 Brendan Shanks 2020-04-25 18:17:07 UTC
Created attachment 634556 [details]
MythWeb 31.0
Comment 6 Steve Evans 2021-12-15 17:10:18 UTC
mysql fixes/31 is now compatible with php 8, see https://github.com/MythTV/mythweb/commit/793267a8285bd13b6a0fc76702e9fd9c7810cb26. So bumping it to this version would be good. I have tested the changes and they work for me with php 8.
Comment 7 Brendan Shanks 2022-04-13 17:04:12 UTC
Created attachment 770660 [details]
MythWeb 32.0 ebuild

Bumped for MythWeb 32.0, I tested with PHP 8.0 and seems to be working. Has minimal changes since 31.0, so this should work with MythTV 31 also.
Comment 8 Brendan Shanks 2022-04-15 16:26:24 UTC
Created attachment 770933 [details]
MythWeb 32.0 ebuild

New rev of the 32.0 ebuild, fixed the php RDEPEND use flags for 8.0
Comment 9 Brendan Shanks 2023-07-18 18:21:21 UTC
Created attachment 865751 [details]
MythWeb 33.1 ebuild
Comment 10 Brendan Shanks 2023-07-18 18:22:33 UTC
Added the ebuild for v33.1, includes fixes for PHP 8.1.