Mantis - ap2_subversion
Viewing Issue Advanced Details
4477 regular use major always 2010-06-24 14:05 2010-09-28 09:21
jh  
dam  
normal  
closed  
fixed  
none    
none  
0004477: missing dependency
installing ap2_subversion on a new systems fails as the apache Server is not installed:
   1. ## Installing part 1 of 1.
   2. /opt/csw/apache2/etc/extra/httpd-svn.conf.CSW
   3. /opt/csw/apache2/etc/svn_access.conf.CSW
   4. /opt/csw/apache2/libexec/mod_authz_svn.so
   5. /opt/csw/apache2/libexec/mod_dav_svn.so
   6. /opt/csw/share/doc/ap2_subversion/changelog.CSW
   7. /opt/csw/share/doc/ap2_subversion/license
   8. [ verifying class <none> ]
   9. ## Executing postinstall script.
  10. Can't open /opt/csw/apache2/etc/httpd.conf: No such file or directory.
  11. apxs:Error: /opt/csw/apache2/sbin/httpd not found or not executable.
  12. Can't open /opt/csw/apache2/etc/httpd.conf: No such file or directory.
  13. apxs:Error: /opt/csw/apache2/sbin/httpd not found or not executable.
  14. Can't open /opt/csw/apache2/etc/httpd.conf: No such file or directory.
  15. apxs:Error: /opt/csw/apache2/sbin/httpd not found or not executable.
  16. Can't open /opt/csw/apache2/etc/httpd.conf: No such file or directory.
  17. apxs:Error: /opt/csw/apache2/sbin/httpd not found or not executable.
  18. Can't open /opt/csw/apache2/etc/httpd.conf: No such file or directory.
  19. apxs:Error: /opt/csw/apache2/sbin/httpd not found or not executable.
  20. egrep: can't open /opt/csw/apache2/etc/httpd.conf
  21. egrep: can't open /opt/csw/apache2/etc/httpd.conf
  22. Adding Include for extra/http-svn.conf to httpd.conf
  23. Creating /opt/csw/apache2/etc/extra/httpd-svn.conf
  24. Creating /opt/csw/apache2/etc/svn_access.conf
  25.
  26. NOTICE: mod_dav, mod_dav_fs, mod_dav_svn, and mod_authz_svn are enabled in
  27. httpd.conf, but the server was not restarted. Please examine your mod_dav_svn configuration and restart apache.
  28.

I guess ap2_subversion should depend on the whole apache2 stack. (cswapache2)
Issue History
2010-06-24 14:05 jh New Issue
2010-07-19 00:35 rupert Note Added: 0008121
2010-07-19 07:58 jh Note Added: 0008122
2010-08-31 18:20 rupert Note Added: 0008230
2010-09-28 09:21 dam Status new => assigned
2010-09-28 09:21 dam Assigned To => dam
2010-09-28 09:21 dam Note Added: 0008300
2010-09-28 09:21 dam Status assigned => closed
2010-09-28 09:21 dam Resolution open => fixed

Notes
(0008121)
rupert   
2010-07-19 00:35   
CSWsvn depends on apache2, in the one in http://mirror.opencsw.org/experimental.html#rupert [^] at least. could you verify if this really does not work?

i changed the dependency to ap2svn, thanks for the hint, should be in in the next build.
(0008122)
jh   
2010-07-19 07:58   
look at the gar build it depends on apache2rt not apache.
Which is ok for CSWsvn but not ap2svn. As it's an apache module and since it needs the whole httpd which apache2rt doesn't deliver. ap2svn should still depend on CSWsvn.

In short:
RUNTIME_DEP_PKGS_CSWap2svn += CSWapache2
RUNTIME_DEP_PKGS_CSWap2svn += CSWsvn
(0008230)
rupert   
2010-08-31 18:20   
ups ... sure you are right, changed in the makefile quite some time ago now, will see when i've time to release the version.
(0008300)
dam   
2010-09-28 09:21   
Fixed in 1.6.12,REV=2010.09.23 and released to current/.