Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 133563
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Apache Team - Bugzilla Reports <apache-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Sonnenschein <johnsonnenschein@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mod_fastcgi-httpd-2.2.3.patch patch allowing mod_fastcgi to compile vs apache 2.2 and 2.0 patch Mark Guzman 2006-12-03 19:12 0000 1.64 KB Details | Diff
mod_fastcgi-2.4.2-r2.ebuild an ebuild that uses the mod_fastcgi apache 2.2 patch text/plain Mark Guzman 2006-12-03 19:15 0000 925 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 133563 depends on: Show dependency tree
Bug 133563 blocks: 114232
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-16 20:34 0000
/usr/share/apr-1/build-1/libtool --silent --mode=compile
x86_64-pc-linux-gnu-gcc -prefer-pic -march=k8 -O2 -pipe -msse3 -ftree-vectorize
-fprefetch-loop-arrays -mmmx -msse -msse2 -momit-leaf-frame-pointer  -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 
-I/usr/include/apr-1   -I/usr/include/apr-1 -I/usr/include/db4.2  -c -o
mod_fastcgi.lo mod_fastcgi.c && touch mod_fastcgi.slo
mod_fastcgi.c: In function 'init_module':
mod_fastcgi.c:270: error: 'ap_null_cleanup' undeclared (first use in this
function)
mod_fastcgi.c:270: error: (Each undeclared identifier is reported only once
mod_fastcgi.c:270: error: for each function it appears in.)
mod_fastcgi.c: In function 'process_headers':
mod_fastcgi.c:725: warning: return makes pointer from integer without a cast
mod_fastcgi.c:729: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:739: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:768: warning: initialization makes pointer from integer without a
cast
mod_fastcgi.c:838: warning: return makes pointer from integer without a cast
mod_fastcgi.c:842: warning: return makes pointer from integer without a cast
mod_fastcgi.c: In function 'set_uid_n_gid':
mod_fastcgi.c:1022: warning: passing argument 1 of 'memcpy' makes pointer from
integer without a cast
mod_fastcgi.c:1024: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:1033: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:1034: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c: In function 'do_work':
mod_fastcgi.c:2321: error: 'ap_null_cleanup' undeclared (first use in this
function)
mod_fastcgi.c: In function 'create_fcgi_request':
mod_fastcgi.c:2425: warning: cast to pointer from integer of different size
mod_fastcgi.c:2453: warning: cast to pointer from integer of different size
mod_fastcgi.c:2479: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2492: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c: In function 'apache_is_scriptaliased':
mod_fastcgi.c:2534: warning: initialization makes pointer from integer without
a cast
mod_fastcgi.c: In function 'post_process_for_redirects':
mod_fastcgi.c:2559: warning: passing argument 1 of
'ap_internal_redirect_handler' makes pointer from integer without a cast
mod_fastcgi.c: In function 'check_user_authentication':
mod_fastcgi.c:2682: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2700: warning: comparison between pointer and integer
mod_fastcgi.c: In function 'check_user_authorization':
mod_fastcgi.c:2749: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2765: warning: comparison between pointer and integer
mod_fastcgi.c: In function 'check_access':
mod_fastcgi.c:2809: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2826: warning: comparison between pointer and integer
apxs:Error: Command failed with rc=65536
.

!!! ERROR: net-www/mod_fastcgi-2.4.2-r1 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  ebuild.sh, line 1240:   Called apache-module_src_compile
  apache-module.eclass, line 375:   Called apache2_src_compile
  apache-module.eclass, line 268:   Called die

!!! /usr/sbin/apxs2 -c mod_fastcgi.c fcgi*.c failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Michael Stewart (vericgar) (RETIRED) 2006-05-17 17:54:51 0000 -------
Which version of apache, apr, and apr-util are you using?

------- Comment #2 From John Sonnenschein 2006-05-18 08:30:01 0000 -------
apr-1.2.7 apr-util-1.2.7 (USE="berkdb postgres -gdbm -ldap -sqlite -sqlite3")
and apache-2.2.0-r2 (USE="doc ssl -debug -ldap -mpm-event -mpm-peruser
-mpm-prefork -mpm-worker -no-suexec -static-modules -threads")

Use flags for these particular packages, in case they shed any light

------- Comment #3 From Michael Stewart (vericgar) (RETIRED) 2006-05-19 20:51:17 0000 -------
mod_fastcgi is known to not work with apache 2.2. (mod_fastcgi uses apr calls
from apache 1.3 that are only there in a compatibility mode in apache 2.0 and
have been removed in apache 2.2).

apache 2.2 support depends on upstream fixing thier code.

I'll leave this open for now until I figure out how we're going to handle
blocking and upgrade paths from apache 2.0 to 2.2.

------- Comment #4 From Ben Jencks 2006-07-24 16:08:37 0000 -------
There is a really ugly hack that will make it work with apache 2.2. It
re-enables the compatibility stuff.
http://fastcgi.com/archives/fastcgi-developers/2005-December/004060.html
It seems that fastcgi has pretty much stopped being maintained, as it hasn't
been updated in over two years.

------- Comment #5 From Sean Leather 2006-08-26 21:35:02 0000 -------
There is also this hack for getting fastcgi-2.4.2 to work with apache-2.2.3:
http://hack.emilykwan.com/node/95

------- Comment #6 From Sean Leather 2006-08-26 21:54:39 0000 -------
Could mod_fcgid be a possible replacement?
http://fastcgi.coremail.cn/

Apparently, it is being used with the Apache Lounge (Apache 2 on Windows)
project:
http://www.apachelounge.com/download/

I have only found this through Googling. I have no idea how stable/well
maintained it is. I agree with Ben that it appears the original FastCGI project
is no longer maintained. It would be nice to see some kind of support for
FastCGI with apache-2.2.* though.

------- Comment #7 From Mark Guzman 2006-12-03 19:12:49 0000 -------
Created an attachment (id=103300) [details]
patch allowing mod_fastcgi to compile vs apache 2.2 and 2.0

This goes along with an ebuild I used on my system to setup apache 2.2 +
mod_fastcgi

------- Comment #8 From Mark Guzman 2006-12-03 19:15:03 0000 -------
Created an attachment (id=103301) [details]
an ebuild that uses the mod_fastcgi apache 2.2 patch

used on my system to get apache 2.2 + mod_fastcgi working

------- Comment #9 From Xavier Neys 2006-12-21 02:02:06 0000 -------
(In reply to comment #6)
> Could mod_fcgid be a possible replacement?
> http://fastcgi.coremail.cn/

FWIW, I use fcgid and consider it is better.

------- Comment #10 From Christian Heim (RETIRED) 2007-01-07 22:15:22 0000 -------
(In reply to comment #9)
> (In reply to comment #6)
> > Could mod_fcgid be a possible replacement?
> > http://fastcgi.coremail.cn/
> 
> FWIW, I use fcgid and consider it is better.

And that's the way we go :) I just sent the announce, that net-www/mod_fastcgi
is getting removed in favor of www-apache/mod_fcgid.

------- Comment #11 From André Malo 2007-01-09 23:59:36 0000 -------
As far as I can see it, this completely drops the possibility of running
standalone fastcgi daemons until Apache 2.4. Or are there different
alternatives?

------- Comment #12 From Zak Kipling 2007-01-16 10:34:47 0000 -------
mod_fcgid appears to be a fine solution for those using "dynamic" FastCGI apps
that are started on first use -- however it doesn't appear to have anything
equivalent to the "static" and "external" apps supported by the FastCGIServer
and FastCGIExternalServer directives.

These are particularly useful if you have apps that take a very long time to
start -- FastCGIServer ensures they are pre-started with Apache, while
FastCGIExternalServer allows you to restart Apache without restarting your
application processes.

Is there a supported alternative for users who require this functionality
(aside from masking apache >= 2.2 in /etc/portage and retaining the mod_fastcgi
ebuild in /usr/local/portage)?

------- Comment #13 From Daniel Westermann-Clark 2007-02-02 14:35:41 0000 -------
Has comment #12 been addressed somewhere?  I rely on FastCgiServer and
FastCgiExternalServer for a number of my deployments.

------- Comment #14 From Chris Fletcher 2007-08-20 14:23:13 0000 -------
> And that's the way we go :) I just sent the announce, that net-www/mod_fastcgi
> is getting removed in favor of www-apache/mod_fcgid.

mod_fastcgi provides functionality that mod_fcgid doesn't. It provides more
options for process management.

The patch provided claims to work with apache 1.3, 2.0 and 2.2 so could easily
be added.

It seems to be supported by other distributions...

  http://fastcgi.com/archives/fastcgi-developers/2007-May/004697.html

Can we reinstate it please?

------- Comment #15 From Benedikt Böhm 2007-09-16 11:54:40 0000 -------
will do so

------- Comment #16 From Benedikt Böhm 2007-09-16 12:21:05 0000 -------
latest git snapshot (www-apache/mod_fastcgi-2.4.4_pre20070916) now in cvs

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug