**** BEGIN LOGGING AT Sat Aug 26 02:59:57 2006 Aug 26 03:35:15 03bzhou * r3935 10optware/trunk/Makefile: promoted tnef perl-berkeleydb perl-mail-spf-query perl-net-cidr-lite perl-sys-hostname-long Aug 26 09:20:24 03gda * r3936 10optware/trunk/ (5 files in 3 dirs): new package zoo Aug 26 09:42:57 how to find out which default include paths the cross gcc uses? Aug 26 10:47:53 03gda * r3937 10optware/trunk/ (8 files in 3 dirs): new package lha Aug 26 10:57:28 03gda * r3938 10optware/trunk/ (Makefile make/arc.mk): new package arc Aug 26 11:33:25 03gda * r3939 10optware/trunk/ (Makefile make/unarj.mk): new package unarj Aug 26 11:33:48 03gda * r3940 10optware/trunk/sources/unarj/ (4 files): new package unarj Aug 26 12:36:47 03gda * r3941 10optware/trunk/ (Makefile make/cabextract.mk): new package cabextract Aug 26 13:11:51 03gda * r3942 10optware/trunk/ (4 files in 3 dirs): new package freeze Aug 26 13:26:05 now I have ported nearly every packer to optware that amavisd-news knows Aug 26 13:27:10 is lzop really in use somewhere? The only other that is left is rpm, but that is too heavy for me Aug 26 14:48:35 03bzhou * r3943 10optware/trunk/Makefile: promoted arc, cabextract, freeze, lha, unarj, zoo Aug 26 14:57:25 03bzhou * r3944 10optware/trunk/Makefile: demoted lftp, even native built ipk segfaults, suspect upstream bug; moved broken section up Aug 26 15:04:16 03bzhou * r3945 10optware/trunk/Makefile: tnef broken on ds101 Aug 26 15:31:50 03bzhou * r3946 10optware/trunk/Makefile: cabextract build broken on optware/wl500g optware/ds101 optware/mss optware/ddwrt optware/oleg Aug 26 16:59:27 eno: cabextract: I had a strange problem with it, cross gcc didn't find safe-ctype.h, what was the problem on the other machines? Aug 26 17:07:09 gda_: fnmatch.c:48:24: safe-ctype.h: No such file or directory Aug 26 17:07:50 the same problem, look at my CPPFLAGS in cabextract Aug 26 17:08:19 search for the file in crosstools dir Aug 26 17:09:42 at least wl500g does not have toolchain in this directory Aug 26 17:11:44 wl500g really does not have safe-ctype.h Aug 26 17:20:51 optware$ for d in */toolchain; do find $d -name safe-ctype.h; done Aug 26 17:20:51 ddwrt/toolchain/buildroot/toolchain_build_mipsel/gcc-3.4.6/include/safe-ctype.h Aug 26 17:20:54 ddwrt/toolchain/buildroot/toolchain_build_mipsel/binutils-2.16.1/include/safe-ctype.h Aug 26 17:20:57 ds101/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.4.4-glibc-2.2.5/gcc-3.4.4/include/safe-ctype.h Aug 26 17:21:00 ds101/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.4.4-glibc-2.2.5/binutils-2.15.94.0.2/include/safe-ctype.h Aug 26 17:21:03 ds101g/toolchain/crosstool/build/powerpc-603e-linux/gcc-3.3.4-glibc-2.3.3/gcc-3.3.4/include/safe-ctype.h Aug 26 17:21:07 ds101g/toolchain/crosstool/build/powerpc-603e-linux/gcc-3.3.4-glibc-2.3.3/binutils-2.15/include/safe-ctype.h Aug 26 17:21:10 fsg3/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/binutils-2.15.94.0.2/include/safe-ctype.h Aug 26 17:21:13 fsg3/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/gcc-3.3.5/include/safe-ctype.h Aug 26 17:21:16 nas100d/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/binutils-2.15.94.0.2/include/safe-ctype.h Aug 26 17:21:19 nas100d/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/gcc-3.3.5/include/safe-ctype.h Aug 26 17:21:22 nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/binutils-2.15.94.0.2/include/safe-ctype.h Aug 26 17:21:26 nslu2/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/gcc-3.3.5/include/safe-ctype.h Aug 26 17:21:28 oleg/toolchain/buildroot/toolchain_build_mipsel/gcc-3.4.6/include/safe-ctype.h Aug 26 17:21:32 oleg/toolchain/buildroot/toolchain_build_mipsel/binutils-2.16.1/include/safe-ctype.h Aug 26 17:31:25 eno: the question is, why are all toolchains broken? Aug 26 17:33:26 eno: I have no time for this currently, I am agian working on perl, I try to get DB_File support but it allways breaks on the make target extra.make Aug 26 17:34:47 I have alread patched the Makefile.SH.patch again so that it doesn't use ./perl but ./hostperl Aug 26 17:35:11 but it still break and I can see only error 1 :( Aug 26 17:39:44 safe-ctype.h are all in crosstoo/build, so maybe it is not supposed to be used? Aug 26 17:49:33 strange Aug 26 18:14:39 03bzhou * r3947 10optware/trunk/ (Makefile make/cabextract.mk): cabextract: fixed fnmatch detection, try on all platforms again Aug 26 18:21:21 eno: thanks, I was too stupid Aug 26 18:22:03 gda_: np Aug 26 18:22:30 gda_: still having problem with DB_File? Aug 26 18:22:48 yes, but currently triying another build Aug 26 18:23:26 if you need any help, you can commit what you have right now and let me know Aug 26 18:23:27 didn't help Aug 26 18:25:52 03gda * r3948 10optware/trunk/sources/perl/Cross/ (4 files): tried to get DB_File extension without success Aug 26 18:26:33 eno: it is not so much, because I started already the third time from scratch ;) Aug 26 18:26:55 but I have learned much :), only it didn't help Aug 26 18:27:50 I need DB_File support for spamassassin, without it I can't get the bayes spam filter, everything else works fine Aug 26 18:30:21 i was thinking it's a new package, will your check-in trigger a new build? Aug 26 18:32:02 yes I had already raised the revision, sorry Aug 26 18:32:38 In my last try I have forgotten to stage libdb, will do now Aug 26 18:33:39 that's ok, IPK_VERSIONs are cheap, the only concern is the unncessary upgrade to the end users Aug 26 18:34:11 so what did I do wrong with my checkin? Aug 26 18:36:18 no, i asked you to check-in and i thought it's another perl-package that won't affect end-user at all Aug 26 18:36:44 sorry, no, our perl is still not ready Aug 26 18:37:33 does it at least build? Aug 26 18:37:54 yes, only no DB_File :( Aug 26 18:38:13 ok then we're fine Aug 26 18:38:27 Making Time::HiRes (dynamic) Aug 26 18:38:28 Looking for nanosleep()... testing... ./tmp9961: ./tmp9961: cannot execute binary file Aug 26 18:38:39 there are more problems still Aug 26 18:40:48 we should obsolete the package perl-mime-base64, it is in perl already and it writes its files to the wrong dir Aug 26 18:42:09 will do that Aug 26 18:42:46 i've been out-of-touch with perl for very long time :-) Aug 26 18:43:01 staging libdb didn't help, looking forward how you solve it Aug 26 18:43:19 what about time-hires? Aug 26 18:44:05 I am not so bad with compilers and make and so on, but I don't know and hate perl, that makes it complicated for me to cross port perl Aug 26 18:45:22 03bzhou * r3949 10optware/trunk/Makefile: obsoleted perl-mime-base64, already included as part of perl Aug 26 18:46:11 time-hires in perl doesn't get build, see the lines above, so maybe let it until you have fixed it ;) Aug 26 18:47:33 i guess you just love spamassassin and amavisd-new enough Aug 26 18:52:40 enough for what? Aug 26 18:53:36 eno: oh please help, I try already for hours Aug 26 18:54:08 I don't love spamassassin, but I hate spam, and I get much of it Aug 26 18:54:24 03marceln * r3950 10optware/trunk/make/ (gphoto2.mk libgphoto2.mk): gphoto2: Added description Aug 26 18:54:25 I meant four hours Aug 26 18:54:29 enough for enduring the pain of messing with perl Aug 26 18:54:45 that means you will not help? Aug 26 18:54:58 i'll try Aug 26 18:55:20 thanks, I know you will not only try, you will get it Aug 26 18:56:05 but please no pressure Aug 26 18:56:36 i think the current perl builds Time::HiRes Aug 26 18:57:18 it's only during its configuring it was trying to run some test programs Aug 26 18:59:30 $ perl -MTime::HiRes -e 'print Time::HiRes::gettimeofday(), "\n"' Aug 26 18:59:30 1156619543341478 Aug 26 18:59:54 this is on slug, without perl-time-hires installed Aug 26 19:05:56 gda_: looking in the build log, it was not even attempting to build DB_File Aug 26 19:06:02 at least on nslu2 Aug 26 19:06:16 $ egrep -r DB_File sources/perl/Cross/ | grep -v \.svn | wc -l Aug 26 19:06:16 3 Aug 26 19:06:25 $ egrep -r Cwd sources/perl/Cross/ | grep -v \.svn | wc -l Aug 26 19:06:26 6 Aug 26 19:09:14 could be that I didn't changed config.sh-arm* always parallel Aug 26 19:12:09 probably, i've added these lines, and am building both nslu2 and ds101g Aug 26 19:13:23 did you stage libdb? Aug 26 19:13:29 bbl, food Aug 26 19:59:46 03bzhou * r3951 10optware/trunk/sources/perl/Cross/ (3 files): cross perl: enabled DB_File extension Aug 26 20:03:48 03gda * r3952 10optware/trunk/make/ (perl-libwww.mk perl-uri.mk): perl-mime-base64 is part of perl Aug 26 20:07:55 03bzhou * r3953 10optware/trunk/sources/perl/Cross/perl.mk: perl: now depends on libdb Aug 26 20:11:21 I had it in this moment too :) Aug 26 20:11:38 It was missing in dynamic_ext Aug 26 20:11:56 eno: right? but okay will look in svm Aug 26 20:13:02 eno: that is not enough I believe, does it work for you? Aug 26 20:14:38 i also changed Cross/perl.mk Aug 26 20:14:58 just did a runtime test, it needs rpath Aug 26 20:18:04 but that should be easy to fix... Aug 26 20:18:19 building from scratch one more time Aug 26 20:18:35 it breaks for me at DB_File build, db.h not found, doesn't get the STAGING_INCLUDE_DIR Aug 26 20:19:50 I have set CFLAGS now I am at the same point where your are: powerpc-603e-linux-ld: cannot find -ldb Aug 26 20:19:51 really, is your Cross/perl.mk up-to-date with svn? Aug 26 20:20:01 no Aug 26 20:21:04 better I will wait Aug 26 20:22:10 r3951 of Cross/perl.mk makes the difference Aug 26 20:22:56 I see Aug 26 20:23:32 I still have to learn much, instead of PASTHRU_INC="$(STAGING_CPPFLAGS) $(PERL_CPPFLAGS)" \ Aug 26 20:23:56 I made CFLAGS="-I$(STAGING_INCLUDE_DIR)" \ Aug 26 20:26:55 OTHERLDFLAGS needs to be changed to OTHERLDFLAGS="-L$(STAGING_LIB_DIR) -rpath /opt/lib" Aug 26 20:27:06 to fix the runtime rpath problem Aug 26 20:27:18 will try Aug 26 20:27:33 or did you do it already? Aug 26 20:27:49 i'm building, will check-in after runtime testing Aug 26 20:28:00 ok Aug 26 20:28:15 not so fast your build macjine? Aug 26 20:28:34 s/macjine/machine/ Aug 26 20:28:34 gda_ meant: not so fast your build machine? Aug 26 20:28:39 i always like to build clean Aug 26 20:29:09 of course, when you config problems you have to Aug 26 20:29:18 so i make perl-dirclean perl-ipk Aug 26 20:30:06 should be a very decent machine, dual core p4 3.0GHz Aug 26 20:30:17 okay, you even make a new perl-hostperl, I don't do this every time Aug 26 20:31:11 have only single p4 3.4 GHz, but I have always seen that hyperthread scales good with compiles Aug 26 20:31:34 s/hyperthread/hyperthreading/g Aug 26 20:31:35 gda_ meant: have only single p4 3.4 GHz, but I have always seen that hyperthreading scales good with compiles Aug 26 20:38:10 still have that runtime problem Aug 26 20:38:41 hmm Aug 26 20:39:16 $ perl -MDB_File -e 'print "ok\n"' Aug 26 20:39:16 perl: relocation error: /opt/lib/perl5/5.8.8/armv5b-linux/auto/DB_File/DB_File.so: undefined symbol: db_version Aug 26 20:39:46 do you have ldd on your machine? Aug 26 20:41:51 ldd is not available on slug Aug 26 20:43:45 i think we should force DB_File extension to link -ldb Aug 26 20:44:04 it does have /opt/lib in rpath, but does not have libdb in objdump output Aug 26 20:44:29 not so nice, what if future extensions have the same problem? Aug 26 20:45:27 did you try to put it generally to PERL_LDFLAGS? Aug 26 20:46:05 no Aug 26 20:47:05 we can change OTHERLDFLAGS to include -ldb, but i'm concerned to have other .so unnecessarily depend on libdb Aug 26 20:47:32 ideally we enable "perl Makefile.PL" to find libdb Aug 26 20:48:03 to eliminate this line: Aug 26 20:48:05 Note (probably harmless): No library found for -ldb Aug 26 20:49:05 that makes sense Aug 26 20:49:52 you mean Makefile.SH, or not? Aug 26 20:52:59 not sure about Makefile.SH, but before DB_File "perl Makefile.PL" Aug 26 21:00:36 eno: > perl -MDB_File -e 'print "ok\n"' Aug 26 21:00:36 ok Aug 26 21:01:54 what did you change? Aug 26 21:02:24 i'm trying this: Aug 26 21:02:25 + sed -i -e '/LIBS/s|-L/usr/local/lib|$(STAGING_LIB_DIR)|' $(PERL_BUILD_DIR)/ext/DB_File/Makefile.PL Aug 26 21:02:43 nothing Aug 26 21:03:34 in your build log, do you have the "No library found for -ldb" line? Aug 26 21:04:09 sorry for the question, which buildlog? Aug 26 21:04:44 do you happen to keep a log file of your perl build? Aug 26 21:05:03 i always do "make perl-ipk 2>&1 | tee perl.log" Aug 26 21:05:25 no only sometimes Aug 26 21:05:53 will repeat and make perl_dirclean before Aug 26 21:07:10 looks like amavis thinks now it has DB_File, but I have a permission problem somewhere Aug 26 21:08:27 any idea what he wants? bayes: no dbs present, cannot tie DB R/O: /opt/var/spool/amavis/.spamassassin/bayes_toks Aug 26 21:11:42 no idea Aug 26 21:12:06 OTOH, i believe the sed script is working Aug 26 21:13:34 there're quite a few pages with the same "bayes: no dbs present" error from google Aug 26 21:14:37 $ perl -MDB_File -e 'print "ok\n"' Aug 26 21:14:37 ok Aug 26 21:14:42 :-) Aug 26 21:14:52 I had this already Aug 26 21:15:27 please check in I will try if it will do any difference Aug 26 21:17:29 I have no errors with ldb in my build log Aug 26 21:17:48 03bzhou * r3954 10optware/trunk/sources/perl/Cross/perl.mk: Cross/perl.mk: rpath and LIBS fix for extensions Aug 26 21:19:23 siegfried has to go to isolde; sorry couldn't resist Aug 26 21:19:46 currently building Aug 26 21:21:44 it's such a nice Saturday afternoon outside, i better not stay home hacking Aug 26 21:38:38 be back in a few hours Aug 26 23:03:16 03gda * r3955 10optware/trunk/make/ (perl-archive-tar.mk perl-unicode-map.mk spamassassin.mk): wrong shebang Aug 26 23:11:19 03gda * r3956 10optware/trunk/make/perl-archive-zip.mk: wrong shebang Aug 27 02:15:24 03bzhou * r3957 10optware/trunk/make/dcraw.mk: dcraw: upstream upgrade to 1.343 **** ENDING LOGGING AT Sun Aug 27 02:59:57 2006