Error upgrading Apache2

Ryan Schmidt ryandesign at macports.org
Mon Feb 4 04:53:46 PST 2008


On Feb 3, 2008, at 18:53, Mark Hattam wrote:

> I can't get Apache 2.2.6 to upgrade to Apache 2.2.8 in MacPorts 1.6  
> either ...
>
> Mac OSX 10.4.11 on a PowerBook Ti 667 (PowerPC) with MacPorts 1.6.0
>
> Quite early on it fails with a error 2
>
> Never had a problem before - everything else has built fine,  
> including previous Apache 2.2.x's
>
> Terminal output copy/pasted below

The relevant error is "unable to infer tagged configuration" which is  
filed for apache2 here:

http://trac.macosforge.org/projects/macports/ticket/13653

And is being discussed at length in this thread:

http://lists.macosforge.org/pipermail/macports-users/2008-February/ 
008671.html

Please try this possible solution:

sudo port selfupdate
sudo port -ncuf upgrade apr
sudo port --clean apache2
sudo port upgrade apache2

Does this work? If so, please let me know what version of apr you had  
installed before, just to gather some data about this problem.


> Powerbook:~ mark$ sudo port outdated
> The following installed ports are outdated:
> apache2                        2.2.6_0 < 2.2.8_0
>       Powerbook:~ mark$ sudo port upgrade outdated
> --->  Building apache2 with target all
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8" && make all " returned error 2
> Command output: Making all in srclib
> Making all in os
> Making all in unix
> /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/ 
> bin/gcc-4.0 -I/opt/local/include  -O2  -DDARWIN - 
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp  -I/opt/local/include  
> -I. -I/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/os/unix -I/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/server/mpm/prefork -I/opt/local/var/ 
> macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/http -I/opt/local/var/macports/ 
> build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/filters -I/opt/local/var/macports/ 
> build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/proxy -I/opt/local/var/macports/ 
> build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/include -I/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/generators -I/opt/local/var/ 
> macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/mappers -I/opt/local/var/macports/ 
> build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/database -I/opt/local/include/apr-1  
> -I/opt/local/include -I/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/server -I/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/proxy/../generators -I/opt/local/ 
> var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/ssl -I/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_a 
> pache2/work/httpd-2.2.8/modules/dav/main -prefer-non-pic -static -c  
> unixd.c && touch unixd.lo
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make[3]: *** [unixd.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> Error: Unable to upgrade port: 1
>
> ===
>
>
>
> At 10:06 -0700 2/2/08, Chris Janton wrote:
>
>> This occurs on both 10.4 and 10.5 with macports version 1.6 or later.
>> Same error on both systems.
>>
>> --->  Building apache2 with target all
>> Error: Target org.macports.build returned: shell command " cd "/ 
>> opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8" && make all " returned error 2
>> Command output: Making all in srclib
>> Making all in os
>> Making all in unix
>> /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/ 
>> bin/gcc-4.0 -I/opt/local/include  -O2  -DDARWIN - 
>> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp  -I/opt/local/ 
>> include -I. -I/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/os/unix -I/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/server/mpm/prefork -I/opt/local/var/ 
>> macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/http -I/opt/local/var/macports/ 
>> build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/filters -I/opt/local/var/macports/ 
>> build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/proxy -I/opt/local/var/macports/ 
>> build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/include -I/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/generators -I/opt/local/var/ 
>> macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/mappers -I/opt/local/var/macports/ 
>> build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/database -I/opt/local/include/ 
>> apr-1 -I/opt/local/include -I/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/server -I/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/proxy/../generators -I/opt/local/ 
>> var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/ssl -I/opt/local/var/macports/ 
>> build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ 
>> apache2/work/httpd-2.2.8/modules/dav/main -prefer-non-pic -static - 
>> c unixd.c && touch unixd.lo
>> libtool: compile: unable to infer tagged configuration
>> libtool: compile: specify a tag with `--tag'
>> make[3]: *** [unixd.lo] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive] Error 1
>>
>> Error: Unable to upgrade port: 1


More information about the macports-users mailing list