pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/27567: www/apache2 cannot execute on Interix



>Number:         27567
>Category:       pkg
>Synopsis:       www/apache2 cannot execute on Interix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 27 16:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     HIRAMATSU, Yoshifumi
>Release:        Services for Unix 3.5
>Organization:
>Environment:
Interix nile 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model12_Stepping0
>Description:
Invoking www/apache2 failed because setgroups doesn't exist on Interix.

bash-2.05b$ /usr/pkg/sbin/apachectl start
/usr/pkg/sbin/httpd: error in loading shared libraries
: undefined symbol: _setgroups

>How-To-Repeat:
cd /usr/pkgsrc/www/apache2
bmake install
/usr/pkg/etc/rc.d/apache start

>Fix:
diff -buNr apache2.old/distinfo apache2/distinfo
--- apache2.old/distinfo        Thu Oct 28 01:37:08 2004
+++ apache2/distinfo    Thu Oct 28 01:37:17 2004
@@ -9,3 +9,4 @@
 SHA1 (patch-al) = 29cc52616c50b7ec998339cca386112a8f1611cc
 SHA1 (patch-am) = ff60a7b69ad949363ebec194141e9b95cb796426
 SHA1 (patch-ar) = c6769617cd9111f6d233d68883c71988a36fbbce
+SHA1 (patch-as) = 4ef6101e07261165bfc16b579debdce948216fd5
diff -buNr apache2.old/patches/patch-as apache2/patches/patch-as
--- apache2.old/patches/patch-as        Thu Jan  1 09:00:00 1970
+++ apache2/patches/patch-as    Thu Oct 28 01:37:17 2004
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- server/mpm_common.c.orig   Thu Oct 28 01:13:40 2004
++++ server/mpm_common.c        Thu Oct 28 01:14:03 2004
+@@ -322,7 +322,7 @@
+ #ifndef HAVE_INITGROUPS
+ int initgroups(const char *name, gid_t basegid)
+ {
+-#if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX) || 
defined(TPF) || defined(__TANDEM) || defined(OS2) || defined(WIN32) || 
defined(NETWARE)
++#if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX) || 
defined(TPF) || defined(__TANDEM) || defined(OS2) || defined(WIN32) || 
defined(NETWARE) || defined(__INTERIX)
+ /* QNX, MPE and BeOS do not appear to support supplementary groups. */
+     return 0;
+ #else /* ndef QNX */

>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index