php7.0-common provides incompatible php-gettext [16.04 Xenial]

Bug #1569128 reported by Courtney Rosenthal
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
phpMyAdmin
Fix Released
Unknown
php7.0 (Debian)
Fix Released
Unknown
php7.0 (Ubuntu)
Fix Released
Medium
Unassigned
Xenial
Fix Released
Undecided
Unassigned
phpmyadmin (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

A new phpmyadmin installation is failing:

[Mon Apr 11 21:22:20.975091 2016] [:error] [pid 25986] [client ::1:50410] PHP Fatal error: require_once(): Failed opening required '/usr/share/php/php-gettext/gettext.inc' (include_path='.:/usr/share/php') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 477

Installing the php-gettext package resolved this error.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in phpmyadmin (Ubuntu):
status: New → Confirmed
tags: added: xenial
Revision history for this message
ft (ft-8) wrote :

I created my own package with "phpmyadmin" and "php-gettext" as "Pre-Depends".
The "php-gettext" package still will not be installed automatically.
"apt-get install php-gettext" works fine, really strange.

Changed in phpmyadmin:
status: Unknown → Fix Released
Changed in phpmyadmin (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Michal Čihař (nijel) wrote :

Caused by bug in php7.0 packaging, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823815

summary: - phpmyadmin missing gettext dependency [16.04 Xenial]
+ php7.0-common provides incompatible php-gettext [16.04 Xenial]
Changed in phpmyadmin (Ubuntu):
status: Confirmed → Fix Released
Changed in php7.0 (Debian):
status: Unknown → Fix Released
Robie Basak (racb)
Changed in php7.0 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Nish Aravamudan (nacc) wrote :

I have just sent Debian our small non-upstream delta in Xenial, and once that is accepted, we can sync php7.0 in Yakkety. At that point, I will backport the fix for gettext as mentioned here and will file an SRU bug.

Changed in php7.0 (Ubuntu):
assignee: nobody → Nish Aravamudan (nacc)
Revision history for this message
Nish Aravamudan (nacc) wrote :

Apologies for taking a long time to get back to this! I have submitted a build to the PPA at: https://launchpad.net/~nacc/+archive/ubuntu/lp1569128 which attempts to backport the fix from Debian/Yakkety to the Xenial version. Once it finishes building, @Chip or anyone else affected, could you please test that version (7.0.4-7ubuntu2.2~ppa1).

Thanks,
Nish

Revision history for this message
Nish Aravamudan (nacc) wrote :

Sorry, my backport had a bug, uploaded a new fix to the same PPA, 7.0.4-7ubuntu2.2~ppa2, please test using that version, once available.

Revision history for this message
Robie Basak (racb) wrote :

Adding a Xenial task.

Nish Aravamudan (nacc)
Changed in php7.0 (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Nish Aravamudan (nacc) wrote :

As part of bug 1569609, I have created a microrelease-update test version at: https://launchpad.net/~nacc/+archive/ubuntu/lp1569609, which includes the fix for this bug. If anyone affected could also test that version (7.0.8-0ubuntu1~ppa1), that would be very helpful!

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Chip, or anyone else affected,

Accepted php7.0 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/php7.0/7.0.8-0ubuntu0.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in php7.0 (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Nish Aravamudan (nacc)
Changed in php7.0 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : [php7.0/xenial] possible regression found

As a part of the Stable Release Updates quality process a search for Launchpad bug reports using the version of php7.0 from xenial-proposed was performed and bug 1598166 was found. Please investigate this bug report to ensure that a regression will not be created by this SRU. In the event that this is not a regression remove the "verification-failed" tag from this bug report and add the tag "bot-stop-nagging" to bug 1598166 (not this bug). Thanks!

tags: added: verification-failed
Steve Langasek (vorlon)
tags: removed: verification-failed
Nish Aravamudan (nacc)
no longer affects: phpmyadmin (Ubuntu Xenial)
Changed in php7.0 (Ubuntu):
assignee: Nish Aravamudan (nacc) → nobody
Revision history for this message
Nish Aravamudan (nacc) wrote :

php7.0-common 7.0.8-0ubuntu0.16.04.1 no longer provides 'php-gettext' (but does provide php7.0-gettext). In contrast, 7.0.4-7ubuntu2 provides both php-gettext and php7.0-gettext. Marking as verified.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php7.0 - 7.0.8-0ubuntu0.16.04.1

---------------
php7.0 (7.0.8-0ubuntu0.16.04.1) xenial; urgency=medium

  * New upstream release
    - Closes LP: #1596578
      + Fixed in upstream 7.0.6.
    - Drop the following patches:
      + 0035-Fixed-bug-63171-script-hangs-if-odbc-call-during-tim.patch
        [ Fixed in upstream 7.0.6 ]
      + 0046-Fix-ODBC-bug-for-varchars-returning-with-length-zero.patch
        [ Fixed in upstream 7.0.6 ]
      + 0047-make-opcache-lockfile-path-configurable.patch
        [ Fixed in upstream 7.0.6 ]
      + 0048-Fix-bug-71659.patch
        [ Fixed in upstream 7.0.5 ]
      + 0050-Fix-use-of-UNDEF-instead-of-NULL-in-read_dimension.patch
        [ Fixed in upstream 7.0.6 ]
      + 0051-backport-89a43425.patch
        [ Fixed in upstream 7.0.5 ]
      + 0052-backport-186844be.patch
        [ Fixed in upstream 7.0.5 ]
      + CVE-2015-8865-1.patch
        [ Fixed in upstream 7.0.5 ]
      + CVE-2015-8865-2.patch
        [ Fixed in upstream 7.0.5 ]
      + CVE-2016-3078.patch
        [ Fixed in upstream 7.0.6 ]
      + CVE-2016-3132.patch
        [ Fixed in upstream 7.0.6 ]
      + CVE-2016-4070.patch
        [ Fixed in upstream 7.0.5 ]
      + CVE-2016-4071.patch
        [ Fixed in upstream 7.0.5 ]
      + CVE-2016-4072.patch
        [ Fixed in upstream 7.0.5 ]
      + CVE-2016-4073.patch
        [ Fixed in upstream 7.0.5 ]
      + CVE-2016-4537.patch
        [ Fixed in upstream 7.0.7 ]
      + CVE-2016-4539.patch
        [ Fixed in upstream 7.0.7 ]
      + CVE-2016-4540.patch
        [ Fixed in upstream 7.0.7 ]
      + CVE-2016-4542.patch
        [ Fixed in upstream 7.0.7 ]
  * Backport from Debian 7.0.6-7: 'Remove php-gettext from phpX.Y-common
    provides as it clashes with existing package (Closes #823815)'
    (LP: #1569128).
  * Backport from Debian 7.0.6-8: 'Restore dba extension package'
    (LP: #1595215).
  * Regenerate d/control.

 -- Nishanth Aravamudan <email address hidden> Mon, 20 Jun 2016 15:38:14 -0700

Changed in php7.0 (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for php7.0 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.