Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583080 - www-apps/baikal-0.4.4: requires dev-lang/php with 'json' USE enabled
Summary: www-apps/baikal-0.4.4: requires dev-lang/php with 'json' USE enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-15 09:35 UTC by Sebastian
Modified: 2016-05-24 08:46 UTC (History)
1 user (show)

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 Sebastian 2016-05-15 09:35:57 UTC
Hello,

baikal-0.4.4 needs php to be built with USE=json. Otherwise on the server you get these errors when somebody tries to upload a new contact:

[Sun May 15 11:21:50.441623 2016] [:error] [pid 6780:tid 139912671721216] [client x.x.x.x:59018] PHP Fatal error:  Interface 'JsonSerializable' not found in /var/www/localhost/htdocs/baikal/vendor/sabre/vobject/lib/Node.php on line 18

diff -Nur baikal-0.4.4.ebuild.orig baikal-0.4.4.ebuild
--- baikal-0.4.4.ebuild.orig	2016-05-15 11:29:43.974083385 +0200
+++ baikal-0.4.4.ebuild	2016-05-15 11:30:02.813865093 +0200
@@ -15,7 +15,7 @@
 IUSE="+mysql sqlite"
 REQUIRED_USE="|| ( mysql sqlite )"
 
-RDEPEND=">=dev-lang/php-5.5[ctype,filter,pdo,session,xml,xmlreader,xmlwriter,mysql?,sqlite?]
+RDEPEND=">=dev-lang/php-5.5[ctype,filter,json,pdo,session,xml,xmlreader,xmlwriter,mysql?,sqlite?]
 	mysql? ( virtual/mysql )
 	sqlite? ( dev-db/sqlite )
 	virtual/httpd-php"
Comment 1 Fabian Groffen gentoo-dev 2016-05-24 08:46:48 UTC
pushed, sorry for the long wait!