Package: tt-rss Version: 15.7+git20151123+dfsg-5 Severity: important -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dear Maintainer, I upgraded to php7 and installed tt-rss. Neither the tt-rss updater daemon nor the web UI work. The problem is fixed after installing php-gettext package. php-gettext is supposed to be installed along with tt-rss as the former is a depndency for the later. However, as php-gettext is virually provided by php7.0-common, php- gettext package is not being installed. php7.0-common seems to provide php .so extension and not .php files as included by tt-rss. If I try to remove php- gettext, apt allows me to remove the package without removing tt-rss (as again, php7.0-common is providing tt-rss). One solution it seems is to check if gettext is available as shared library before falling back to including gettext.inc. The daemon show the following error: ● tt-rss.service - Update the Tiny Tiny RSS subscribed syndication feeds Loaded: loaded (/lib/systemd/system/tt-rss.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2016-05-11 13:42:06 UTC; 14min ago Process: 17068 ExecStart=/usr/share/tt-rss/www/update.php --daemon (code=exited, status=255) Main PID: 17068 (code=exited, status=255) May 11 13:42:06 freedombox systemd[1]: Started Update the Tiny Tiny RSS subscribed syndication feeds. May 11 13:42:06 freedombox update.php[17068]: PHP Warning: require_once(lib/gettext/gettext.inc): failed to open stream: No such file or directory in /usr/share/tt-rss/www/include/functions.php on line 100 May 11 13:42:06 freedombox update.php[17068]: PHP Fatal error: require_once(): Failed opening required 'lib/gettext/gettext.inc' (include_path='/usr/share/tt- rss/www/include:.:/usr/share/php') in /usr/share/tt- rss/www/include/functions.php on line 100 May 11 13:42:06 freedombox systemd[1]: tt-rss.service: Main process exited, code=exited, status=255/n/a May 11 13:42:06 freedombox systemd[1]: tt-rss.service: Unit entered failed state. May 11 13:42:06 freedombox systemd[1]: tt-rss.service: Failed with result 'exit-code'. The web UI shows the following error in /var/log/apache2/error.log [Wed May 11 13:56:48.930245 2016] [:error] [pid 16247] [client 192.168.122.1:53004] PHP Warning: require_once(lib/gettext/gettext.inc): failed to open stream: No such file or directory in /usr/share/tt- rss/www/include/functions.php on line 100, referer: https://192.168.122.59/tt- rss/ [Wed May 11 13:56:48.930295 2016] [:error] [pid 16247] [client 192.168.122.1:53004] PHP Fatal error: require_once(): Failed opening required 'lib/gettext/gettext.inc' (include_path='/usr/share/tt- rss/www/include:.:/usr/share/php') in /usr/share/tt- rss/www/include/functions.php on line 100, referer: https://192.168.122.59/tt- rss/ PS: The bug is being reported on a different system from the system where the bug occured. - -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXMzyAAAoJEDbDYUQMm8lxw1YQALI2mos2VCPtqJasdUjtp1hr b1uD/qz6As7De7Kzn7iA4VdgpcHBI1wdsLOU/GDOIqFV/qLt8f7SFcU1ZtoQea7Y hnj/ADgRHIPTxQktSZrQF1LiIlRz+PDYTnu7laDAH9F+gI2uYcGjG3MJ/WZPmnDs b7YyVc0vkgKlAsecPfQDRh7oADIVpYkN6GGkjp1DkPTaPpvwdHL98HhhTjXF3/Wj gCiP4e8BzAFu6hCaZsT7/8S1ibXkvBR0RgcoW2sVuQrhGh/WiZaAvXS7bGZ5jT86 d3x73nzRkYhCh5z8kJYj3Zf9lYakJhfePWxsNyEc6dRvvvYdS2gNzOUrZ4oiJiow q+FE5NpicmTN0min6V4f1UpUFu9+BqtL8bZUBLdLyZkrrrJ/7plhvWeZlwf5YI1I l+Wi9cd0o8q304sfJCw8pvLXh7ZlpGDvBN0c9J02CemSHNDxeTn5IS84lIX298Ko rVIfQwcnMZ9WafxABl9+4g9wOqzZf6xx08FSIkaD0s/er1inNuTgS6a2SAVqxRtK D00/S+tIATaq0wbDZfcbDAWQmVKWNvQ6AEVVuyfCR9qWnaB5oWLVfmX43IagC0ef DnKwm/W6Y7bzICtw+xHznHgshxAYmgjquShv4BtWTqdnqLsRQZMqlxErwzYtTgq+ a1IoHZfCDze25ynbekcQ =e4Wp -----END PGP SIGNATURE-----