OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004788 [apache2] packaging minor always 2011-06-20 18:33 2011-09-07 02:26
Reporter igalic View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0004788: apache2 is missing perl as dependency
Description When trying to install a2_modphp5 on a fresh system I'd get the following error:

Do you want to continue with the installation of <CSWap2-modphp5> [y,n,?] y

Installing ap2_modphp5 - The apache 2.2.x php5 module as <CSWap2-modphp5>

## Installing part 1 of 1.
/opt/csw/apache2/etc/httpd.conf.bak
/opt/csw/apache2/libexec/libphp5.so
/opt/csw/share/doc/ap2_modphp5/license
[ verifying class <none> ]
Modifying /opt/csw/apache2/ap2mod/php5
chroot: exec failed: No such file or directory
pkgadd: ERROR: class action script did not complete successfully
[ verifying class <build> ]
Copying sample config to /opt/csw/apache2/etc/extra/httpd-php5.conf

[ verifying class <cswpreserveconf> ]
## Executing postinstall script.
Adding Include for extra/http-php5.conf to httpd.conf

NOTICE: mod_php5 is enabled in httpd.conf but the server was not restarted.
Please examine your php5 configuration and restart apache.


Installation of <CSWap2-modphp5> partially failed.

pkgadd failed with exit code: 2
Exit from pkgutil and fix this issue first (recommended)? ([y],n)


I've tracked this down to:

root@atvp1uwamp021:~# chroot / /bin/bash
root@atvp1uwamp021:/# cd /
root@atvp1uwamp021:/# exec /opt/csw/apache2/sbin/apxs
bash: /opt/csw/apache2/sbin/apxs: /opt/csw/bin/perl: bad interpreter: No such file or directory
bash: /opt/csw/apache2/sbin/apxs: Error 0
root@atvp1uwamp021:/# ls -lahrt /opt/csw/bin/perl
/opt/csw/bin/perl: No such file or directory
root@atvp1uwamp021:/#
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009126)
bwalton (administrator)
2011-06-21 01:53

Adding missing dependency.
(0009180)
bwalton (administrator)
2011-07-04 04:01

Packages for testing at: http://buildfarm.opencsw.org/experimental.html#apache2 [^]
(0009250)
bwalton (administrator)
2011-09-07 02:26

Dependencies updated in the release that was just pushed.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker