**** BEGIN LOGGING AT Sun Oct 21 02:59:56 2007 Oct 21 04:01:29 03bzhou * r7155 10optware/trunk/ (4 files in 3 dirs): 9base: added and promoted Oct 21 05:13:29 03bzhou * r7156 10optware/trunk/ (Makefile make/freecell.mk): freecell: added and promoted Oct 21 14:45:44 Good morning all Oct 21 14:47:35 I have this recipe: http://pastebin.ca/744445 which generates an error in do_patchcleancmd which koen over in #oe has suggested is indicative of a space in front of a line in local.conf but I don't know enough about OE to reasonably evaluate the issue (other than to remove leading spaces). Oct 21 14:49:37 heh. and of course, local.conf is not defined for nslu2 in OE Oct 21 17:09:19 hillct: what is the error from OE ? Oct 21 17:09:50 one sec Oct 21 17:11:38 Error is: Oct 21 17:11:39 run.do_patchcleancmd.4872: line 439: syntax error near unexpected token `else' Oct 21 17:11:58 there's no else anywhere near that line as far as I can tell Oct 21 17:12:12 no I'm not sure what's up Oct 21 17:12:31 can you reproduce the error using the posted recipe? Oct 21 17:12:59 I expect it's 100% reproducable Oct 21 17:13:46 I'm not in a position to do so. do you have an empty local.conf file? Oct 21 17:14:37 a file of that name doesn't exist Oct 21 17:14:44 I do have local.conf.sample Oct 21 17:15:00 you're using the mokomakefile? Oct 21 17:15:22 using the nslu2 master makefile Oct 21 17:15:35 building for 3.10-beta Oct 21 17:15:40 right, sorry - that's what I meant to say :-) Oct 21 17:16:12 never encountered this problem with any other recipe Oct 21 17:16:18 at least not this specific error Oct 21 17:16:41 got plenty that use autotools, with no patches and the do_staging fragment Oct 21 17:17:55 what does ${P} resolve to? Oct 21 17:18:07 the odly out of the ordinary thing about this package is the directory into which the tarball unpacks has the wrong version number in it Oct 21 17:18:12 um Oct 21 17:18:14 duno Oct 21 17:18:14 can you pastebin the run.do_patchcleancmd file? Oct 21 17:18:20 yup Oct 21 17:21:08 http://pastebin.ca/744614 Oct 21 17:23:12 remove the "# We won't need this in future releases/configure " from the line defining ${S} in your recipe Oct 21 17:23:23 that's causing the syntax error Oct 21 17:24:54 you'e got ot be kidding me!!!! Oct 21 17:24:56 LOL Oct 21 17:24:58 K Oct 21 17:26:14 looks like you're right. Geez, I suck Oct 21 17:27:03 I remember the old days when I used ot make INTERESTING misakes... Oct 21 17:27:13 thanks. Oct 21 17:27:17 np Oct 21 17:30:08 eno: http://www.openfsg.com/forum/viewtopic.php?p=23073&sid=590283962af414bf814f42ba231f72a4#23073 Oct 21 17:51:12 looks good Oct 21 20:19:30 rwhitby: did you look at the diffs i send to nslu2-developpers some time ago? Oct 21 22:14:59 * gouki patiently waits for Debian's next release ... :S Oct 21 22:15:57 lol Oct 21 22:18:12 We always have to be patient when it comes to Debian releases ... Otherwise we'll die of stress. Oct 21 22:19:38 :) Oct 22 01:24:15 rwhitby: do you know any optware platform besides unslung that is using /usr/bin/update-alternatives ? Oct 22 01:27:28 SlugOS uses it Oct 22 01:29:23 yeah, optware by default uses update-alternatives on PATH, on slugos this can be a problem Oct 22 01:30:01 i can either use /opt/bin/update-alternatives explicity only for slugosbe Oct 22 01:30:35 or use /opt/bin/update-alternatives on all platforms except unslung Oct 22 01:32:02 i'm leaning towards the second option, use full path on all platforms Oct 22 02:00:17 That makes sense to me; I can't see that any distro would put update-alternatives in /bin, or would put it anywhere else without a symlink from /usr/bin... Oct 22 02:09:23 i'm going to apply the following logic: if an optware platform has ipkg-opt and $(OPTWARE_TARGET)-bootstrap in PACKAGES list, use /opt/bin/update-alternatives Oct 22 02:09:41 s/and/or/ Oct 22 02:09:41 eno meant: i'm going to apply the following logic: if an optware platform has ipkg-opt or $(OPTWARE_TARGET)-bootstrap in PACKAGES list, use /opt/bin/update-alternatives Oct 22 02:10:39 eno: how about put a postinst which checks for /usr/bin/update-alternatives, and if it exists then symlink it to /opt/bin/... Oct 22 02:12:09 you mean, if it does *not* exist, then symlink it to /opt/bin/ Oct 22 02:18:27 i like my proposal a little better, this can be determined at build time, and minimizes changes outside /opt Oct 22 02:25:34 nod Oct 22 02:25:44 go with what you think is best. Oct 22 02:27:49 k Oct 22 02:49:28 rwhitby: Where is the binary for Kamikaze 7.09 ? **** ENDING LOGGING AT Mon Oct 22 02:59:56 2007