[MacPorts] #15211: mod_ssi_func 1.0 patch failure

MacPorts trac at macosforge.org
Tue May 6 00:42:10 PDT 2008


#15211: mod_ssi_func 1.0 patch failure
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  ryandesign at macports.org
      Type:  defect                   |      Status:  assigned               
  Priority:  Normal                   |   Milestone:  Port Bugs              
 Component:  ports                    |     Version:  1.7.0                  
Resolution:                           |    Keywords:                         
--------------------------------------+-------------------------------------
Comment (by ryandesign at macports.org):

 Fixed the patch failure in r36546, but now it still won't compile:

 {{{
 Error: Target org.macports.build returned: shell command "cd
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_www_mod_ssi_func/work/distribution_1.0/ssi_func
 &&  make APXS=/opt/local/apache2/bin/apxs" returned error 2
 Command output: /opt/local/apache2/bin/apxs -c mod_ssi_func.c
 /opt/local/share/apr-1/build/libtool --silent --mode=compile
 /usr/bin/gcc-4.0 -prefer-pic -O2  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
 -no-cpp-precomp -I/opt/local/include -I/opt/local/apache2/include
 -I/opt/local/include/apr-1   -I/opt/local/include/apr-1
 -I/opt/local/include  -c -o mod_ssi_func.lo mod_ssi_func.c && touch
 mod_ssi_func.slo
 mod_ssi_func.c: In function 'handle_func':
 mod_ssi_func.c:85: error: 'FLAG_PRINTING' undeclared (first use in this
 function)
 mod_ssi_func.c:85: error: (Each undeclared identifier is reported only
 once
 mod_ssi_func.c:85: error: for each function it appears in.)
 mod_ssi_func.c:94: warning: passing argument 1 of 'ssi_func_pfn_ps' from
 incompatible pointer type
 mod_ssi_func.c:94: warning: passing argument 2 of 'ssi_func_pfn_ps' from
 incompatible pointer type
 mod_ssi_func.c:94: warning: passing argument 4 of 'ssi_func_pfn_ps' makes
 integer from pointer without a cast
 mod_ssi_func.c:94: error: too many arguments to function 'ssi_func_pfn_ps'
 mod_ssi_func.c:106: warning: passing argument 1 of 'ssi_func_pfn_ps' from
 incompatible pointer type
 mod_ssi_func.c:106: warning: passing argument 2 of 'ssi_func_pfn_ps' from
 incompatible pointer type
 mod_ssi_func.c:106: warning: passing argument 4 of 'ssi_func_pfn_ps' makes
 integer from pointer without a cast
 mod_ssi_func.c:106: error: too many arguments to function
 'ssi_func_pfn_ps'
 mod_ssi_func.c: In function 'ssi_func_post_config':
 mod_ssi_func.c:157: warning: passing argument 2 of 'ssi_func_pfn_rih' from
 incompatible pointer type
 apxs:Error: Command failed with rc=65536
 .
 make: *** [mod_ssi_func.o] Error 1
 }}}

 I'm guessing this module is for Apache 2.0.x and is incompatible with
 Apache 2.2.x. I'll test with the apache20 port and if that works I'll
 change the dependency to apache20.

-- 
Ticket URL: <http://trac.macports.org/ticket/15211#comment:2>
MacPorts </>
Ports system for Mac OS


More information about the macports-tickets mailing list