**** BEGIN LOGGING AT Sat Jul 16 23:59:56 2005 Jul 17 12:52:21 <[g2]> Hey DaKa2 Jul 17 12:52:29 hey hey Jul 17 12:52:44 * [g2] == emerged boy Jul 17 12:53:00 ? Jul 17 12:53:24 <[g2]> I was lost in the long emerge most of yesterday and today Jul 17 12:53:41 emerge? Jul 17 12:53:47 <[g2]> it's been a while since I had emerge sync the gentoo system Jul 17 12:53:50 ahh Jul 17 12:53:52 <[g2]> it's like apt-get Jul 17 12:53:53 gentoo.. Jul 17 12:54:02 <[g2]> except it builds everything form source Jul 17 12:54:08 :-) Jul 17 12:54:23 like apt-source Jul 17 12:54:28 <[g2]> so 170ish packages later including KDE 3.4/ Mozilla 1.7 X.... here I am Jul 17 12:54:46 and I still have no perl Jul 17 12:54:55 <[g2]> I'm ready to get back to that Jul 17 12:55:04 or, I have made a working set of packages Jul 17 12:55:08 but some flaws Jul 17 12:55:17 no libper5 and wrong packagenames Jul 17 12:55:26 but thats fixed, just need a rebuild Jul 17 12:55:56 started it 10 minutes ago, so.. Jul 17 12:56:04 <[g2]> have things changed much since yesterday ? Jul 17 12:56:13 well, no Jul 17 12:56:27 I've made a bb that works Jul 17 12:57:10 and, I actually think I could make a working crossbuilt perl Jul 17 12:57:12 <[g2]> that's a very good thing Jul 17 12:57:21 but not right now Jul 17 12:57:38 <[g2]> what's the deal with the cross built perl that causes it to fail Jul 17 12:57:52 it uses patches for the configuration Jul 17 12:58:06 so it probably makes something wrong Jul 17 12:58:50 I guess they made it that way beacause noone had the time to read the INSTALL section about crosscompiling Jul 17 12:59:43 (but Im just guessing, could be some problems building cross anyway) Jul 17 13:00:37 [g2]: http://david.thg.se/saker/openslug/perl-openslug_5.8.7.bb <-- thats the one Im building right now, I think all the packagenames should match the OE ones Jul 17 13:01:42 <[g2]> that's the one you are building natively ? Jul 17 13:01:46 the one I made earlier worked atleast with a small test script Jul 17 13:01:47 yes Jul 17 13:02:06 <[g2]> and you think that'll build cross Jul 17 13:02:10 no Jul 17 13:02:17 but I could probably fix it Jul 17 13:02:28 with -D stuff Jul 17 13:02:33 to Configure Jul 17 13:02:55 uhm. dammit.. I just spotted an error.. Jul 17 13:03:08 * DaKa2 cancels build Jul 17 13:03:30 <[g2]> -Dprefix=${D}/usr ?? Jul 17 13:03:40 no Jul 17 13:03:47 -Duseshrplib=true Jul 17 13:03:57 DESTDIR=${D} takes care of that Jul 17 13:04:13 <[g2]> Ahh.. Jul 17 13:04:14 <[g2]> ok Jul 17 13:04:59 <[g2]> I'm guessing the useshrplib is use shared perl library Jul 17 13:05:08 the Condigure script takes a few hundred options Jul 17 13:05:09 yes Jul 17 13:05:17 I missed that one on my last build Jul 17 13:05:37 Do you know if anything needs it? Jul 17 13:05:58 beacuse it makes perl ~ 20% slower Jul 17 13:06:37 Im thinking maybe compile perl statically and dynamically and make two packages to choose from Jul 17 13:06:45 but thats something for the future Jul 17 13:06:53 right now we just need something that works Jul 17 13:09:21 <[g2]> ain't that the truth Jul 17 13:09:47 <[g2]> so what in the configure do you think needs to be changed for the cross build ? Jul 17 13:10:10 probably lots, the INSTALL file has lots of things Jul 17 13:11:07 ahh, actually Jul 17 13:11:14 we should probably drop cross Jul 17 13:11:26 <[g2]> really ? Jul 17 13:11:35 Starting from version 5.8, Perl has the beginnings of cross-compilation Jul 17 13:11:35 support. What is known to work is running Configure in a Jul 17 13:11:35 cross-compilation environment and building the miniperl executable. Jul 17 13:11:35 What is known not to work is building the perl executable because Jul 17 13:11:35 that would require building extensions: Dynaloader statically and Jul 17 13:11:36 <[g2]> you think it broken ? Jul 17 13:11:37 File::Glob dynamically, for extensions one needs MakeMaker and Jul 17 13:11:40 MakeMaker is not yet cross-compilation aware, and neither is Jul 17 13:11:42 the main Makefile. Jul 17 13:12:19 Well, actually it should work, but with lots of work Jul 17 13:12:54 perl-5.8.7/Cross/README Jul 17 13:13:29 that explains and has stuff for cross compilation on arm-linux :-) Jul 17 13:13:53 <[g2]> it's amazing the stuff that's out ther Jul 17 13:15:11 But, I think just making a working package any way with as little work as possible first it the way to go Jul 17 13:15:31 and, this way we get to test native compilation environment Jul 17 13:16:04 do we have a list of things that needs or prefers native compilation? Jul 17 13:16:06 <[g2]> well the native compile environ rocks in my mind Jul 17 13:17:21 <[g2]> It's been on my TODO list for a long time to run the perl tests and python tests successfully Jul 17 13:17:38 <[g2]> and now it's on the DONE list :) Jul 17 13:17:49 :) Jul 17 13:18:33 Ive just cleared my other slug Jul 17 13:18:59 thinking I should start from the beginning Jul 17 13:19:13 and actually test what is needed for thigs to work Jul 17 13:19:18 things* Jul 17 13:22:44 <[g2]> nod I've got a cleared slug too Jul 17 13:23:25 well: Jul 17 13:23:40 1. OpenSlugDevInst Jul 17 13:23:58 2. Setup swap Jul 17 13:24:06 (or the other way) Jul 17 13:24:19 <[g2]> I need to add a version number in the OpenSlugDevInst Jul 17 13:25:00 <[g2]> or make it into a real package Jul 17 13:25:29 A real package would be great, but... then all the forces should be sorted out Jul 17 13:25:46 <[g2]> nod. Jul 17 13:25:57 and everything should actually be in openslug-packages Jul 17 13:26:42 <[g2]> ok... I'll start working on that Jul 17 13:26:46 <[g2]> you know about #oe right ? Jul 17 13:27:02 ipkg-utils libtool quilt pkgconfig should probably be needed Jul 17 13:27:10 if we are going to skip the -native packages Jul 17 13:27:19 yes.. never been in there though Jul 17 13:27:46 <[g2]> ok.... how about this for an idea Jul 17 13:27:51 <[g2]> two packages Jul 17 13:27:56 <[g2]> 1) Native devel Jul 17 13:28:19 <[g2]> 2) Native BB devel which depends on Native Devel Jul 17 13:28:33 <[g2]> then name may change Jul 17 13:28:45 <[g2]> I'm actually thinking gnu-development Jul 17 13:28:49 hm.. seems good Jul 17 13:29:14 well, almost everything is gnu Jul 17 13:29:15 <[g2]> so we get the full set of gnu packages with the overrides Jul 17 13:29:59 <[g2]> at some point we'll have to try the whole lot with uClibc Jul 17 13:30:16 oh...... fun.... Jul 17 13:31:01 <[g2]> nearly everything has worked in the past Jul 17 13:34:38 <[g2]> rwhitby-away, hey are you around away now ? Jul 17 13:34:57 sort of Jul 17 13:35:25 task-openslug-development ? Jul 17 13:35:31 <[g2]> nod Jul 17 13:35:47 or task-openslug-native Jul 17 13:36:08 <[g2]> task-openslug-native is nice Jul 17 13:36:19 goes under meta/... Jul 17 13:36:40 <[g2]> like openslug-packages Jul 17 13:36:51 exactly Jul 17 13:37:23 <[g2]> how does the full gnu tools sound to you ? Jul 17 13:37:39 <[g2]> this is big flash or disk/network based right ? Jul 17 13:37:48 yes, the native dev environment should *not* have busybox in it Jul 17 13:38:16 (at least not as a package) Jul 17 13:38:20 <[g2]> are you thinking different distro ? Jul 17 13:38:55 no Jul 17 13:38:58 <[g2]> I was thinking openslug with overlay using etc-alternatives Jul 17 13:39:11 yeah, that's what I meant (but didn't say) Jul 17 13:39:24 <[g2]> thought so, just checking Jul 17 13:39:39 <[g2]> this is IRC Jul 17 13:39:53 btw, its not etc/alterantives in oe, its /usr/lib/ipkg/alternatives/ Jul 17 13:40:01 update-alternatives Jul 17 13:40:05 yep Jul 17 13:40:15 <[g2]> right Jul 17 13:40:21 <[g2]> update-alternative Jul 17 13:40:41 we should feel free to update-alternatives anything we like in OE Jul 17 13:41:05 (it would have been an ipkg conflict previously, so there is no backwards compatibility issue) Jul 17 13:41:22 so, someone should probably fix busybox then Jul 17 13:41:36 and then start on all packages containing things also in busybox Jul 17 13:41:44 right Jul 17 13:42:20 <[g2]> I'd like to keep the busybox shutdown and restart Jul 17 13:42:33 <[g2]> because the util-linix one's hang Jul 17 13:42:39 noticed that Jul 17 13:42:48 just put them in a higher priority Jul 17 13:42:50 <[g2]> we can get to that at some point Jul 17 13:42:58 in busybox than in util-linux Jul 17 13:43:20 <[g2]> the util-linux hanging should be a slugbug Jul 17 13:43:42 Ill see if I can make a list from Packages.filelist of packages with conflicting files Jul 17 13:44:15 <[g2]> so do either of you guys know the mechansim for actually using the update-alternatives ? Jul 17 13:44:20 yep Jul 17 13:44:23 look at ipkg.bb Jul 17 13:44:28 it uses it Jul 17 13:44:44 or busybox.bb (for mount and umount) Jul 17 13:44:45 <[g2]> rwhitby-away, we're on monotone 20 now right ? Jul 17 13:46:06 <[g2]> heh... Jul 17 13:46:16 <[g2]> a blast from the past Jul 17 13:46:28 <[g2]> find openembedded -name "*.bb" | grep busybox Jul 17 13:46:28 <[g2]> openembedded/packages/busybox/slingbox_1.00.bb Jul 17 13:46:28 <[g2]> openembedded/packages/busybox/busybox_1.00.bb Jul 17 13:48:17 [g2]: yep 0.20 Jul 17 13:48:25 <[g2]> cool Jul 17 13:48:34 * [g2] starts emerge Jul 17 13:48:42 [g2]: think we've just found the openslug reboot issue solution Jul 17 13:49:18 <[g2]> in nslu2-linux ? Jul 17 13:49:24 yep Jul 17 13:49:32 <[g2]> COOL Jul 17 14:05:39 Im finding lots of strange things when checking for conflicting files.. Jul 17 14:06:27 <[g2]> such as ? Jul 17 14:06:39 binutils and gdb has some files in common Jul 17 14:07:00 and what is binutils-symlinks and binutils difference? Jul 17 14:07:20 <[g2]> just some additional symlinks Jul 17 14:07:24 and grep installs in /usr/bin while busybox grep installs in /bin Jul 17 14:07:42 <[g2]> do grep update-alternative ? Jul 17 14:07:50 <[g2]> does Jul 17 14:08:09 would not count on it Jul 17 14:08:16 but we should somehow fix that Jul 17 14:08:31 having two diffeten greps in different dirs in the path is NOT good Jul 17 14:08:36 different* Jul 17 14:09:15 same with lots of other busybox things Jul 17 14:09:58 seems like everything in coreutils installes in /usr/bin, and all in busybox installs in /bin Jul 17 14:10:13 and they have lots in common Jul 17 14:11:44 hm.. some in busybox installs in /usr/bin, but still Jul 17 14:35:18 there.. 97 files conflicting that we should do something about now, lots more not really important Jul 17 14:35:38 some of these files are both in busybox, util-linux and coreutils Jul 17 14:58:04 [g2]: there seems to be some problem with building shared lib for perl... Jul 17 14:58:32 Is it needed for anything in current openslug? Jul 17 14:58:45 <[g2]> for php5 building the shared library required that "file" be working which it currently isn't Jul 17 14:59:01 <[g2]> it maybe also required a later version of libtool Jul 17 14:59:11 its really strange, since it works when really doing it nativly Jul 17 14:59:11 <[g2]> I don't know if it's just "file" or both Jul 17 14:59:29 <[g2]> RIGHT on the strange Jul 17 14:59:44 ./miniperl: symbol lookup error: /home/slug/openslug/tmp/work/perl-openslug-5.8.7-r1/perl-5.8.7/libperl.so: undefined symbol: __udivsi3 Jul 17 14:59:47 in the compile Jul 17 15:07:33 hm.. strange.. __udivsi3 should really be on the system, I think Jul 17 16:05:59 [g2]: oh, right, perl works when compiled really nativly because we are not building with the shared lib Jul 17 16:06:47 NAiL: Gotta say this - thanks for the tip about the xinetd bb-file. It showed how to circumvent the autoreconf and everything is so much better now. Jul 17 16:07:01 :) Jul 17 16:07:10 * DaKa2 made the xinetd bb-file Jul 17 16:07:21 * bob_tm-zzz bows to DaKa2 Jul 17 16:07:40 :) Jul 17 16:07:57 not that I really knew what I was doing, but somehow it worked :-) Jul 17 16:08:41 Sometimes it is just what it takes - and in the case of the bb file there is not much docs around so you play by heart anyway. Had a lot of problems with recreating config.h and configure Jul 17 16:09:05 exactly Jul 17 16:09:37 Well - off to bed. Tomorrow there will be autoreconf-free day and packages will be made. Jul 17 16:09:48 :) Jul 17 16:10:31 * bob_tm-zzz grabs the toothbrush singing "hi ho, hi ho" while the past splatters on the bathroom mirror.... Jul 17 16:15:23 bob_tm-zzz: Did I tip you off? :) Jul 17 16:18:26 oh well, sleep might be a good idea Jul 17 16:18:38 bbl Jul 17 16:19:11 <[g2]> nitey! Jul 17 16:19:18 <[g2]> sweet dreams Jul 17 16:19:21 NAiL: Maybe you didn't mean to, but now the damage is done :-) I mentioned xinetd and all the troubles I had with reconf and you said there was a test version out. Jul 17 18:35:54 Good evening folks! **** ENDING LOGGING AT Sun Jul 17 23:59:57 2005