Opened 12 years ago
Closed 12 years ago
#37116 closed defect (fixed)
php54-fpm and php55-fpm conflict and violate the mtree on php/fpm/status.html
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | jyrkiwahlstedt, robsonpeixoto@… | |
Port: | php-fpm |
Description
php54-fpm and php55-fpm conflict and violate the mtree:
$ port installed php54-fpm The following ports are currently installed: php54-fpm @5.4.9_0 (active) $ sudo port install php55-fpm ---> Computing dependencies for php55-fpm ---> Fetching distfiles for php55-fpm ---> Verifying checksum(s) for php55-fpm ---> Extracting php55-fpm ---> Applying patches to php55-fpm ---> Configuring php55-fpm ---> Building php55-fpm ---> Staging php55-fpm into destroot ---> Creating launchd control script ########################################################### # A startup item has been generated that will aid in # starting php55-fpm with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo port load php55-fpm ########################################################### Warning: violation by /opt/local/php Warning: php55-fpm violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing php55-fpm @5.5.0alpha1_0 ---> Activating php55-fpm @5.5.0alpha1_0 Error: org.macports.activate for port php55-fpm returned: Image error: /opt/local/php/fpm/status.html is being used by the active php54-fpm port. Please deactivate this port first, or use 'port -f activate php55-fpm' to force the activation. Please see the log file for port php55-fpm for details: /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_lang_php/php55-fpm/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port php55-fpm failed $
php53-fpm installs status.html elsewhere:
$ port contents php53-fpm | grep status /opt/local/share/php/fpm/status.html $
All ${php}-fpm subports should probably install status.html in a path containing ${php}. Not sure how to configure that, or how this file is used.
Change History (3)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I went with ${prefix}/share/examples/${php}. r100010.
Note: See
TracTickets for help on using
tickets.
According to the comments in php-fpm.conf.default and in status.html itself, it's an example web page showing how you can show real-time fpm status, and isn't used anywhere but is there for you to copy and modify if desired. As such I think it should go in ${prefix}/share/examples/${subport}.