#emc-devel | Logs for 2006-02-02

Back
[00:19:38] <cradek> logger_devel: bookmark
[00:19:38] <cradek> See http://solaris.cs.utt.ro/irc/irc.freenode.net:6667/emcdevel/2006-02-02#T00-19-38
[00:20:59] <rayh> Got a problem with scripts/emc
[00:21:16] <rayh> just updated and get this response.
[00:21:22] <rayh> rayh@ray64:~/emcdevelop/emc2$ scripts/emc univstep
[00:21:23] <rayh> Machine configuration directory is '/home/rayh/emcdevelop/emc2/configs/univstep/'
[00:21:23] <rayh> Machine configuration file is 'univstep.ini'
[00:21:23] <rayh> Starting emc...
[00:21:24] <rayh> sudo: /home/rayh/emcdevelop/emc2/scripts/realtime: command not found
[00:21:24] <rayh> Realtime system did not load
[00:21:25] <rayh> Shutting down and cleaning up EMC...
[00:21:27] <rayh> sudo: /home/rayh/emcdevelop/emc2/scripts/realtime: command not found
[00:21:29] <rayh> Cleanup done
[00:22:17] <SWPadnos> did you ./configure, make clean, make, sudo make (permissions or something)?
[00:22:36] <rayh> Nope. Thanks for that heads up again.
[00:22:40] <SWPadnos> realtime is now generated by configure
[00:22:41] <cradek> rayh: I'm guessing you didn't run configure after the cvs up.
[00:22:43] <SWPadnos> sure
[00:22:56] <cradek> yeah what he says
[00:23:34] <rayh> rayh@ray64:~/emcdevelop/emc2$ scripts/emc univstep
[00:23:34] <rayh> bash: scripts/emc: Permission denied
[00:24:05] <SWPadnos> you need to do that last one, or the permissions are wrong
[00:24:21] <cradek> no, this one is because you didn't run make
[00:24:36] <SWPadnos> sudo make setuid
[00:24:43] <SWPadnos> heh
[00:24:53] <cradek> you need to do all the steps after cvs up: ./configure; make clean; make; sudo make setuid
[00:25:13] <SWPadnos> uh-oh - he's double-teaming us
[00:25:18] <cradek> rayh_: after cvs up: ./configure; make clean; make; sudo make setuid
[00:25:30] <rayh_> ./configure alone didn't work
[00:25:40] <cradek> you have to do all the steps after a cvs up.
[00:25:51] <rayh_> But when I issued make clean, it is happly eating my entire hd install.
[00:26:00] <SWPadnos> lots of stuff is now created by the build process, including configure and make
[00:26:09] <rayh_> * rayh_ is gonna go away
[00:26:10] <cradek> what?
[00:26:15] <cradek> what do you mean?
[00:26:37] <rayh_> Yep massive hard drive work and rm going everywhere.
[00:26:42] <rayh_> have a nice night guys.
[00:26:47] <SWPadnos> that doesn't sound right
[00:26:53] <SWPadnos> hmmm
[00:26:59] <SWPadnos> bummer
[00:27:25] <SWPadnos> that may not be a good sign
[00:28:01] <cradek> well it's hard to say with the information we have.
[00:28:18] <SWPadnos> true
[00:28:26] <SWPadnos> I'm looking at any changes to Makefile*
[00:28:32] <SWPadnos> jepler had one earlier today
[00:30:18] <cradek> well there are rm -fR in the clean target. That sure is stupid.
[00:30:52] <SWPadnos> that is bad
[00:31:00] <cradek> (if [ -d /usr/src/emc2/src/.tmp ] ; then rm -fR /usr/src/emc2/src/.tmp ; fi)
[00:31:00] <cradek> (if [ -d /usr/src/emc2/src/.rt_tmp ] ; then rm -fR /usr/src/emc2/src/.rt_tmp ; fi)
[00:31:03] <cradek> (if [ -d ] ; then rm -fR ; fi)
[00:31:15] <cradek> this is what happens on my system (harmless)
[00:31:38] <SWPadnos> err - that last one could be bad
[00:31:51] <cradek> nah
[00:32:02] <SWPadnos> this is what I got from irc:
[00:32:06] <SWPadnos> (if [ -d ] ; then rm -fR ; fi)
[00:32:14] <SWPadnos> no dire specified
[00:32:16] <cradek> yeah, that's what it does
[00:32:16] <SWPadnos> dirs
[00:32:18] <SWPadnos> ok
[00:32:34] <cradek> on my system at least, surprisingly, [ -d ] is true
[00:32:43] <cradek> but "rm -fR" does nothing
[00:32:50] <SWPadnos> ah - no *
[00:33:03] <cradek> no, there is nothing there.
[00:40:12] <rayh> Total crash.
[00:40:41] <rayh> I think whenever there are changes to configure you must run make clean before ./configure
[00:41:01] <rayh> or it locks up looking for stuff that it can no longer find.
[00:51:57] <cradek> rayh: did it delete files outside of your emc directory?
[01:00:47] <rayh> It looks like it ate parts of all the processes that were running.
[01:00:54] <rayh> kde config is gone.
[01:01:08] <rayh> ksirc is dead completely.
[01:01:50] <rayh> I didn't see anything useful in the log files but still looking.
[01:02:49] <rayh> IMO running ./configure on an old system and then trying to make clean leads to some dead ends.
[01:02:55] <rayh> I did it once before.
[01:03:26] <rayh> I'd getting a new copy of emc2 now.
[01:05:21] <cradek> do you still have the Makefile.inc?
[01:05:28] <cradek> were you running as root when you did this?
[01:06:10] <rayh> nope is was rayh
[01:08:05] <cradek> and you didn't use sudo when you did the configure or make clean?
[01:08:23] <rayh> nope
[01:08:34] <cradek> do you still happen to have that Makefile.inc?
[01:09:19] <rayh> I moved emc2 aside after restart. There is a makefile in the old version.
[01:09:46] <rayh> built about 6:30 so that should be about right.
[01:10:02] <cradek> so you have the directory that you think was messed up - can you tell me what TMP_DIR says in Makefile.inc?
[01:10:10] <cradek> err src/Makefile.inc
[01:10:41] <rayh> It is on the box with the dead irc. Let me copy it here.
[01:10:54] <cradek> you can email it to me or whatever
[01:14:54] <rayh> on the way now.
[01:15:26] <rayh> * rayh goes to look at irc on the troubled box.
[01:17:27] <cradek> ok the thing I thought might be wrong isn't. I don't see how it would have touched files outside of /home/rayh/emcdevelop/emc2
[01:17:44] <rayh> I have emc running again.
[01:18:08] <rayh> it started up really slow compared to the last install.
[01:20:13] <rayh_> Okay I'm back.
[01:22:12] <cradek> so everything is fine now?
[01:22:51] <rayh> Don't know.
[01:23:16] <rayh> Still rebuilding the desktop and finding stuff.
[01:23:45] <cradek> so it had some effect on your kde preferences/setup?
[01:24:33] <rayh_> Yes
[01:24:50] <cradek> I'm afraid I know squat about how kde keeps those settings
[01:24:50] <rayh_> The last time it happened it killed of kdm completely.
[01:25:06] <cradek> the last time what happened?
[01:25:13] <rayh_> I did this.
[01:25:19] <cradek> I mean what was the last thing you typed?
[01:25:35] <cradek> configure?
[01:25:48] <rayh_> make clean
[01:27:16] <cradek> unless you're running as root, make clean can't touch things like kdm
[01:27:31] <rayh> Well tell that to my other box.
[01:28:08] <cradek> dinner is ready, I'll be back later.
[01:28:16] <rayh> I think what happens is a new Makefile
[01:28:24] <rayh> catch you after dinner.
[15:26:28] <alex_joni> hi guys
[18:24:34] <SWPadnos> easy for you to say :)
[22:48:52] <rayh> rayh is now known as rayh_away