[MacPorts] #13653: Latest Apache 2 doesn't compile
#13653: Latest Apache 2 doesn't compile ------------------------------------+--------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | ------------------------------------+--------------------------------------- Is it just my machine or is there something wrong with the script in Apache 2.2.6 port? This is what I get when trying to upgrade: ----- ---> 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.6" && 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.6/os/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/modules/http -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/filters -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/proxy -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/generators -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/mappers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/server -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/modules/ssl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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 ------ -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653> MacPorts </projects/macports> Ports system for Mac OS
#13653: Latest Apache 2 doesn't compile -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by jmpp@macports.org): * milestone: => Port Bugs Old description:
Is it just my machine or is there something wrong with the script in Apache 2.2.6 port? This is what I get when trying to upgrade: ----- ---> 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.6" && 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.6/os/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/modules/http -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/filters -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/proxy -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/generators -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/mappers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/server -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/modules/ssl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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 ------
New description: Is it just my machine or is there something wrong with the script in Apache 2.2.6 port? This is what I get when trying to upgrade: {{{ --------> 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.6" && 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.6/os/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/modules/http -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/filters -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/proxy -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/generators -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/modules/mappers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/server -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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.6/modules/ssl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.6/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 ------ }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => imajes@macports.org * summary: Latest Apache 2 doesn't compile => apache2 2.2.6_0 build failure: unable to infer tagged configuration Comment: Never seen such a problem. apache2 2.2.6_0 works fine for me on Mac OS X 10.4.11 Intel with Xcode 2.4.1 and MacPorts compiled from trunk. You should tell us your version of Mac OS X, Xcode and MacPorts, and what architecture your processor is. You should also try "`sudo port selfupdate`" followed by "`sudo port clean --work apache2`" and "`sudo port install apache2`" and see if it works then. Assigning ticket to port's maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by ryandesign@macports.org): Interesting, the same error message was reported for the mjpegtools port in #13648. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by christian@rishoj.net): Also seeing this on OS X 10.5.1 with XCode 3.0 and MacPorts 1.600. Did both {{{sudo port selfupdate}}}, {{{sudo port clean --work apache2}}} and {{{sudo port install apache2}}}. How may I provide more debugging information? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by josh-macports@root.id.au): I'm seeing this too. MacPorts 1.60, XCode 3.0, OS 10.5.1, x86. I'm attaching a full debug-mode build log. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by ryandesign@macports.org): * cc: jryan2002de@yahoo.de (added) Comment: Has duplicate #13775. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by ryandesign@macports.org): * cc: David.Epstein@warwick.ac.uk (added) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by jwa@macports.org): This applies to 2.2.8, too. Seems to go further, if one patches configure in addition to/instead of configure.in. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by jwa@macports.org): * cc: jwa@macports.org (added) Comment: Well, my environment in which apache2 2.2.8 doesn't initially build before the patched configure, is OS X 10.4.11 with Xcode 2.5. I also add myself to cc: list to get notifications about updates. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by jwa@macports.org): * summary: apache2 2.2.6_0 build failure: unable to infer tagged configuration => apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by dbraband@gmail.com): How do i apply these patches? Thanks for your help. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:11> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by jwa@macports.org): I'll attach my Portfile diff. Patch your's with that (or edit Portfile), add the patchfiles in subdirectory 'files' in apache2 port directory. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:12> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Comment (by dbraband@gmail.com): It worked. Thank you! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:13> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: dluke@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -------------------------------------+-------------------------------------- Changes (by ryandesign@macports.org): * cc: imajes@macports.org (added) * owner: imajes@macports.org => dluke@macports.org Comment: No patch to the apache2 portfile should be necessary. There has been a [http://lists.macosforge.org/pipermail/macports- users/2008-February/008671.html long discussion on macports-users] in which it seems the problem is that apr was installed with MacPorts < 1.6.0 and now users are trying to install apache2 with MacPorts >= 1.6.0. MacPorts 1.6.0 changed the name of the compiler from "gcc" to "/usr/bin/gcc-4.0" and even though these are the same compiler, the libtool in apr doesn't know this, and complains. The solution is to rebuild apr with MacPorts 1.6.0. Daniel, I'm reassigning this to you since apr is your port. I see the current apr portfile 1.2.12 was last modified 2007-12-04 and MacPorts 1.6.0 was released 2007-12-16 so it's entirely possible that someone built apr 1.2.12 with MacPorts < 1.6.0. I believe the solution is to simply bump the revision number of the apr portfile by one, making no other changes, to force everyone to rebuild it so that we know it was built with MacPorts >= 1.6.0. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:14> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: dluke@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: -------------------------------------+-------------------------------------- Changes (by dluke@macports.org): * status: new => closed * resolution: => fixed Comment: apr's revision bumped in r33741 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:15> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: dluke@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: -------------------------------------+-------------------------------------- Comment (by ryandesign@macports.org): Thanks. And in case anyone was wondering, apr0 should not be affected since its version was already bumped on 2008-01-12. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:16> MacPorts </projects/macports> Ports system for Mac OS
#13653: apache2 2.2.6_0 (2.2.8_0) build failure: unable to infer tagged configuration -------------------------------------+-------------------------------------- Reporter: jerry.jalava@gmail.com | Owner: dluke@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: -------------------------------------+-------------------------------------- Comment (by ryandesign@macports.org): Has duplicate #14145. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13653#comment:17> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts