[MacPorts] #17492: No rule to make target all
#17492: No rule to make target all -------------------------------------------+-------------------------------- Reporter: forums@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5 | Port: php5 -------------------------------------------+-------------------------------- I get the following error at the end of trying to update php5. It goes on to update apr libraries and apache etc but it fails with the following message: ---- {{{ Macintosh:local jeffery$ sudo port -v upgrade php5 ---> Building php5 with target all make: *** No rule to make target `all'. Stop. 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_php5/work/php-5.2.6" && make all " returned error 2 Command output: make: *** No rule to make target `all'. Stop. Warning: the following items did not execute (for php5): org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} ---- Am I doing something wrong here? -- Ticket URL: <http://trac.macports.org/ticket/17492> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: No rule to make target all -------------------------------------------+-------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5 | Port: php5 -------------------------------------------+-------------------------------- Changes (by jmr@…): * cc: jwa@… (added) * owner: macports-tickets@… => ryandesign@… Comment: Looks like maybe the configure script failed. Try again from the start with debug mode on so we can see what's actually happening: {{{ sudo port clean php5 && sudo port -d upgrade php5 > php5.log 2>&1 }}} -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. -------------------------------------------+-------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5 | Port: php5 -------------------------------------------+-------------------------------- -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. -------------------------------------------+-------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5 | Port: php5 -------------------------------------------+-------------------------------- Comment(by ryandesign@…): Your autoconf213 appears to be malfunctioning, based on this part of your log: {{{ DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6" && /opt/local/bin/autoconf213' /opt/local/bin/autoconf213: line 153: /__oline__/ { printf "%d:", NR + 1 } { print } : No such file or directory }}} I note that the autoconf port has dependencies on perl5, m4 and help2man, but the autoconf213 port has no dependencies on anything. That seems fishy. Do you have perl5 (or perl5.8), m4 and help2man installed and active? If not, install and activate them, then rebuild autoconf213, then try installing php5 again. If that works, we may need to add those dependencies to the autoconf213 port. -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. -------------------------------------------+-------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5 | Port: php5 -------------------------------------------+-------------------------------- Comment(by forums@…): you can close this bug. I re-installed macports from scratch and that seems to have fixed the problem. -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. --------------------------------------------+------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: php5 Port: php5 | --------------------------------------------+------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. --------------------------------------------+------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: php5 Port: php5 | --------------------------------------------+------------------------------- Comment(by akim.demaille@…): I have the same problem and the bug is that autoconf213 is broken: {{{ : ${AC_MACRODIR=/opt/local/share/autoconf213/autoconf} : ${M4=/opt/local/bin/gm4} : ${AWK=} case "${M4}" in /*) # Handle the case that m4 has moved since we were configured. # It may have been found originally in a build directory. test -f "${M4}" || M4=m4 ;; esac }}} as you can see, AWK is set to empty, so when autoconf213 tries to run the following AWK program: {{{ # Put the real line numbers into configure to make config.log more helpful. $AWK ' /__oline__/ { printf "%d:", NR + 1 } { print } ' $tmpout | sed ' /__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/ ' >&4 }}} then it fails. uninstalling and reinstalling autoconf213 fixes the problem. Yet autoconf213 should check that it has proper values. -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. --------------------------------------------+------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: php5 Port: php5 | --------------------------------------------+------------------------------- Comment(by ryandesign@…): I wonder why your autoconf213's AWK is empty. I would have thought it would either be gawk, if the gawk port was installed, possibly nawk if the nawk port was installed, or the system's awk otherwise. If you can provide any information on why your AWK is empty that might be helpful. e.g. do you have the gawk or nawk ports installed? What do "`which awk`", "`which gawk`" and "`which nawk`" say on your system? I did file #17870 for the problem with autoconf213's dependencies. Hopefully resolving that will resolve this as well. -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. --------------------------------------------+------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: php5 Port: php5 | --------------------------------------------+------------------------------- Changes (by ryandesign@…): * cc: akim.demaille@… (added) Comment: Forgot to Cc you. Please read my comment above. -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. --------------------------------------------+------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: php5 Port: php5 | --------------------------------------------+------------------------------- Comment(by akim.demaille@…): I have no idea why AWK was empty. As of today, I have: {{{ $ which -a gawk awk nawk /opt/local/bin/gawk /usr/bin/awk nawk not found }}} -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17492: php5: make: *** No rule to make target `all'. Stop. --------------------------------------------+------------------------------- Reporter: forums@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: php5 Port: php5 | --------------------------------------------+------------------------------- Comment(by jmr@…): Blank environment variables could be caused by a bug in Leopard's Tcl, which has been worked around in MacPorts 1.7.0. If you are running an earlier version, try upgrading. -- Ticket URL: <http://trac.macports.org/ticket/17492#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts