Sunil Mohan Adapa
2016-05-11 14:10:02 UTC
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)
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)