**** BEGIN LOGGING AT Sat Nov 04 02:59:57 2006 Nov 04 10:04:10 greetings all - I'm having a tough time compiling a new package. I think I may be doing something wrong here. When I do 'make packagename' it takes nearly 15 minutes, even for a small package Nov 04 10:11:18 are you compiling on the slug itself? Nov 04 10:12:05 no, using my ubuntu laptop Nov 04 10:12:28 It seems to be going through thousands of directories Nov 04 10:19:01 then these are some of the errors it finally spits out: Nov 04 10:19:03 /home/scarolan/downloads/unslung/optware/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/build-glibc/csu/version-info.h:4:1: missing terminating " character Nov 04 10:19:03 make[4]: *** [/home/scarolan/downloads/unslung/optware/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/build-glibc/csu/version.o] Error 1 Nov 04 10:19:03 make[4]: Leaving directory `/home/scarolan/downloads/unslung/optware/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/glibc-2.2.5/csu' Nov 04 10:19:03 make[3]: *** [csu/subdir_lib] Error 2 Nov 04 10:19:05 make[3]: Leaving directory `/home/scarolan/downloads/unslung/optware/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/glibc-2.2.5' Nov 04 10:19:08 make[2]: *** [all] Error 2 Nov 04 10:19:10 make[2]: Leaving directory `/home/scarolan/downloads/unslung/optware/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/build-glibc' Nov 04 10:19:15 make[1]: *** [/home/scarolan/downloads/unslung/optware/toolchain/crosstool/.built] Error 2 Nov 04 10:19:17 make[1]: Leaving directory `/home/scarolan/downloads/unslung/optware' Nov 04 10:19:19 make: *** [/home/scarolan/downloads/unslung/optware/builds/ftpcopy/.configured] Error 2 Nov 04 10:20:36 i never managed to get a successfull cross compiler working, in the end i compiled the packages i need on the slug itself Nov 04 10:20:51 hmm, well when I try that i get this error: Nov 04 10:22:31 env: No such file or directory Nov 04 10:23:16 any idea what I'm missing here? Nov 04 10:23:24 greenleaf108: use a debian sarge chroot Nov 04 10:23:47 what's happening is that it's building the toolchain to build the packages Nov 04 10:24:03 and it looks like the toolchain build is not working on our ubuntu laptop Nov 04 10:24:09 (we test on debian sarge) Nov 04 10:24:19 ah Nov 04 10:24:34 rwhitby, I think i'm in over my head here. Could I pay someone to build ftpcopy for me? Nov 04 10:25:34 http://www.ohse.de/uwe/ftpcopy.html Nov 04 10:27:10 oh well Nov 04 10:28:00 build for what, unslung? Nov 04 10:28:06 im using debianslug Nov 04 10:28:09 Yep Nov 04 10:28:18 I have unslung, it's met my needs so far Nov 04 10:28:33 but I suppose if I wanted ftpcopy I could just change to debian Nov 04 10:28:42 seems like overkill for one package though Nov 04 10:28:46 i would have had a go at compiling it, but it would be for the wrong version Nov 04 10:28:50 yeah lol Nov 04 10:29:40 Is this sort of request allowed on the mailing list? I have already wasted way too many hours tinkering with this, and at this point I'd rather just pay someone to make the package for me. Nov 04 10:29:45 > apt-cache search ftpcopy Nov 04 10:29:45 ftpcopy - FTP clients collection Nov 04 10:30:05 dunno, worth a try ;-) Nov 04 10:30:16 the people in here are very helpful Nov 04 10:30:28 would be worth just leaving a client connected and see if someone responds later Nov 04 10:31:11 i could have a go, but it would mean reinstalling the debian virtualpc Nov 04 10:31:33 exactly - i don't have time to install a debian virtual machine, and i don't know how to make a debian sarge chroot environment Nov 04 10:32:21 its do-able, but i wasted about 3 days on it when trying to compile latest rtorrent/libtorrent. eventually i ended up compiling on slug, as i just couldnt get my head round it Nov 04 10:33:02 leave a message for [g2] - he had a go at compiling libtorrent for me Nov 04 10:33:16 yea, i'm just an end-user, not a programmer or heavy sysadmin by any means. I like linux, but I just want it to work without spending 3 days tweaking Nov 04 10:34:08 greenleaf108: sure - ask on the mailing list. You could even offer to make a donation - that might get someone to do it. Nov 04 10:34:44 Ok, will do. Nov 04 10:34:53 build for what distro? Nov 04 10:35:01 unslung Nov 04 10:35:13 ah, not my strength :-\ Nov 04 10:35:24 6.8 beta Nov 04 10:35:46 it's a great little box - i have it set up as a print server now, works fine Nov 04 10:36:07 But would be great to have ftpcopy so i can automate backups of my websites (host only allows ftp access) Nov 04 10:36:33 aha Nov 04 10:36:38 that would indeed be a nice tool Nov 04 10:37:02 never tried it, i backup a few different servers by just running cron's Nov 04 10:37:16 anyway guys, thanks for your help - i'm going to turn in, but leave xchat open in case someone can help. I am willing to pay you $25.00 or donate $25 to the project, whichever you prefer... Nov 04 11:36:55 greenleaf108: ive rebuilt my debian virtual pc image, i'll have a go at compiling ftpcopy when i get back from taking Jr swimming Nov 04 12:04:53 03blaster8 * r549 10kernel/trunk/patches/2.6.18/series: Update 2.6.18 with 2.6.18.2 patch Nov 04 12:06:11 03blaster8 * r550 10kernel/trunk/patches/2.6.18/ (00-linux-2.6.18.1.patch 00-linux-2.6.18.2.patch): Fix previous upload to actually include the 2.6.18.2 patch Nov 04 13:56:46 <[g2]> greenleaf108 edgy perhaps ? Nov 04 13:59:34 hi [g2] Nov 04 13:59:46 hi dwery Nov 04 14:00:36 <[g2]> morning likewise Nov 04 14:01:02 goodmorning to you, here it's 3:22 PM already. Nov 04 14:01:31 still sunny though :-) Nov 04 14:01:41 likewise: hi! Nov 04 14:16:02 ~ugt Nov 04 14:16:11 ugt is, like, Universial Greeting Time. Created in #mipslinux, it is a rule that states that whenever somebody enters an IRC channel it is always morning, and it is always late when the person leaves. The local time of any other people in the channel, including the greeter, is irrelevant. http://www.total-knowledge.com/~ilya/mips/ugt.html Nov 04 14:16:18 ;) Nov 04 14:18:13 <[g2]> ~gug Nov 04 14:18:15 gug is probably Generic Universal Greeting, used instead of the typical morning, afternoon, or evening greeting so as to disregard any timezone conficts Nov 04 14:18:50 <[g2]> :) Nov 04 14:19:11 heh @ ugt Nov 04 14:19:40 Universial Nov 04 14:19:47 that meant to be spelt like that? Nov 04 14:23:11 ugh! Nov 04 14:23:35 (the generic universal greeting in the univeral greeting time) Nov 04 14:49:39 universal greeting habit? Nov 04 16:50:07 g2, yes, edgy Nov 04 16:50:37 <[g2]> greenleaf108 some ppl have run into an issue with dash on edgy Nov 04 16:50:37 barnseenio - thanks, let me know how it goes Nov 04 16:51:29 g2, thanks for sharing that. I have dapper running in a virtual machine - would that work?? Nov 04 16:51:32 <[g2]> greenleaf108 are you running kke or gnome Nov 04 16:51:37 gnome Nov 04 16:52:04 <[g2]> dapper certainly works with some apt-gets Nov 04 16:52:22 <[g2]> I've got a dapper LiveCD that build OE Nov 04 16:52:32 <[g2]> s/build/builds/ Nov 04 16:52:34 [g2] meant: I've got a dapper LiveCD that builds OE Nov 04 16:52:40 g2 do you think I could build ftpcopy on my dapper box? Nov 04 16:53:27 <[g2]> greenleaf108 you are trying to build ftpcopy for a debian version of the slug ? Nov 04 16:53:39 g2, no I'm using the unslung firmware Nov 04 16:54:11 I'd consider upgrading to debian if needbe Nov 04 16:57:29 <[g2]> greenleaf108 ok, so you just want to run the master makefile Nov 04 16:57:42 <[g2]> and build unslung Nov 04 16:57:53 greenleaf108: i'm using dapper and edgy all the time for optware package build Nov 04 16:58:44 <[g2]> eno you build with the master makefile ? Nov 04 16:59:07 starting from master makefile, yes Nov 04 16:59:12 eno, I tried to follow instructions in the wiki (eg, copy the .mk file, adjust it for your package, etc) Nov 04 16:59:58 But then it goes through this 15-20 minute thing of trying to build the entire toolchain every time Nov 04 17:00:03 can you x-build any other package, e.g., 'which'? Nov 04 17:00:03 <[g2]> eno do you have the package list for edgy that you install (other than monotone) Nov 04 17:01:04 i've a lot of packages installed, don't know how to trim it down to relevant one Nov 04 17:01:30 <[g2]> eno it's simple, built it up from scratch :) Nov 04 17:01:43 [g2]: ping Nov 04 17:01:49 <[g2]> if you don't have a list handy I'll create one for edgy Nov 04 17:02:09 <[g2]> I've got stuff that runs from a debootstraped dapper Nov 04 17:02:22 <[g2]> GPSFan pong Nov 04 17:03:05 [g2]: never did re-connect with you the other day. any further avila developments? Nov 04 17:03:25 my edgy installation was dist-upgrade from dapper Nov 04 17:12:47 greenleaf108: ftpcopy is not using gnu autoconf, so in the x-compilation env, it still builds x86 binaries Nov 04 17:13:28 the good news is that there seems to be hooks allowing one to specify other cc/ld/cflags/ldflags Nov 04 17:13:37 ah, thank you for pointing that out to me. I'm a newb... Nov 04 17:14:12 i'm looking at that, the bottom line is that native build definitely should work Nov 04 17:16:22 eno, so I may be able to build this on edgy? Nov 04 17:20:23 maybe. i don't find edgy too different from other debian based distro Nov 04 17:20:49 and definitely on slug itself Nov 04 17:20:59 ftpcopy is not a big program Nov 04 17:21:10 could i just compile it on the slug then? Nov 04 17:23:15 yes, i'm looking for the wiki page... Nov 04 17:23:41 http://www.nslu2-linux.org/wiki/HowTo/NativelyCompileUnslungPackages Nov 04 17:24:55 k, grabbing the unslung-devel now Nov 04 17:26:27 eno, do i need to tweak some environment variables to get it to compile properly? Nov 04 17:29:52 i don't think so Nov 04 17:30:09 check out the optware svn tree Nov 04 17:30:21 ok Nov 04 17:30:42 and try to build a small ipk such as "make which-ipk" Nov 04 17:35:31 I have another question - does busybox on the slug have the ability to do tab completion? Nov 04 17:36:41 i'm not sure, i'm using bash Nov 04 17:37:03 I don't get any tab-completes with the built-in ash Nov 04 17:40:21 why not bash? Nov 04 17:40:40 Well, i only set this thing up last night - i'm still using the defaults. Nov 04 17:41:02 After it's done installing unslung-devel i'll add myself a user account and make the shell bash Nov 04 17:42:32 bash, screen, sudo, openssh ... i usually install them first thing after unslung Nov 04 17:43:06 even without a separate user account, you can manually invoke bash Nov 04 17:45:37 ah, need to patch compile/guess-compiler.sh Nov 04 17:46:02 eno, how do you do that/ Nov 04 17:48:12 greenleaf108: i was just trying to get x-compilation work, and i realize that i need to patch ftpcopy-xxx/compile/guess-compiler.sh Nov 04 17:48:27 to get it x-build Nov 04 17:48:57 since it tries to compile a test program and run it Nov 04 17:49:23 the test program of course does not run on x86 machine Nov 04 17:52:15 How do I set my default shell as bash when I log in? Does that go in .profile? Nov 04 17:53:06 /etc/passwd last field Nov 04 17:56:51 But don't do that for the "root" user with Unslung Nov 04 17:59:01 mwester: good catch Nov 04 18:07:57 Where is the master dropbear config file? Nov 04 18:11:21 I'm trying to figure out how to enable a regular user to log in via ssh Nov 04 18:13:07 Add the user via the Linksys GUI so they have a passwd file entry. Nov 04 18:13:25 Then edit the /etc/passwd file so that the user has a valid home directory, and a valid shell. Nov 04 18:13:28 ok, well i used adduser and there seems to be a passwd entry Nov 04 18:13:48 They should be able to log in at that point, no settings to change from the default ssh config Nov 04 18:13:51 i can telnet in as that user - just dropbear won't let me in Nov 04 18:14:17 What failure messages do you get (as the user logging in, as well as logged to /var/log/messages)? Nov 04 18:14:34 Permission denied, please try again Nov 04 18:14:53 heh Nov 04 18:14:57 user has invalid shell, rejected Nov 04 18:15:08 :) That'll do it... Nov 04 18:15:18 Try /bin/sh - that *must* work. Nov 04 18:15:28 yes, it does. i had it as /bin/bash Nov 04 18:15:49 now, how do i set my default shell as bash when i log in Nov 04 18:16:02 If you try /opt/bin/bash, don't forget that you need to create /etc/shells, the content of which must be the valid login shells on your system (/bin/sh and /opt/bin/bash at least). Nov 04 18:16:13 Oh - that's one shell per line in the /etc/shells file. Nov 04 18:18:03 hooray, i have bash Nov 04 18:23:31 Now what is it you are trying to do? Build ftpcopy? Nov 04 18:25:07 heh, yes Nov 04 18:25:11 kind of got sidetracked there Nov 04 18:25:27 i have the devel files installed Nov 04 18:25:44 Oh, so you are building locally on the NSLU2, then? Nov 04 18:26:06 yea. i'm going to grab the subversion tree now Nov 04 18:26:17 Subversion for what? Nov 04 18:27:00 * mwester doesn't see that ftpcopy needs/uses subversion anywhere.... Nov 04 18:27:02 svn tree Nov 04 18:27:26 well, i thought i needed to follow this Nov 04 18:27:42 http://ww.nslu2-linux.org/wiki/Unslung/AddAPackageToUnslung Nov 04 18:27:49 Ah Nov 04 18:28:23 Do you have ftpcopy built and tested on your system (without making it an optware package yet?) Nov 04 18:28:40 no, i will try that first Nov 04 18:29:38 Yep. that's easy. I just downloaded it, and it seems to be building on my slug... Nov 04 18:30:09 sweet Nov 04 18:36:03 i got it installed now Nov 04 18:37:12 I didn't test it past "ftpcopy --help", there still may be latent issues as the Intel X86 processor doesn't care about alignment of data, the ARM processor does... so test thoroughly. :) Nov 04 18:37:34 greenleaf108: ftpcopy cross built and packaged, only thing is that it will be missing man pages in the cross build Nov 04 18:38:00 eno: that's fantastic, i'm sure many people will find it useful Nov 04 18:38:14 * mwester was just going to type something about how if it worked, it should be added to the optware, but he sees that eno did it already :D Nov 04 18:38:15 it is trying to invoke ftpcopy to generate man page during build Nov 04 18:39:12 eno: that won't work - and doesn't seem necessary either... Nov 04 18:39:38 but the whole "package" thing it uses instead of configure seems strange to me. Nov 04 18:40:13 03bzhou * r4371 10optware/trunk/ (Makefile make/ftpcopy.mk): added and promoted ftpcopy, let's see how many platforms it can build Nov 04 18:40:18 it's very strange Nov 04 18:41:20 the ideal cross packaging which includes man pages would require a host build and a cross build Nov 04 18:41:32 i don't have time for that Nov 04 18:42:52 agreed. It does not seem worth it to do both host and cross for just a man page. Nov 04 18:44:45 mwester: your point of x86 vs ARM difference may explain why lftp is failing at runtime Nov 04 18:46:20 sometimes a real tough problem to track down... Nov 04 18:47:20 greenleaf108: runtime testing a package is good contribution to nslu2-linux Nov 04 18:48:23 please test the ftpcopy package once it appears in the feed (within an hour) Nov 04 18:51:13 i can confirm ftpcopy.mk builds fine on edgy Nov 04 19:00:14 hmm, there are a few "cannot execute binary" error in the ftpcopy build log Nov 04 19:01:05 probably safer to make it a native package first Nov 04 19:08:19 03bzhou * r4372 10optware/trunk/Makefile: moved ftpcopy to native package to be safe Nov 04 19:10:01 03bzhou * r4373 10optware/trunk/make/ftpcopy.mk: bumped IPK_VERSION to be different from previous cross build Nov 04 19:20:46 ok, native build of ftpcopy works, cross package still has some problem Nov 04 20:02:22 [g2]: my tests shows that the open ixp driver is quite relible Nov 04 20:03:26 looks like eno claims the $25 from greenleaf108 :-) Nov 04 20:04:21 * [g2] salutes greenleaf108's offer Nov 04 20:04:50 <[g2]> dwery dunno if you saw Christians mention of the overnight smartbits pounding Nov 04 20:05:11 <[g2]> but yes I think he's doing a good job testing and developing Nov 04 20:05:38 [g2]: haven't see that. where was thaat posted? Nov 04 20:16:17 l-a-k I think Nov 04 20:21:08 <[g2]> dwery good question Nov 04 20:21:50 <[g2]> dwery iirc he ran the smartbits overnight with the intrustion suite Nov 04 20:22:05 and what happened? Nov 04 20:22:40 <[g2]> dwery oh it worked fine :) Nov 04 20:23:13 great. Nov 04 20:37:13 random bits in, random bits out? :-) Nov 04 20:45:21 does anyone use the bitbake interactive mode? I find this strange: Nov 04 20:45:24 B>> patch ixp4xx-kernel-2.6.18 Nov 04 20:45:25 SHELL: Building ixp4xx-kernel-2.6.18 Nov 04 20:45:27 NOTE: preferred version 2.6.17 of ixp4xx-kernel not available (for item ixp4xx-kernel-2.6.18) Nov 04 20:48:25 that's probably a reasonable NOTE Nov 04 20:49:04 our slugos.conf file says we're using 2.6.17 (which we should probably change to 2.6.18 now) and you're asking it to build a different version Nov 04 21:45:06 morning Nov 04 21:47:21 can anyone help me with configuring and compilation of apex on slug and then flashing it as a 2nd boot loader ? Nov 04 23:40:21 03bzhou * r4374 10optware/trunk/make/svn.mk: svn: added a few missing dependents Nov 04 23:53:48 hi Nov 04 23:55:45 03bzhou * r4375 10optware/trunk/make/which.mk: which: strip binary and use new template Nov 04 23:56:06 i wonder if i can use martin michlmayr's upgrade instructions to move my debianslug install from using openslug (little endian) bootup and kernel to the "real" debian on nslu2 kernel Nov 04 23:57:10 ? Nov 04 23:57:55 <[g2]> dr_nick I'm not sure what your questions is Nov 04 23:59:36 ok, hmm. i've been running DebianSlug long before the debian installer for nslu2 and nslu2 support/kernels in debian existed. Nov 05 00:01:02 so my slug is not running the debian-installer "version" as described in http://www.cyrius.com/debian/nslu2/ but the DebianSlug install as described in http://www.nslu2-linux.org/wiki/DebianSlug/Bootstrap Nov 05 00:01:51 but now that the nslu2 and kernel (including automatic kernel upgrades) are included in debian i think it's time to move to the debian kernel Nov 05 00:02:27 (some months ago it wasn't worth it because the debian kernel didn't fully support the nslu2 as you might know...) Nov 05 00:03:36 so i wonder if http://www.cyrius.com/debian/nslu2/upgrade.html is a clean way to "upgrade" in my case Nov 05 00:09:38 <[g2]> dr_nick I've got now clue as I haven't looked at the links. Nov 05 00:10:05 <[g2]> dr_nick you've got a very valid question about the upgrade Nov 05 00:11:34 <[g2]> debian is now slightly more "real", but I don't think it's fully "real" as is the sense of just net install it Nov 05 00:12:34 <[g2]> dr_nick I think you are interested in upgrading the kernel to the "unofficial official Debian" nslu2 kernel Nov 05 00:12:51 yes Nov 05 00:13:47 <[g2]> it should be as simple as update sources.list and apt-get update; apt-get upgrade, but there are probably issues with the second stage loader etc.... Nov 05 00:13:55 <[g2]> and I don't know if that's all worked out yet Nov 05 00:26:54 ok thanks! Nov 05 00:45:45 [g2]: I just followed the nslu2 page on debian-armeb: http://www.nslu2-linux.org/wiki/DebianSlug/OpenDebianSlug and got debian running on my avila. pretty cool... Nov 05 00:46:18 sfollowed/mostly followed Nov 05 00:46:43 s/followed/mostly followed Nov 05 00:46:48 <[g2]> GPSFan ok so you're just running debian on the avila Nov 05 00:47:19 indeed I am. it was almost a no-brainer... Nov 05 00:47:43 <[g2]> GPSFan when was the openslug page created ? Nov 05 00:48:12 june Nov 05 00:50:28 <[g2]> GPSFan the debian page was Aug 28 '05 Nov 05 00:51:45 <[g2]> on Aug 29 05 I updated the page about /etc/network/interfaces config Nov 05 00:52:04 <[g2]> I've been running debian for a while Nov 05 00:52:19 Page last modified on June 11, 2006, at 05:09 AM may have been created then. no matter, it seemed to work well enough. it's running. Nov 05 00:52:20 <[g2]> MY HOW TIME FLYs Nov 05 00:53:05 <[g2]> GPSFan my web site on the T1 was running Debian Slug Nov 05 00:53:20 [g2]: yeah, but you have been intimately involved in IXP & nslu2 development for quite a while. Nov 05 00:53:27 <[g2]> Until it got swapped out for a Loft Nov 05 00:53:36 <[g2]> nearly 2.5 years Nov 05 00:53:58 <[g2]> it's a great community with lots of great ppl Nov 05 00:54:22 I've just come on board, and the docs generated by the whole batch of nslu2 folks have proved their worth. ;>) Nov 05 00:54:39 <[g2]> ~nslu2-rules Nov 05 00:54:44 somebody said nslu2-rules was 1) You must search the wiki before asking questions on IRC or mailing list. 2) You must follow the README steps precisely when flashing firmware. 3) Those who ask the questions, update the wiki with the answers. 4) Those who complain about doco, update the wiki to improve it. 5) Friends don't let friends flash custom firmware without ... Nov 05 00:55:02 <[g2]> it's a good process Nov 05 00:55:18 <[g2]> without confirmed JTAG Nov 05 00:55:24 <[g2]> lol Nov 05 00:55:47 it seems to have to have stood up to 2.5+years of development with continuous improvement. Nov 05 00:56:59 jtag + redboot +long chain = frustration ->>> (possibly a new high speed OpenJtag system) Nov 05 01:00:10 [g2]: what's the latest wisdom on where the NPE stuff is going to wind up? I read the l-a-k post about it moving toward a early initrd where the npe firmware would be loaded and MAC address read from eeprom. Nov 05 01:01:14 <[g2]> ka6sox get's a Loft to put online late Monday Nov 05 01:01:41 <[g2]> so sometime next week Lennert will probably start hacking on the drivers and testing Nov 05 01:01:57 <[g2]> based on his availability Nov 05 01:02:20 <[g2]> when he does --- just stand back Nov 05 01:02:25 ka6sox, gee that call sounds familiar, we may have met at a DCC in CA once upon a time... Nov 05 01:02:52 <[g2]> he's a ham Nov 05 01:02:55 <[g2]> :) Nov 05 01:03:02 de wa2vfn Nov 05 01:03:28 <[g2]> you're a ham ? Nov 05 01:03:34 yep.. Nov 05 01:04:02 that's where I met all the early qualcom people.. Nov 05 01:04:45 I'll take the exam one they and will be ham too :) Nov 05 01:04:50 s/they/day/ Nov 05 01:04:51 dwery meant: I'll take the exam one day and will be ham too :) Nov 05 01:04:59 it's late here.. Nov 05 01:05:05 dwery: howdy.. Nov 05 01:06:33 ..going to bed.. Nov 05 01:06:37 se ya all tomorrow Nov 05 01:06:50 dwery: night.. Nov 05 01:06:57 <[g2]> sweet treams Nov 05 01:07:05 <[g2]> dreams **** ENDING LOGGING AT Sun Nov 05 02:59:57 2006