**** BEGIN LOGGING AT Sat Dec 25 02:59:57 2010 Dec 25 09:48:54 nedos, can you track it down to the commit where it stopped working? Dec 25 09:49:13 i.e., git bisect? Dec 25 11:15:22 build #44 of uml is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/uml/builds/44 Dec 25 17:20:02 build #51 of gemini is complete: Failure [failed shell_9] Build details are at http://tksite.gotdns.org:8010/builders/gemini/builds/51 Dec 25 19:50:28 mazilo: have ab it more time today, what are your package compilation issues? Dec 25 19:56:39 xMff: I have a problem compiling the lang/sablevm-sdk package. Dec 25 19:57:00 you compile strange stuff ;) Dec 25 19:58:18 afaik it needs "jikes" which has been dropped from various distros (if I'm not confusing it with something else) Dec 25 19:58:22 got a log? Dec 25 19:58:22 xMff: OK. I will just ignore this package from now on. Dec 25 19:58:52 xMff: I had uploaded a copy of build dump to pastebin, but don't remember the link. I can try to recompile it to generate the log if that is OK with you. Dec 25 19:59:19 not that important, I expect sablevm to be dropped at some point anyway Dec 25 19:59:43 I'd prefer reports about more important packages Dec 25 19:59:53 like ntfsprogs or nfs etc. Dec 25 20:00:21 xMff: IC. Unfortunately, I don't compile every single package for my Seagate DockStar. Dec 25 20:00:41 thats ok. I just meant that you should focus on such packages if you stumble over them Dec 25 20:01:02 did I gave you the link to the broken packages listing already? Dec 25 20:02:04 xMff: BTW, the net/freeswitch patch works, but ugly. If you take a look at its source, there is a file call rebootstrap.sh that can be used to reconfigure the package to build without a problem. If you want, I can upload my local Makefile for freeswitch that makes use of rebootrap.sh. However, I haven't tested the compiled codes, yet. Dec 25 20:03:05 problem with freeswitch is that it bundles everything itself, it does not make use of system libs, so theoretically any recent library fix has to be applied to freeswitch again, therfore its marked "no-autoreconf" atm Dec 25 20:04:01 soon I'll investigate the possibility to just run libtoolize instead of autoreconf, that will probably fix many of the automake issues for troublesome packages Dec 25 20:04:47 xMff: Cool. BTW, here is the lang/sablevm-sdk compilation dump http://pastebin.com/KhHFfm9F Dec 25 20:07:09 yep: javax: No such file or directory Dec 25 20:08:10 xMff: So, I just ignore building the lang/sablevm-sdk package from now on. Dec 25 20:08:10 afaik you need a JRE on your host system (bundling a custom JRE in tools/ just for sablevm is a bit too much :) ) Dec 25 20:08:32 compiling it alone probably takes longer than the whole openwrt Dec 25 20:08:32 xMff: IC. Dec 25 20:11:16 xMff: Right now, I am trying to compile FreeSWITCH from the git version. Dec 25 20:11:16 okay Dec 25 20:11:16 give me your current patch for it and I'll take a look Dec 25 20:11:17 xMff: for the FreeSWITCH git version? Dec 25 20:11:17 for the rebootstrap.sh fix you've mentioned Dec 25 20:11:18 xMff: OK. How do I send it to you as an attachment? Dec 25 20:11:18 svn diff, copy paste into pastebin is okay Dec 25 20:11:18 xMff: I have so many different local files in my freeswitch directories. If I do an 'svn diff', it will look ugly. Can I just do a 'diff -uNr Makefile.orig Makefile.rebootstrap"? Dec 25 20:11:18 yes Dec 25 20:17:19 xMff: Here are http://pastebin.com/NfL5XKvi (Makefile patch), http://pastebin.com/QxRQKasB (switch_swigable patch), and http://pastebin.com/aLcemViP (strip.pl patch). Dec 25 20:18:44 xMff: The last two patches take care of the generation of the src/include/switch_swigable_cpp.h file that I picked up from FreeSWITCH git version. Dec 25 20:20:23 xMff: BTW, while you are doing this, you may want to check out this ticket #8142 (https://dev.openwrt.org/ticket/8142) that patches the mod_dingaling to support GTalk. I have been using this patch and it works. Dec 25 20:22:14 okay Dec 25 20:36:21 xMff: I have a question if you don't mind. In FreeSWITCH git version, the libs/esl/Makefile (not generated from a Makefile.am) calls for $(CC), $(CXX), ar, and ranlib. This will compile and generate object .o files in a host format (X86). How do I pass the $(CC) and $(CXX) variables as well as the 'ar' and 'ranlib' so that they will use the ones from OpenWRT? Dec 25 20:36:58 mazilo: hm usually OpenWrt takes care of that, it will pass a whole bunch of such variables to "make" Dec 25 20:38:16 xMff: OpenWRT doesn't seem to pass $(CC) and $(CXX). Dec 25 20:38:57 mazilo: can you paste the full freeswitch Makefile you use currently? Dec 25 20:39:07 xMff" At the moment, I added 'CC=arm-openwrt-linux-uclibcgnueabi-gcc' and 'arm-openwrt-linux-uclibcgnueabi-g++'. But, this only works for ARM platform. Dec 25 20:39:15 ah ok Dec 25 20:39:18 use this: Dec 25 20:40:03 CC="$(TARGET_CROSS)gcc" and CXX="$/TTARGET_CROSS)g++" Dec 25 20:40:09 CC="$(TARGET_CROSS)gcc" and CXX="$(TARGET_CROSS)g++" Dec 25 20:40:22 or even simpler Dec 25 20:40:33 CC="$(TARGET_CC)" and CXX="$(TARGET_CXX)" Dec 25 20:40:40 xMff: Here is my local Makefile for FreeSWITCH v1.0.6: http://pastebin.com/XAhkgP1P Dec 25 20:41:41 xMff: Cool. Thanks. And, I believe for 'ar' and 'ranlib', they should be AR="$(TARGET_AR)" and RANLIB="$(TARGET_RANLIB)" Dec 25 20:41:59 nope, those have no convenience shortcuts Dec 25 20:42:05 xMff: Sorry, this is the link http://pastebin.com/XAhkgP1P Dec 25 20:42:16 $(TARGET_CROSS)ar and $(TARGET_CROSS)ranlib Dec 25 20:42:36 xMff: OK. Dec 25 20:47:23 xMff: $(TARGET_CROSS)ar produces TTARGET_CROSS)g++ Dec 25 20:47:43 xMff: Oops. disregart taht. Dec 25 20:55:19 xMff: It looks like both $(TARGET_CROSS)ar and $(TARGET_CROSS)ranlib produce 'ar' and 'ranlib'. Dec 25 20:55:58 well where did you add them exactly? Dec 25 20:56:51 TARGET_CROSS is only defined within the OpenWrt makefile, not within iny freeswitch files Dec 25 20:56:56 *any Dec 25 20:57:41 xMff: iC. I added to FS libs/esl/Makefile Dec 25 20:57:47 thats wrong Dec 25 20:58:00 xMff: OK. Thanks. Dec 25 20:58:10 add them to CONFIGURE_VARS (line 320-350 in your paste) Dec 25 20:58:38 xMff: OK. Dec 25 20:59:00 you might need to add them to Build/Compile too Dec 25 20:59:09 xMff: OK. Dec 25 20:59:18 line 374-381 Dec 25 20:59:45 after line 377: CXX="$(TARGET_CXX)" \ etc. Dec 25 21:02:55 xMff: The OpenWRT Makefile for FS git already has specified config_TARGET_CC="${TARGET_CC}" and config_TARGET_CXX="${TARGET_CXX}" in its CONFIGURE_VARS, yet the compile object .o files in libs/esl/src are of X86 platform (host). Dec 25 21:03:16 then try passing tzhose to Build/Compile again as written above Dec 25 21:03:26 xMff: OK. Dec 25 21:03:36 you said the esl stuff does not use automake so its not "filled out" by configure Dec 25 21:03:53 xMff: Correct. Dec 25 21:05:55 brb in 1/2 hrs. Dec 25 21:38:12 jow * r24825 /packages/utils/bemused/patches/100-iconv.patch: [packages] bemused: remove the iconv cast fix, it is wrong for both libiconv-full and the iconv stub Dec 25 21:49:29 jow * r24826 /packages/utils/rrdtool/patches/010-dont-add-host-include-paths.patch: [packages] rrdtool: extend host include fix to cover acinclude.m4 as well Dec 25 22:11:45 if we cut out the bad then we'd have nothing left Dec 25 23:04:31 xMff: It looks like adding the AR="$(TARGET_CROSS)ar", RANLIB="$(TARGET_CROSS)ranlib", CC="$(TARGET_CC)", and CXX="$(TARGET_CXX)" to Build/Compile section fixes the compilation problem on libs/esl package. Dec 25 23:12:45 xMff: Now, the FS git compilation crashes on libs/libg722_1 package where it tries to call and execute a crossed-compiled code (make_dct4_tables) to generate a dct4.h file as shown in line 89 of freeswitch-1.0.6/libs/libg722_1/src/Makefile.am file. I wonder if it is possible to add something to the Makefile.am file so that automake can generate a Makefile to compile the make_dct4_tables.c file natively to produce an executable file Dec 25 23:12:47 that is native to the host to produce the dct4.h file. Dec 25 23:15:01 That's is right. But, it uses the makes_dct4_tables that is cross-compiled to other platform. Dec 26 00:28:47 mazilo: sorry, totally overlooked this Dec 26 00:29:34 mazilo: the usual course of action for something like that is to first compile the software for the host, then use (some of) the host binaries in the cross compile process Dec 26 00:29:52 mazilo: or seeking ways to eliminate the need for the host tool Dec 26 00:34:53 jow * r24827 /packages/Xorg/lib/gtkmm/patches/ (001-automake-compat.patch 100-disable-tools-tests.patch): [packages] gtkmm: fix autoreconf Dec 26 00:56:02 jow * r24828 /packages/utils/procps/patches/020_hz_fix.patch: [packages] procps: the recently added "HZ fix" introduces constructor priorities which GCC < 4.0 does not support, protect those with a gcc version check Dec 26 01:47:09 jow * r24829 /packages/libs/glib2/Makefile: [packages] glib2: install glibconfig.h into /usr/include/glib-2.0 as well, its needed by gtypes.h which is included by glib.h, spotted in GTK+ build Dec 26 01:52:37 xMff: If you are still there and can help, when I compiled freeswitch git version, it crashes after dumping this message:: "quiet_libtool: link: warning: `/opt/tmp/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.4.1+cs_uClibc-0.9.31_eabi/lib/libstdc++.la' seems to be moved". Do you have any idea why? Dec 26 01:54:31 no Dec 26 01:54:49 I learned to not trust any shipped libtool, they're all full of bugs Dec 26 01:55:15 this is probably one of those heisenbugs Dec 26 01:55:31 xMff: I did a 'bootstrap.sh' to use libtool from OpenWRT. Dec 26 01:55:48 did it identify itself as "OpenWrt-libtool" ? Dec 26 01:56:13 xMff: No,He hehe. Dec 26 01:56:25 can you paste the rebootstrap.sh script? Dec 26 01:58:05 xMff: Here is the bootstrap.sh file http://pastebin.com/gHxuCt2r Dec 26 02:00:34 ugly Dec 26 02:00:36 hold on Dec 26 02:00:43 xMff: OK. Dec 26 02:01:37 build #48 of ps3 is complete: Failure [failed compile_3] Build details are at http://tksite.gotdns.org:8010/builders/ps3/builds/48 Dec 26 02:03:41 build #50 of pxcab is complete: Failure [failed compile_3] Build details are at http://tksite.gotdns.org:8010/builders/pxcab/builds/50 Dec 26 02:04:59 try this: Dec 26 02:05:00 (cd $(PKG_BUILD_DIR); $(AM_TOOL_PATHS) LIBTOOL=$(STAGING_DIR_HOST)/bin/libtool ./rebootstrap.sh) Dec 26 02:05:26 this should force it to use openwrt's automake and libtool Dec 26 02:05:46 xMff: OK. I will report back. Dec 26 02:09:11 jow * r24830 /trunk/include/autotools.mk: [include] autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which default to ./m4, add LIBTOOL to AM_TOOL_PATHS Dec 26 02:09:25 now you can leave out the "LIBTOOL=$(STAGING_DIR_HOST)/bin/libtool" part Dec 26 02:09:54 xMff: Did you mean after the r24830? Dec 26 02:09:59 yes Dec 26 02:10:07 its in $(AM_TOOL_PATHS) now Dec 26 02:11:02 xMff: So, I will have "(cd $(PKG_BUILD_DIR); $(AM_TOOL_PATHS) ./bootstrap.sh)", right? Dec 26 02:11:15 correct Dec 26 02:11:43 xMff: Cool. Thanks. Dec 26 02:12:35 when rebootstrap.sh prints its info you should see long absolute paths for the "Boostrapping using: ..." info output Dec 26 02:12:59 xMff: OK. **** ENDING LOGGING AT Sun Dec 26 02:59:56 2010