Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452304 - www-apps/owncloud should depends on dev-lang/php[hash]
Summary: www-apps/owncloud should depends on dev-lang/php[hash]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 13:43 UTC by grischa
Modified: 2013-01-17 12:25 UTC (History)
2 users (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 grischa 2013-01-15 13:43:33 UTC
Hi,

owncloud 4.5.5 depends on php[hash].
could you please add it to the ebuild?

#error:
Else you will get the following critical error:

PHP Fatal error:  Call to undefined function hash() in owncloud/apps/media/lib_media.php on line 35

the lib_media app is part of the standard owncloud install and activated by default.

#effect:
You will get a blank page after you login for the first time.
A reload of the empty page will give you the owncloud interface. 
(i guess lib_media isn't called than...)

#note:
btw, the php docu states for the hash function that you require:
(PHP 5 >= 5.1.2, PECL hash >= 1.1)
maybe also add this?

#quick fix:
rebuild php with useflag hash
Comment 1 grischa 2013-01-15 14:40:44 UTC
#forgot to mention:
its related to /package/www-apps/owncloud
Comment 2 Bernard Cafarelli gentoo-dev 2013-01-17 12:25:12 UTC
Thanks for the report! This was probably not seen before as the hash USE-flag is enabled by default.
Anyway, I updated current ebuilds in tree to depend on php[hash]