[MacPorts] #17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0
#17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0 ---------------------------------+------------------------------------------ Reporter: jeff@netnichols.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: upgrade | Port: mysql5 ---------------------------------+------------------------------------------ Trying to upgrade from 5.0.51a_0 has repeatedly failed for me for the last few months. I'm running OS X 10.5.5 on an Intel MBP. {{{ $ port outdated The following installed ports are outdated: mysql5 5.0.51a_0 < 5.0.67_1 $ sudo port upgrade outdated ---> Building mysql5 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_databases_mysql5/work/mysql-5.0.67" && make all " returned error 2 Command output: Making all in Docs make[2]: Nothing to be done for `all'. Making all in cmd-line-utils Making all in libedit sh ./makelist -h ./vi.c > vi.h.tmp && \ mv vi.h.tmp vi.h ./makelist: line 81: BEGIN { printf("/* Automatically generated file, do not edit */\n"); printf("#ifndef %s\n#define %s\n", "_h_vi_c", "_h_vi_c"); } /\(\):/ { pr = substr($2, 1, 2); if (pr == "vi" || pr == "em" || pr == "ed") { name = substr($2, 1, index($2,"(") - 1); # # XXX: need a space between name and prototype so that -fc and -fh # parsing is much easier # printf("protected el_action_t\t%s (EditLine *, int);\n", name); } } END { printf("#endif /* %s */\n", "_h_vi_c"); }: No such file or directory cat: stdout: Broken pipe make[3]: *** [vi.h] Error 127 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/17192> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0 ----------------------------------+----------------------------------------- Reporter: jeff@netnichols.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: upgrade Port: mysql5 | ----------------------------------+----------------------------------------- Changes (by macsforever2000@macports.org): * cc: jeff@netnichols.com (removed) * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: Assigning to maintainer. Reporter is automatically Cc'ed. -- Ticket URL: <http://trac.macports.org/ticket/17192#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0 ----------------------------------+----------------------------------------- Reporter: jeff@netnichols.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: upgrade Port: mysql5 | ----------------------------------+----------------------------------------- Comment(by ryandesign@macports.org): Hmm. I can't exactly tell what its complaint is. Can you clean mysql5 and try again, this time with debug output, and attach it here? I can compare that with my system and see what's different. {{{ sudo port clean mysql5 sudo port -d upgrade mysql5 2>&1 | tee ~/Desktop/mysql5.txt bzip2 ~/Desktop/mysql5.txt }}} Then attach mysql5.txt.bz2 from your desktop to this ticket. Thanks. -- Ticket URL: <http://trac.macports.org/ticket/17192#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0 ----------------------------------+----------------------------------------- Reporter: jeff@netnichols.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: upgrade Port: mysql5 | ----------------------------------+----------------------------------------- Comment(by jeff@netnichols.com): Well, I wish I had thought about running 'clean' before. It seems to have fixed whatever issue I was having. I anyway attached the debug log in case it is of interest. -- Ticket URL: <http://trac.macports.org/ticket/17192#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0 ----------------------------------+----------------------------------------- Reporter: jeff@netnichols.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: upgrade Port: mysql5 | ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => worksforme Comment: I'm glad you got it to work! Looking back at your original error message, it looks like it was failing in the command `sh ./makelist -h ./vi.c > vi.h.tmp && mv vi.h.tmp vi.h` which is trying to make vi.h out of vi.c, and it's complaining that vi.c doesn't exist. Perhaps this is because there was not enough disk space to extract the file at the time you originally extracted the port months ago, or maybe something earlier in the build process deleted or moved that file. Whatever the cause, since it corrected itself when you cleaned and tried again, I'll close the ticket. -- Ticket URL: <http://trac.macports.org/ticket/17192#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0 ----------------------------------+----------------------------------------- Reporter: jeff@netnichols.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: upgrade Port: mysql5 | ----------------------------------+----------------------------------------- Comment(by jeff@netnichols.com): I do frequently run low on disk space, so your theory could very well be true. Anyway, thanks for your help! -- Ticket URL: <http://trac.macports.org/ticket/17192#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17192: mysql-5.0.67_1 Error upgrading from 5.0.51a_0 ----------------------------------+----------------------------------------- Reporter: jeff@netnichols.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: upgrade Port: mysql5 | ----------------------------------+----------------------------------------- Comment(by blb@macports.org): This is actually an instance of the [wiki:LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases Tcl env bug], if you look at the makelist script, just before the output given by port, is a variable $AWK, then the error message "No such file or directory". See, eg, [http://lists.macosforge.org/pipermail/macports- users/2008-July/010931.html this -users post]. -- Ticket URL: <http://trac.macports.org/ticket/17192#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts