Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 613512

Summary: www-apps/phpsysinfo-3.2.2: does not work with PHP7
Product: Gentoo Linux Reporter: Michael M <michael.nospam1>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal CC: conikost
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/8155
https://github.com/gentoo/gentoo/pull/9095
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 615054    
Bug Blocks:    

Description Michael M 2017-03-22 08:04:42 UTC
Since PHP7 is the default PHP-Version www-apps/phpsysinfo-3.2.2 crashes.

Fatal error: Uncaught Error: Call to undefined method Error::singleton() in /var/www/localhost/htdocs/phpsysinfo/includes/output/class.Output.inc.php:40 Stack trace: #0 /var/www/localhost/htdocs/phpsysinfo/includes/output/class.Webpage.inc.php(61): Output->__construct() #1 /var/www/localhost/htdocs/phpsysinfo/index.php(56): Webpage->__construct() #2 {main} thrown in /var/www/localhost/htdocs/phpsysinfo/includes/output/class.Output.inc.php on line 40

www-apps/phpsysinfo just working with PHP7since version 3.2.5.
I tryed phpsysinfo 3.2.7 and it worked for me at several hard and
software-configurations.

Reproducible: Always

Steps to Reproduce:
1. Just call the URL via Browser.
Comment 1 Michael M 2017-03-28 09:28:11 UTC
Dear Assignee,

since default PHP changes to PHP7 some packages doesent work like
suspected. Phpsysinfo is one of these packages.

Yesterday and tody i did some tests with phpsysinfo-3.2.7 and it worked
for me quite well.

Maybe you like to add version 3.2.7 to the tree?
Maybe in an masked state?


My preparations:

cd /usr/portage/www-apps/phpsysinfo/
cp phpsysinfo-3.2.3.ebuild phpsysinfo-3.2.7.ebuild
ebuild /usr/portage/www-apps/phpsysinfo/phpsysinfo-3.2.7.ebuild manifest
# SetTheKeyWord
echo "=www-apps/phpsysinfo-3.2.7 ~amd64" >>
/etc/portage/package.accept_keywords


My testconditions:
Physical Engines:
/CN700-8237, BIOS 6.00 PG 08/27/2010
Kernel Version 	4.9.6-gentoo-r1 (SMP) i686 VIA C7 Processor 1500MHz

Kernel Version 	4.4.52-gentoo (SMP) x86_64 Intel(R) Core(TM) i7-4770
CPU @ 3.40GHz

Gigabyte Technology Co., Ltd. To be filled by O.E.M./J1900N-D3V, BIOS F3
Kernel Version 	4.9.6-gentoo-r1 (SMP) x86_64 Intel(R) Celeron(R) CPU
J1900 @ 1.99GHz

Virtual  Engines (ESXi) 3 of them.
VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform,
BIOS 6.00 07/30/2013
Kernel Version 	4.9.6-gentoo-r1 (SMP) x86_64 Intel(R) Core(TM) i7-4770
CPU @ 3.40GHz


phpsysinfo-3.2.7.ebuild has been workes with PHP 5 and with PHP7

Greetings
Comment 2 Larry the Git Cow gentoo-dev 2018-07-13 11:10:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65184af2af342314df8ac61ea7045c80e90c4e9a

commit 65184af2af342314df8ac61ea7045c80e90c4e9a
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2018-07-07 21:55:59 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2018-07-13 11:10:22 +0000

    www-apps/phpsysinfo: bump to version 3.2.10
    
    Closes: https://bugs.gentoo.org/613512
    Closes: https://bugs.gentoo.org/615054
    Closes: https://bugs.gentoo.org/636946
    Package-Manager: Portage-2.3.41, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9095
    Closes: https://bugs.gentoo.org/636946

 www-apps/phpsysinfo/Manifest                 |  1 +
 www-apps/phpsysinfo/metadata.xml             | 25 +++++++++++++++
 www-apps/phpsysinfo/phpsysinfo-3.2.10.ebuild | 48 ++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)