Created attachment 530968 [details] output of emerge --info I am trying to install ampache for the first time. After emerging I installed into my vhost using webapp-config: webapp-config -h yggdrasil.virt -d ampache -I ampache 3.8.3 In a browser when I navigate to https://yggdrasil.virt/ampache I get a blank page and in the webserver (lighttpd) logs I see: cat /var/log/lighttpd/error.log 2018-05-11 22:52:38: (mod_fastcgi.c.2543) FastCGI-stderr: PHP message: PHP Fatal error: Uncaught Error: Class 'Gettext\Translator' not found in /var/www/yggdrasil.virt/htdocs/ampache/lib/i18n.php:36 2018-05-11 22:52:38: (mod_fastcgi.c.2543) FastCGI-stderr: Stack trace: 2018-05-11 22:52:38: (mod_fastcgi.c.2543) FastCGI-stderr: #0 /var/www/yggdrasil.virt/htdocs/ampache/test.php(66): load_gettext() 2018-05-11 22:52:38: (mod_fastcgi.c.2543) FastCGI-stderr: #1 {main} 2018-05-11 22:52:38: (mod_fastcgi.c.2543) FastCGI-stderr: thrown in /var/www/yggdrasil.virt/htdocs/ampache/lib/i18n.php on line 36
what happens if you su to the webserver user (presumably using --shell=/bin/bash) and run ./composer.sh and then php composer.phar in the root ampache folder?
I don't have either composer.sh or composer.phar in the vhost or package directory and I don't see them anywhere using e-file.
It appears this project is using several dependencies that can be installed with dev-php/composer now. Not ideal. I was able to work around it, but this will break if ampache gets upgraded via webapp-config. I had to mkdir /var/www/localhost/htdocs/ampache/lib/{vendor,composer} - then chown those two new folders to my webserver user. Once that is done, and composer is installed, you can chown to your webserver user, cd to the ampache dir, and `composer install`. That pulled in everything that was needed local to the ampache install, and ampache now runs. I am not a package maintainer, but hopefully one can sort this out the correct way. Hope this helps.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef446edb1a0c915f8b7007be0ae51ffe3e6398f commit 0ef446edb1a0c915f8b7007be0ae51ffe3e6398f Author: Sam James <sam@gentoo.org> AuthorDate: 2020-08-30 03:26:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-30 03:26:59 +0000 profiles/package.mask: last-rite www-apps/ampache Bug: https://bugs.gentoo.org/645886 Bug: https://bugs.gentoo.org/655558 Bug: https://bugs.gentoo.org/699834 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
Package removed.