**** BEGIN LOGGING AT Wed Feb 01 02:59:57 2012 Feb 01 09:41:42 Hi all, I just tried to compile collectd with current backfire for Alix platform ... the autoconf configure seems to fail with Feb 01 09:42:04 ./configure: line 4: .: filename argument required Feb 01 09:42:04 .: usage: . filename [arguments] Feb 01 09:42:04 make[3]: *** [/Users/test/Documents/openwrt/alix-2012-backfire/backfire/build_dir/target-i386_uClibc-0.9.30.1/collectd-4.10.2/.configured_nnnnnnynnnnnnnnnnyynyynnynnnynynynnynnnnynnnnnnnnnnynnnn] Error 2 Feb 01 09:52:53 full error : http://pastebin.com/crz04t2F Feb 01 10:43:53 hello Feb 01 10:44:35 yesterday I reopened this ticket https://dev.openwrt.org/ticket/4809 and I was told to retest with trunk Feb 01 10:45:14 I just tested with a freshly built toolchain from trunk, and it won't even compile in static when using pthreads Feb 01 10:45:34 here is the build log http://pastebin.fr/21992 Feb 01 10:45:57 any idea? should I open a new ticket? Feb 01 11:08:38 (note that when I compile my app without thread support it is fine) Feb 01 12:13:49 bluse-blue: what is in "configure" line 4 ? Maybe it got misgenerated Feb 01 13:13:51 Hi Jow ... here are the first lines of the auto generated configure file of collectd Feb 01 13:13:52 http://pastebin.com/Mkb4zUJf Feb 01 13:14:23 interesting, there is indeed a single dot Feb 01 13:14:54 maybe it got injected through the version tag? Feb 01 13:15:08 are you looking at: NULLCMD=: Feb 01 13:15:11 the -n looks odd as well Feb 01 13:15:18 no I am looking at line 4 Feb 01 13:15:25 ah right Feb 01 13:15:57 it looks to me like something was supposed to do an echo -n Feb 01 13:16:03 but that didn't work Feb 01 13:16:17 so you now see the -n and an additional line break before the final dot Feb 01 13:17:27 so the Makefile needs to be adapted or where to start investigating ? Feb 01 13:17:49 hm Feb 01 13:18:30 well it looks the autoreconf process got executed under the wrong shell (/bin/sh instead of /bin/bash) Feb 01 13:19:47 I am using zsh on my local machine and on my server ... I allready tried using bash instead Feb 01 13:19:57 same error Feb 01 13:22:08 well the problem is "version-gen.sh" Feb 01 13:22:14 in the upstream collectd sources Feb 01 13:22:40 ok Feb 01 13:22:54 this script expects a bash ? Feb 01 13:23:18 no Feb 01 13:23:25 it expects echo -n to work Feb 01 13:23:28 and uses /bin/sh Feb 01 13:25:05 so a kind of ENV check is needed in this script Feb 01 13:26:07 no Feb 01 13:26:15 I'll just patch it to use /usr/bin/env bash Feb 01 13:27:20 ok ... Feb 01 13:28:19 try this: http://luci.subsignal.org/~jow/004-version-gen-shell.sh Feb 01 13:28:38 put it in feeds/packages/utils/collectd/patches/ Feb 01 13:28:50 and rebuild with make package/collectd/{clean,compile} V=99 Feb 01 13:29:20 sec Feb 01 13:41:38 long second :) Feb 01 13:42:03 sry ... still compiling ... I went for the full image Feb 01 13:42:22 np Feb 01 13:42:27 * jow_laptop gets another coffee Feb 01 13:46:21 image build for backfire with collectd builds without errors ! Feb 01 13:46:33 good Feb 01 13:46:55 thx for the quick help & fix Feb 01 13:47:26 np Feb 01 13:48:36 another question regarding alix boards ... the recommended image to flash is ext2 or squashfs ? ... I think for both alternatives the sysupgrade will not work as the sdcard is not an mtd device Feb 01 13:48:56 tbh I don't know Feb 01 13:49:03 k Feb 01 15:06:40 jow * r29979 /trunk/tools/automake/Makefile: Feb 01 15:06:40 [tools] automake: forcibly disable perl ithreads support Feb 01 15:06:40 The SDK when build on a machine with perl ithreads enabled will fail to run on many Gentoo systems because perl is usually built without thread capability there. Feb 01 15:06:40 In order to circumvent this issue forcibly disable the ithreads support, tested on CentOS 5.6, Ubuntu 10.04 LTS and Gentoo. Feb 01 15:17:05 jow * r29980 /branches/backfire/tools/automake/Makefile: [backfire] merge automake Makefile from trunk Feb 01 15:33:25 jow * r29981 /trunk/target/linux/x86/alix2/ (config-default target.mk): Feb 01 15:33:25 [PATCH] alix2: correct h/w configuration Feb 01 15:33:25 Bump to version 3.2. Feb 01 15:33:25 Simplify and correct kernel config (based on x86/config-3.2). Feb 01 15:33:25 Drop obsolete CS5535 GPIO driver. Feb 01 15:33:25 [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1804/] Feb 01 18:16:13 build #122 of ps3 is complete: Failure [failed compile_6] Build details are at http://buildbot.openwrt.org:8010/builders/ps3/builds/122 Feb 01 18:48:18 my router came back to life! - now I can start to bug everyone again :) Feb 01 19:21:59 nice Feb 01 19:36:57 btsimonh: did you find how to enable uart? Feb 01 19:37:06 jow * r29982 /branches/backfire/include/cmake.mk: [branches] backfire: backport cmake integration updates from trunk Feb 01 19:39:11 naa.. just worked tonight. I did reboot my main router; i think it was in a mood. don't know why I could ping u-boot address but not get nc, but it's working, for now. Now I'm trying to put OpenRG back in it so I can investigate wireless IRQs. Feb 01 21:02:06 CC fs/yaffs2/yaffs_vfs_glue.o Feb 01 21:02:06 fs/yaffs2/yaffs_vfs_glue.c:373:2: warning: initialization from incompatible pointer type Feb 01 21:02:09 fs/yaffs2/yaffs_vfs_glue.c:464:2: warning: initialization from incompatible pointer type Feb 01 21:02:12 fs/yaffs2/yaffs_vfs_glue.c: In function 'yaffs_fill_inode_from_obj': Feb 01 21:02:14 dear openwrt, Feb 01 21:02:19 why have you forsaken me Feb 01 21:02:26 signed Weedy. Feb 01 21:10:55 jow * r29983 /branches/backfire/tools/include/getline.h: [backfire] tools: merge r27916 (OS X 10.7 getline fix) Feb 01 21:17:55 jow * r29984 /branches/backfire/tools/mkimage/patches/100-portability.patch: [backfire] mkimage: backport Darwin 10.7 fix from r27917 Feb 01 21:26:42 3.1 != 3.2.1, FWIW Feb 01 21:27:12 you might have to refresh the yaffs stuff from upstream Feb 01 21:27:26 * Chocks blames Wookey Feb 01 22:15:42 jow_laptop: thanks. Feb 01 22:15:58 moo Feb 01 22:25:24 CRAP Feb 01 22:25:27 and crap Feb 01 22:25:32 ABI mismatch with toolchain change Feb 01 22:25:36 whatamess **** ENDING LOGGING AT Thu Feb 02 02:59:57 2012