Debian Bug report logs -
#824029
tt-rss: Fails with php7 due to missing php-gettext
Reported by: Sunil Mohan Adapa <sunil@medhas.org>
Date: Wed, 11 May 2016 14:09:02 UTC
Severity: important
Found in version tt-rss/15.7+git20151123+dfsg-5
Fixed in version tt-rss/16.8+git20160826+dfsg-1
Done: Sebastian Reichel <sre@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, sunil@medhas.org, Sebastian Reichel <sre@debian.org>:
Bug#824029; Package tt-rss.
(Wed, 11 May 2016 14:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Sunil Mohan Adapa <sunil@medhas.org>:
New Bug report received and forwarded. Copy sent to sunil@medhas.org, Sebastian Reichel <sre@debian.org>.
(Wed, 11 May 2016 14:09:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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-----
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#824029; Package tt-rss.
(Wed, 11 May 2016 16:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Sebastian Reichel <sre@debian.org>:
Extra info received and forwarded to list.
(Wed, 11 May 2016 16:03:04 GMT) (full text, mbox, link).
Message #10 received at 824029@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
block 824029 by 823815
thanks
Hi Sunil,
On Wed, May 11, 2016 at 07:36:59PM +0530, Sunil Mohan Adapa wrote:
> 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.
This is https://bugs.debian.org/823815 . Fixing it requires changes
to either php-gettext or php7.0-common first.
-- Sebastian
[signature.asc (application/pgp-signature, inline)]
Added blocking bug(s) of 824029: 823815
Request was from Sebastian Reichel <sre@debian.org>
to control@bugs.debian.org.
(Wed, 11 May 2016 16:03:08 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Sebastian Reichel <sre@debian.org>:
Bug#824029; Package tt-rss.
(Wed, 18 May 2016 04:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Sunil Mohan Adapa <sunil@medhas.org>:
Extra info received and forwarded to list. Copy sent to Sebastian Reichel <sre@debian.org>.
(Wed, 18 May 2016 04:48:04 GMT) (full text, mbox, link).
Message #17 received at 824029@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On 05/11/2016 09:30 PM, Sebastian Reichel wrote:
[...]
>
> This is https://bugs.debian.org/823815 . Fixing it requires changes
> to either php-gettext or php7.0-common first.
https://bugs.debian.org/823815 has been fixed by removing php-gettext
from provides list. I have tested that removing php-gettext removes
tt-rss and installing tt-rss installs php-gettext.
I believe this bug can now be closed.
--
Sunil
PS: Thanks for an awesome package.
[signature.asc (application/pgp-signature, attachment)]
Reply sent
to Sebastian Reichel <sre@debian.org>:
You have taken responsibility.
(Sun, 28 Aug 2016 23:27:10 GMT) (full text, mbox, link).
Notification sent
to Sunil Mohan Adapa <sunil@medhas.org>:
Bug acknowledged by developer.
(Sun, 28 Aug 2016 23:27:10 GMT) (full text, mbox, link).
Message #22 received at 824029-close@bugs.debian.org (full text, mbox, reply):
Source: tt-rss
Source-Version: 16.8+git20160826+dfsg-1
We believe that the bug you reported is fixed in the latest version of
tt-rss, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 824029@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Reichel <sre@debian.org> (supplier of updated tt-rss package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 29 Aug 2016 00:45:27 +0200
Source: tt-rss
Binary: tt-rss
Architecture: source all
Version: 16.8+git20160826+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Sebastian Reichel <sre@debian.org>
Changed-By: Sebastian Reichel <sre@debian.org>
Description:
tt-rss - Tiny Tiny RSS - web-based news feed (RSS/Atom) aggregator
Closes: 773236 822374 824029
Changes:
tt-rss (16.8+git20160826+dfsg-1) unstable; urgency=low
.
* New git snapshot
* Recommend php-curl (Closes: #822374)
* Fix php-gettext dependency (Closes: #824029)
* Update Debian Standards Version to 3.9.8
* Use canonical, secure VCS urls
* Update patches
* Add some new dojo compatibility patches
* Switch to compat level 9
* Drop autoexpand for feed categories (Closes: #773236)
Checksums-Sha1:
011405101aef1e80bc2211c9aef16164c90dd1c4 2016 tt-rss_16.8+git20160826+dfsg-1.dsc
b82f77d0d6a9b17791cf65c18f650c39b2ce9978 998692 tt-rss_16.8+git20160826+dfsg.orig.tar.xz
740829af4413c3a3963e3bb83fd1e0d4501f1f45 30056 tt-rss_16.8+git20160826+dfsg-1.debian.tar.xz
14e603a9fc3884ed4c6ac96f1d7278a8a3cd08f3 865030 tt-rss_16.8+git20160826+dfsg-1_all.deb
Checksums-Sha256:
4a7a2dd053f637672a81c554897a53f43ec350b20f0dc6e49ece5bd288ccb427 2016 tt-rss_16.8+git20160826+dfsg-1.dsc
bf3b5804f4a76e59062b87f26f1ab30f8837fb711d98c7b29754338c0e7bc406 998692 tt-rss_16.8+git20160826+dfsg.orig.tar.xz
68b15dad23f47e4c2d2a014a2506ffb6ac00c9dfa55906f1ffc1da4014b2a592 30056 tt-rss_16.8+git20160826+dfsg-1.debian.tar.xz
08bdcad9681512a6090d091b199b8e6fadccf75738c859faf8e25d966c3852e1 865030 tt-rss_16.8+git20160826+dfsg-1_all.deb
Files:
2547e17fa58437552f16c130087c102f 2016 web optional tt-rss_16.8+git20160826+dfsg-1.dsc
0924fee7b825c3fb592b38ff488a01f8 998692 web optional tt-rss_16.8+git20160826+dfsg.orig.tar.xz
812905f8fde0d8953912e0fdf723421c 30056 web optional tt-rss_16.8+git20160826+dfsg-1.debian.tar.xz
8346d4f0940ff356b5408edc0e7692f9 865030 web optional tt-rss_16.8+git20160826+dfsg-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXw2q9AAoJENju1/PIO/qakTgP/iRhqYG1AaRvRVCP+1H2XXMR
4Pj7Z5WL7ylhBnd1b0fAx01koz5ygl/ihqSDIzIa1682NXIKHdFASPav5LziHQmo
D7Istxwv1PzCIeQ057AcFq00PuS3/OrpQDQ1w1yrvTY4Ek5A3lBZL3vka36wyOh3
w5iZIvyNWSwhAKUWIl3Uq88AdcT39KgacSEiUzrl/tGNFhAfje1lSKKTM1zwQpOb
6dpexlUvarzDqdtRhcWYp6rkFhn/CfT0Yr4xVKngW8VxiW0H04P23cuswwKKO+s9
ThXBg2vF+N4Sazv9sHoKe8Fn9w6kGg4tDtUXjF3NoSES+VN6fkDJ5crMWrhkbdhY
1XxTXlKCDsjmJc6ADcmMdQH4xtFzfmFqgjVzc4d6FXU2kLHwi6IO3Y3biyEd5Yty
0zgE66M8UG3KmNB7nipMG/VLRTCfnf1SmV8L37QOMFy3DLenyjUaEvIHWpuq80zO
FRCF7nVwMsXyKTVumWrHbso6u8bOrTxGT1gTL179A2X8xVMxHwXX3kUQq+CZkL7O
DH2zb2Wbs2xoNw9y59CnQ4A+lDvrflsBS1BwkaerEUXQVT8IKsNxrG/VJtk3k/l8
0PaxZd8FzkTR4xP4ck/Dt9D5O69zQpOfmhi0rFq963ejO2hAJ0gMwq3MTDMR/coa
RSgPKTdDFGkjFVRw+c//
=9m9+
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 01 Oct 2016 07:27:31 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 01:54:16 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.