**** BEGIN LOGGING AT Sun May 01 23:59:56 2005 May 02 00:19:58 morning May 02 00:20:00 goodmorning May 02 01:06:44 anyone interested in an eggdrop package ? May 02 01:14:58 what is eggdrop again? May 02 01:15:23 irc bot May 02 01:15:31 "Eggdropt is the world most popular irc bot" May 02 01:15:33 (just looked it up) May 02 01:15:48 dyoung: you've got mail! May 02 01:21:05 this is cool May 02 01:21:26 got a working gcc 4.0 crosstool? May 02 01:21:54 nope May 02 01:21:58 qemu-armeb -L /home/packages/oe/nslu2/bb_openslug_default/tmp/rootfs bin/busybox May 02 01:21:58 BusyBox v1.00 (2005.04.29-21:04+0000) multi-call binary May 02 01:21:59 ... May 02 01:23:25 I can run the openslug busybox on my x86 machine May 02 01:23:42 since qemu now supports armeb (in the latest version) May 02 01:25:25 nice. May 02 01:25:37 so you figure its more ready for mainstream work now? May 02 01:26:01 QEmuSlug ;) May 02 01:26:06 I think we could definitely find some uses for it now May 02 01:26:19 a couple of caveats May 02 01:26:44 it still only supports user emulation on arm - running apps, not booting an OS May 02 01:28:04 and it does not work for unslung - I get segfaults - I think this is related to the glibc version and the suspicion that some hard-float calls are still being generated even with a soft-float toolchain May 02 01:28:34 since I am not running a hard-float kernel on my x86 box, that would explain those segfaults May 02 01:29:22 things seem to work fine for openslug (more recent glibc), tho things that use /proc don't work right - not positive what the deal is there May 02 01:30:44 heh I mispoke above - of course I am running a hard-float kernel on my x86, but I am not running a kernel fp emulation kernel May 02 01:30:59 I am only guessing about the unslung segfaults tho May 02 01:32:11 I think it's same reason why we get segfaults if we try to use the libc libs that we compile (instead of the libc binaries from the distributed firmware) May 02 01:32:22 (in unslung) May 02 01:34:47 I was impressed by how easy qemu is to configure/compile/use May 02 01:35:42 ./configure --target-list=armeb-user && make && cp armeb-user/qemu-armeb /usr/local/bin May 02 01:47:12 s/mispoke/misspoke/ May 02 01:47:52 cool. May 02 01:48:01 I ought to give it a try after this other thing is finished. May 02 01:48:23 * ka6sox comes up for air. May 02 01:50:55 hi ka6sox May 02 01:51:21 hiya jacques May 02 01:52:44 that matrix of things that work with Crosstool is getting more RED as it goes along. May 02 01:52:53 my thoughts exactly May 02 01:53:18 ppor mipsel May 02 01:53:20 poor May 02 01:53:29 and in our case building native would be a real PITA. May 02 01:53:44 I don't think crosstool has a single working combination for mipsel May 02 01:53:52 ugh. May 02 01:54:01 Oleg has something that he uses for the WL stuff. May 02 01:54:25 but then again, if you want a uclibc toolchain, I think andersee's toolchain builder has something that works May 02 01:54:42 they are using uclibc for Wiley May 02 01:54:59 * ka6sox still chuckles when he thinks about Wiley. May 02 01:55:19 oh, and I read on the crossgcc list (the main list for crosstool support) that kegel has some personal rule about not including patches in crosstool if they "add new features" as opposed to "fixing bugs" May 02 01:55:44 and he has some strange ideas of what constitutes "adding new features" May 02 01:56:06 Wiley ? May 02 01:56:27 BTW, we have Lennert to thank for the armeb support in qemu May 02 01:56:46 I made an off hand remark about what I call my ASUS WL-HDD and it stuck. May 02 01:57:02 heh cool :-) May 02 01:57:32 so we have Hard Wileys, Wiley Std, and Wiley Delux May 02 01:58:27 lennert got a slug to do dev on? May 02 01:58:37 I don't recall May 02 01:59:10 brb...I need to ship off this design to the Board House. May 02 01:59:30 ok May 02 01:59:32 have to be out the door in 4.0hrs. May 02 01:59:50 (that Is I have to be out the door in 4hrs) May 02 02:00:58 we sent lennert a slug. May 02 02:01:20 I think that was wise :-) May 02 02:01:42 I've been meaning to write him and see if it ever arrived. theres a bug I've been meaning to look at and wanted his input. May 02 02:06:03 last I heard was when he sent me an email saying that a package had arrived for him, and that I should pay the guy who sent it May 02 02:11:31 hi rwhitby May 02 02:12:17 hey May 02 02:38:31 ~seen caplink May 02 02:38:33 caplink <~joerg@pD951747B.dip.t-dialin.net> was last seen on IRC in channel #nslu2-linux, 90d 11h 22m 8s ago, saying: 'night all'. May 02 02:38:49 ~seen caplink811 May 02 02:38:50 caplink811 <~Joerg@dsl-213-023-147-175.arcor-ip.net> was last seen on IRC in channel #nslu2-linux, 15d 16h 18m 3s ago, saying: 'k, fine idea'. May 02 02:38:56 thx :) May 02 02:39:06 ~seen caplink-811 May 02 02:39:07 i haven't seen 'caplink-811', ka6sox May 02 02:39:09 ~seen caplink-away May 02 02:39:10 jf-work: i haven't seen 'caplink-away' May 02 02:39:22 I saw him earler today. May 02 02:39:27 good ! May 02 02:39:56 he's still around. May 02 02:43:08 got eggdrop compiled. The question is : where should I put it in the filesystem as it normally stays in a user home directory and doesn't obey the --prefix rules ? May 02 02:43:30 what type of files does it install? May 02 02:44:07 binaries, conf files, dl extensions May 02 02:45:26 does it have an install target, and what does that target do? May 02 02:47:11 defaultly, the target install is $HOME/user. This can be changed with whatever we want, but there is no bin, sbin, etc, etc... May 02 02:48:37 might have to just install things manually May 02 02:58:23 That's odd... In gentoo eggdrop installs in /usr/something. I wonder if there's a patch May 02 02:59:52 hrrm... /opt/eggdrop actually May 02 03:01:17 make DEST=${D}/opt/eggdrop install <-- I guess this is the solution? May 02 03:01:40 NAiL : I can have eggdropt install in /opt/eggdrop May 02 03:02:03 I was wondering if some would prefer to have /opt/sbin, /opt/bin and /opt/etc May 02 03:03:10 That'll be messy with the config-file... You'd have to change the path to motd, help-files and everything ;) May 02 03:03:45 'coz there's a lot of bunch under eggdrop/ : doc, filesys, logs, modules, scripts, filesys, language... May 02 03:04:42 anyway, eggdrop package will require post install work for the user as eggdrop cannot be run as root. End user will have to create a user May 02 03:05:07 Yeah May 02 03:05:24 There's an install-script that comes with gentoo that does that... Might be interesting? May 02 03:06:55 NAiL: any idea where I can find it ? May 02 03:07:41 http://www.repvik.info/eggdrop-installer May 02 03:08:26 NAiL: ty May 02 03:09:29 np May 02 03:11:01 NAiL : this script seems to install eggdrop like the original 'make install' does it ("Install eggdrop for a specific user, creating the directories and files May 02 03:11:02 needed for eggdrop to run securely and safely.") May 02 03:11:35 hmm May 02 03:12:05 Doesn't install the binaries in the homedir tho May 02 07:04:41 caplink811-away: ping May 02 07:23:56 caplink811-away: you've got mail too.. May 02 07:52:58 wb May 02 08:12:16 03ptweety * 10unslung/make/ (11 files): some older perl-*.mk are now generating control files. May 02 08:46:59 hi May 02 09:04:44 03caplink811 * 10unslung/make/tcl.mk: tcl compiles now cross and native, changes by jeanfabrice May 02 09:44:54 ² May 02 09:45:59 May 02 09:47:04 ³ May 02 09:48:58 * perlguru May 02 10:06:38 The Man is in the house! May 02 10:07:18 <[g2]> VoodooZ_Work, hey --- Who'd I miss ? May 02 10:07:52 you of course! May 02 10:07:53 :) May 02 10:08:02 You're the MAN! May 02 10:08:15 what's new? May 02 10:08:43 * [g2] is a man May 02 10:09:07 <[g2]> VoodooZ_Work, you don't do any fpga stuff do you ? May 02 10:09:25 no, not yet May 02 10:09:44 but It would be useful for some highly specialised vision stuff. May 02 10:10:57 article about PWC: http://kerneltrap.org/node/5066 May 02 10:11:16 cool May 02 10:15:34 So it "might" end up back in the kernel after all. we'll see. May 02 10:15:58 perlguru: Do you have a webcam? if so, which one? May 02 10:17:22 yes, a logitech one (from my legomindstorm vision set) May 02 10:19:50 cool. Which chipset does it uses? And does it work unde rlinux? May 02 10:25:18 dont know. i dont use it that often. and if i do, i use it with M$N. May 02 10:29:02 ic May 02 10:49:05 03caplink811 * 10unslung/sources/tcl/control: makefile now produce the control May 02 11:14:12 caplink811-away: ping May 02 11:14:49 caplink811-away: can we discuss about tcl in one or two hours from now ? May 02 11:16:02 caplink811-away: it is now 08:15pm my time, I will be bk around 1 hour May 02 11:35:15 <[g2]> VoodooZ_Work, can you peek at something for a minute ? May 02 11:44:29 yep. what? May 02 11:47:22 [g2]: Are you there Master? :) May 02 12:02:14 anyone ever see a build error which looks like "undefined reference to `operator new(unsigned)'" ? May 02 12:02:56 ... or at least have any ideas what it might be about? May 02 12:03:07 missing libstdc++? May 02 12:03:51 ahh - that's an ipkg isn't it? May 02 12:04:26 yes; what context are you seeing the error in? May 02 12:05:00 already got that installed... May 02 12:05:31 I'm trying to install the new version of AppWeb (natively - for my sins) May 02 12:05:46 hmmm install = build and install... May 02 12:06:24 in the unslung build env? (or natively natively? :) May 02 12:06:42 in the unslung build env May 02 12:08:15 have you looked at the gcc commandline that's producing the error and looked to see whether there's a -lstdc++ (also whether it is gcc or g++ that is being invoked) May 02 12:09:55 ...also check that libstdc++ is staged May 02 12:11:45 gcc both times... I have to go off for a few mins - be right back May 02 12:13:24 see if that command line works with an explicit -lstdc++. i take it that appWeb /does/ actually contain some c++ code? May 02 12:16:08 jf-away: jf-work: ping, are you around? May 02 12:21:47 caplink811-away: yep, have to leave 30mn while kid go to bed May 02 12:22:12 will you be there in 30mn ? May 02 12:22:40 jf-away: yeah, i think so, np May 02 12:22:46 ok, see u May 02 12:23:03 caplink811-away, i'm having some trouble building tcl May 02 12:23:20 jp30-work: native, or cross? May 02 12:24:10 well, actually on a cross machine, but the trouble is with the tcl-source rule May 02 12:24:39 jp30-work: describe it pls May 02 12:25:58 well, for some reason make tcl-source always produces make: Nothing to be done for `tcl-source', even though there is no file match downloads/tcl* May 02 12:26:23 seems like it should be an obvious typo somewhere, but i can't see one May 02 12:27:09 (and of course make tcl-unpack does not succeed, because of the missing sources) May 02 12:29:29 jp30-work: the lack of dash (-) between the filename and the version fooled me May 02 12:29:47 did you check this at it appears more than one in the mk May 02 12:30:08 just one moment, will have a look May 02 12:30:24 jf-away: ls: downloads/tcl*: No such file or directory May 02 12:31:01 will check this is 20m, have it compiled cross fine May 02 12:31:05 s/is/in May 02 12:32:04 compiles native also fine, cause the source was already in downloads :-( May 02 12:33:38 k, there are blanks, insteed of a tab in the makefile May 02 12:33:45 ah! May 02 12:33:54 dpwnloads now May 02 12:34:14 can you checkin the fixed version of tcl.mk? May 02 12:34:18 yep May 02 12:35:33 cia have a lag this evening, commit is done May 02 12:36:25 looks like it's working. thanks! i'll let you know if there is any build trouble May 02 12:37:15 there is... May 02 12:37:17 cat /share/hdd/data/home/unslung/packages/sources/tcl/configure.in.patch /share/hdd/data/home/unslung/packages/sources/tcl/strstr.c.patch | patch -d /share/hdd/data/home/unslung/packages/builds/tcl8.4.9 -p1 May 02 12:37:17 patching file unix/configure.in May 02 12:37:17 patch: **** malformed patch at line 12: @@ -32,7 +32,9 @@ May 02 12:39:28 yeah, i know, this is why i tried to reached jf-away , something went wrong at transfer May 02 12:39:45 'back May 02 12:39:48 hi jean-fabrice , have you read your email? May 02 12:39:52 yeah May 02 12:40:15 what did you commit ? all the patches ? May 02 12:40:22 so, it would nice, if you can commit your configure.in.patch, and yes May 02 12:41:02 strstr.c.patch is ok, but i think, configure.in,patch is malformatted May 02 12:41:29 maybe something like blank versus tab, or cr/lf vs. cr May 02 12:45:34 have commit configure.in.patch May 02 12:45:42 thx May 02 12:46:35 jacques: the fsck seemed to help, thanks\ May 02 12:46:44 Christopher, glad to hear it! May 02 12:46:58 even strstr.c.patch have diff May 02 12:48:00 jean-fabrice, we should try updating php to 5.0.4 sometime May 02 12:48:35 jp30-work: okay. everyday's a challenge with you ;) May 02 12:49:14 03jeanfabrice * 10unslung/sources/tcl/strstr.c.patch: recommit strstr.c.patch May 02 12:49:34 maybe not today, i have stuff to do this afternoon, but something to think about May 02 12:50:26 jean-fabrice: fine, patching works fine now May 02 12:50:40 ...probably also a good idea to wait for user feedback on the threadsafe build first too. May 02 12:58:18 does CIA-8 have troubles ? May 02 12:59:01 yeah, seems to have a lag this evening May 02 12:59:41 have fix tcl.mk to have staging produce the libtcl.so May 02 13:10:58 It would be nice to have a common named file on both wiley & slug so we can identify the box during postinst for conditional, no ? or maybe we can use 'uname -m'... May 02 13:13:23 jeanfabrice, i think we should uname if it can be guaranteed to be installed May 02 13:13:44 03jeanfabrice * 10unslung/Makefile: Promote tcl for Wiley May 02 13:14:27 humm May 02 13:15:00 inspecting /proc/cpuinfo also a possibility May 02 13:15:25 not guarantee for uname on wiley May 02 13:15:47 i was just looking on a slug, it's not part of the firmware there either May 02 13:16:23 wiley have a .version at the top but there's only the fw release in it May 02 13:16:33 don't you have such ? May 02 13:17:44 maybe that's the solution: unslung slugs have a .unslung in the root directory of the root fs May 02 13:18:00 it contains a version like this: V2.3R25-uNSLUng-standard-3.17-beta May 02 13:19:56 I thought that was deprecated... May 02 13:20:05 I could be wrong May 02 13:20:16 hmm May 02 13:21:03 jeanfabrice, you'd better make sure to talk to the unslung firmware guys to check on this. May 02 13:21:44 when i said that uname would be best, i meant that it would be best if we didn't have to change existing firmware to implement this May 02 13:22:09 yep. I was just wondering how usefull it could be for conditionnal action on package postinst and see if you could find it usefull May 02 13:22:22 well, i haven't needed it yet May 02 13:23:00 as an example, creating user account on slug and wiley implies differents action May 02 13:23:34 come to think of it, it's always possible to generate that information at compile time and write it into the script May 02 13:23:48 for wiley, as /etc/passwd is stored in ramfs, we need to make some trick to make the change permanent May 02 13:24:12 its very arcane and tricky to change /etc/passwd on the slug too May 02 13:24:27 wouldn't it denature the .mk to have it create an account ? May 02 13:24:51 denature = change its initial and original goal May 02 13:25:01 two things... May 02 13:26:09 1) i mean if a postinst script needed to know whether it was on a slug or wiley, the .mk could modify it with sed so it knew (e.g. sed -e s/@MACHINE@/$(UNSLUNG_TARGET)/) May 02 13:26:32 2) my view is that unslung packages should just refrain from modifying /etc/passwd May 02 13:26:40 okay May 02 13:26:47 this came up with apache and mysql May 02 13:26:59 ...which is why apache runs as nobody, and mysql as root May 02 13:27:16 does nobody has a shell on slug ? May 02 13:27:21 s/has/have May 02 13:27:38 currently postgresql also modifies /etc/passwd May 02 13:27:41 i hope not, let's check May 02 13:27:56 and what id/groupid is nobody ? May 02 13:28:06 nobody:x:99:99:Nobody:/: May 02 13:28:13 uid=99(nobody) gid=99(nobody) May 02 13:28:20 ok, got the same May 02 13:29:35 without shell ? wiley has /bin/false May 02 13:29:40 wish we had useradd/groupadd on unslung May 02 13:30:40 eno, it looks like you are just modifying /etc/passwd on the slug - i don't know that that will survive a reboot (even though it is in jffs, the linksys boot scripts like to overwrite it unexpectedly) May 02 13:30:58 still as an example, I working on eggdrop which refuse to run as root. And nobody has no shell.... need an eggdrop account, no ? Should I let the end user create it himself ? May 02 13:32:00 there's a "cp /etc/passwd /share/hdd/conf/" step in postinst May 02 13:32:31 eno, ok, i see it now May 02 13:32:34 don't know if that's sufficient or not May 02 13:32:46 but that do not work on wile ;) May 02 13:32:51 wiley May 02 13:33:05 sorry :( May 02 13:33:08 i understand, but that predates wiley May 02 13:33:09 that's another good reason just to run postgresql as root May 02 13:34:00 eno-away : j/k May 02 13:34:50 i understand the reason here, but OTOH, i'd like to see a cross platform useradd/groupadd working May 02 13:35:06 jf, why does eggdrop need to have a shell in /etc/passwd? does the user have to become that user manually to start it? May 02 13:35:48 i gotta go, will read irc log later May 02 13:35:53 (if it owns files, that's a reason not to use nobody - nobody should never be able to write to anything) May 02 13:36:44 jp30-work: it appears that eggdrop has to be launch with a unprivileged account May 02 13:36:52 jp30-work: I've upgraded to the latest apache version in the feed an now have 30 threads running. What is the right httpd.conf option to reduce it to about 10? May 02 13:37:24 There are such a lot of different numbers in this file :-( May 02 13:38:10 pTweety, you need to tune ThreadsPerChild and MaxClients. if MaxClients > ThreadsPerChild, apache will start multiple processes, which you probably don't want May 02 13:39:07 jeanfabrice, can you patch it to setuid(nobody) if it detects that it's running as root May 02 13:41:27 jp30-work: that could be a solution yes May 02 13:43:41 pTweety, pls let me know if you think the number of threads needs to be tuned for apache. I figured that threads are pretty low cost. also, apache can't deal with more clients than threads (especially an issue when keepalive is being used). May 02 13:44:50 it may yet be a faq to disable keepalive if you expect to serve many clients concurrently May 02 13:45:37 jf, i have to go, keep me posted re: eggdrop May 02 13:46:29 jp30-work, I don't much about apache. But for my purpose 10 threads are enough. That was why I asked. May 02 13:49:08 Anyway, I'm going to do some test on apache and php the next days and will report any strang observations back to you May 02 13:50:28 night all May 02 14:20:18 should log and pidfile go under /opt/var ? May 02 14:24:03 (wiley have /var mount on ramfs) May 02 15:11:32 03jeanfabrice * 10unslung/make/php-thttpd.mk: Fixed libxml2 search path May 02 15:21:45 hi jeanfabrice, can you please tell me from what sources did you manage to build thttpd-php package? May 02 15:25:15 jaro: I'm currently using source form thttpd package and php package May 02 15:25:23 s/form/from May 02 15:27:52 Thanks a lot. Anyway - did you try to build that combination of packages using uclibc instead of full libc? I'd like to put it into the flash, but libc won't fit there. May 02 15:29:11 I currently build them using a uclibc toolchain May 02 15:29:39 so then build ;) May 02 15:29:44 s/then/they May 02 15:30:36 (asus wl500g only support uclibc for now, and I'm building package for such box) May 02 15:35:04 03jeanfabrice * 10unslung/Makefile: Demote quagga for wiley as it needs fixes May 02 20:00:33 anyone going to E3? May 02 20:02:49 E3? May 02 20:04:47 http://www.e3expo.com/ May 02 20:07:57 Close but no cigar. May 02 20:08:11 I'm actually the closest one to it. :( **** ENDING LOGGING AT Mon May 02 23:59:56 2005