[MacPorts] #21001: Compiling apache2 with ccache breaks modules

MacPorts noreply at macports.org
Tue Sep 1 10:23:10 PDT 2009


#21001: Compiling apache2 with ccache breaks modules
---------------------------------+------------------------------------------
 Reporter:  raimue@…             |       Owner:  imajes@…           
     Type:  defect               |      Status:  new                
 Priority:  Normal               |   Milestone:                     
Component:  ports                |     Version:  1.8.0              
 Keywords:  libtool              |        Port:  apache2            
---------------------------------+------------------------------------------
 If apache2 has been compiled with ccache, the apxs tool tries to use
 'libtool ... ccache /usr/bin/gcc-4.0' on compilation of modules.

 This will always fail, here an example from mod_wsgi:
 {{{
 /opt/local/apache2/bin/apxs -c -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -DNDEBUG  -Wc,'-arch i386' mod_wsgi.c -L/opt/local/lib
 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib
 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config
 -arch i386 -lpython2.4 -ldl
 /opt/local/share/apr-1/build/libtool --silent --mode=compile ccache
 /usr/bin/gcc-4.0 -prefer-pic -pipe -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 -arch i386
 -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
 libtool: compile: unable to infer tagged configuration
 libtool: compile: specify a tag with `--tag'
 apxs:Error: Command failed with rc=65536
 }}}

 Therefore I propose to disable ccache for compilation of apache2.

-- 
Ticket URL: <http://trac.macports.org/ticket/21001>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list