Installing to /usr/share/php/libzend-framework-php/Zend/ isn't the best idea

Bug #1066406 reported by Christian Boltz
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zend-framework (Ubuntu)
Invalid
Low
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Yakkety
Fix Released
Undecided
Unassigned

Bug Description

The libzend-framework-php package installs its files to /usr/share/php/libzend-framework-php/Zend/

This isn't a good idea, because PHP applications don't find it there (because of the .../libzend-framework-php/... subdirectory, which is not in the include_path)

I know that the package also ships /etc/php5/conf.d/zend-framework.ini which would add this directory to the include_path - if the line wasn't commented out :-(

If there isn't a very good reason for the subdirectory, why don't you just package the files into /usr/share/php/Zend/ ? This would avoid lots of problems ;-)

Sidenotes:
- this interesting[tm] packaging just caused a quite long debugging session with a user of PostfixAdmin (I'm upstream developer of it)
- I checked the filelist on http://packages.ubuntu.com/precise/all/libzend-framework-php/filelist
- personally, I'm using openSUSE ;-)

Mathew Hodson (mhodson)
Changed in zend-framework (Ubuntu):
importance: Undecided → Low
Nish Aravamudan (nacc)
Changed in zend-framework (Ubuntu):
status: New → Invalid
Changed in zend-framework (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Christian, or anyone else affected,

Accepted zend-framework into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/zend-framework/1.11.11-0ubuntu3.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 on 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 zend-framework (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Christian, or anyone else affected,

Accepted zend-framework into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/zend-framework/1.11.11-0ubuntu3.16.10.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 on 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 zend-framework (Ubuntu Yakkety):
status: New → Fix Committed
Revision history for this message
Robie Basak (racb) wrote :

@nacc

Just passing through. Note that this still needs verification please.

Revision history for this message
Chris Halse Rogers (raof) wrote :

Another ping; this is additionally blocking an icingaweb2 SRU.

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

Verified on both x and y by installing the release version and then upgrading to the proposed version. A symlink from /usr/share/php/libzend-framework-php -> /usr/share/php results and the Zend directory is correctly in /usr/share/php. A warning is emitted during the upgrade, as /usr/share/php/libzend-framework-php is not delete-able (it's not empty, as the target of the link that is /usr/share/php/libzend-framework-php is not empty). I don't think this is incorrect and am not sure there is any correct way to solve this to avoid any potential regressions with users relying on the older path.

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

This bug was fixed in the package zend-framework - 1.11.11-0ubuntu3.16.04.1

---------------
zend-framework (1.11.11-0ubuntu3.16.04.1) xenial; urgency=medium

  * d/Makefile, d/dirs, d/p/series: install Zend into /usr/share/php
    rather than /usr/share/php/libzend-framework-php.
    - Add an entry to the maintscript to install a symlink at
      /usr/share/php/libzend-framework-php, in case any end users are using the
      old path explicitly.
    - LP: #1574250, LP: #1066406

 -- Nishanth Aravamudan <email address hidden> Tue, 13 Dec 2016 10:10:59 -0800

Changed in zend-framework (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for zend-framework 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.

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

This bug was fixed in the package zend-framework - 1.11.11-0ubuntu3.16.10.1

---------------
zend-framework (1.11.11-0ubuntu3.16.10.1) yakkety; urgency=medium

  * d/Makefile, d/dirs, d/p/series: install Zend into /usr/share/php
    rather than /usr/share/php/libzend-framework-php.
    - Add an entry to the maintscript to install a symlink at
      /usr/share/php/libzend-framework-php, in case any end users are using the
      old path explicitly.
    - LP: #1574250, LP: #1066406

 -- Nishanth Aravamudan <email address hidden> Tue, 13 Dec 2016 15:21:43 -0800

Changed in zend-framework (Ubuntu Yakkety):
status: Fix Committed → Fix Released
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.