Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603318 - =dev-php/PEAR-Console_Table-1.1.6: Does not build with php cli set to php 7 / bump to 1.3.0
Summary: =dev-php/PEAR-Console_Table-1.1.6: Does not build with php cli set to php 7 /...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-21 11:15 UTC by Hanno Böck
Modified: 2016-12-21 14:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2016-12-21 11:15:15 UTC
When I have my system wide php cli set to php 7.0 or 7.1 I can't compile dev-php/PEAR-Console_Table:

>>> Install PEAR-Console_Table-1.1.6 into /var/tmp/portage/dev-php/PEAR-Console_Table-1.1.6/image/ category dev-php

Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/php/PEAR/Frontend.php on line 91
 * ERROR: dev-php/PEAR-Console_Table-1.1.6::gentoo failed (install phase):


Upstream has released 1.3.0 which according to its changelog has some php7 related fixes. So I assume bumping the version will probably fix this:
https://pear.php.net/package/Console_Table/download/
Comment 1 Brian Evans (RETIRED) gentoo-dev 2016-12-21 14:52:50 UTC
Version bump'd