**** BEGIN LOGGING AT Fri Nov 11 02:59:57 2011 Nov 11 04:06:53 build #86 of avr32 is complete: Failure [failed compile_4] Build details are at http://buildbot.openwrt.org:8010/builders/avr32/builds/86 Nov 11 07:31:48 http://paste.pocoo.org/show/506146/ Nov 11 07:50:57 build #88 of ar7 is complete: Failure [failed compile_6] Build details are at http://buildbot.openwrt.org:8010/builders/ar7/builds/88 Nov 11 08:41:35 build #87 of sibyte is complete: Failure [failed compile_6] Build details are at http://buildbot.openwrt.org:8010/builders/sibyte/builds/87 Nov 11 09:07:40 blogic * r28941 /trunk/package/lqtapi/: remove empty folder lqtapi Nov 11 10:44:46 how should i use uci_set to set a new option in a uci file? (using libuci) Nov 11 10:45:00 am I meant to use uci_lookup_ptr to get a ptr to the desired location, Nov 11 10:45:10 and set it's value, then use uci_set? Nov 11 10:57:10 karlp: i'm also doing some uci stuff Nov 11 10:57:39 can i look at your code to see how you did the uci stuff Nov 11 10:58:22 btw, i will be needing to save uci configuration also Nov 11 11:03:44 I was going to to write up a blog post with some examples later this afternoon, Nov 11 11:03:49 but I wanted to get save working first :) Nov 11 11:04:03 I'm not using the map stuff, just the low level bits Nov 11 11:04:13 there's an example of the maps in the source distro Nov 11 11:05:14 but yeah, anyone else? how do we save a new option via libuci? Nov 11 11:13:31 ok, sweet. luka12345 this works for saving: http://pastebin.com/vKJ4FCmV Nov 11 11:14:20 karlp: you could also use uci_map Nov 11 11:14:54 http://dev.phrozen.org/gitweb/?p=owsip.git;a=blob;f=config.c;h=186ba91f22ad5341472762f7079ed6ebaf715609;hb=HEAD Nov 11 11:16:20 hi Nov 11 11:16:53 i subbmitted a package for libcap to the ml - can someone apply it as id like to use it in ntpd Nov 11 11:17:17 blogic: yeah, uci map actually looks nice. Nov 11 11:17:52 yeah but uci map is depreciated Nov 11 11:18:44 by defaults it builds as static library Nov 11 11:19:05 it's deprecated? its the only example code! Nov 11 11:19:17 haha Nov 11 11:19:29 well nbd said so... Nov 11 11:19:54 yes Nov 11 11:19:59 i recall him saying so Nov 11 11:20:12 15:20 < CIA-62> nbd * r28504 /trunk/package/uci/Makefile: uci: update to latest version (includes several bugfixes) Nov 11 11:20:13 is there a way to have comments in a uci file be preserved? Nov 11 11:20:22 15:21 < nbd> luka12345|wiik: ucimap is deprecated, that's the reason why i made it a static library Nov 11 11:20:27 karlp: nope Nov 11 11:20:34 the true/false to uci_commit don't seemt o have any affect Nov 11 11:20:49 blogic: that's ok, the lib I was using, iniparser, did the same thing, Nov 11 11:21:14 if you saved the config, the file was reformatted and all comments were lost Nov 11 11:22:01 it would hve been nice, but I can live without it :) Nov 11 11:23:56 blogic: i was thinking of replacing ucimap with just uci in owsip Nov 11 11:24:09 you ok with that Nov 11 11:24:24 in theroy yes Nov 11 11:24:36 lets ask nbd for the best practice to use Nov 11 11:24:45 i agree Nov 11 11:24:46 and then do it the way he suggests it Nov 11 11:25:40 uff, for owsip it would make sence to use libubox and the way he does it in netifd Nov 11 11:25:56 what's libubox? Nov 11 11:26:13 i tried to understand it but i did not get far, i was so happy when i saw i dont need it Nov 11 11:26:54 its a lib that has generic functions in it used by several services Nov 11 11:26:58 like uloop Nov 11 11:27:05 or usock Nov 11 11:27:05 etc Nov 11 11:27:34 ok, those don't sound like config related things, so I'm just going to ignore them :) Nov 11 11:28:49 well Nov 11 11:28:52 uloop is really cool Nov 11 11:30:50 here are things nbd explained to me: http://pastebin.com/qYRNA5uU Nov 11 11:32:02 * luka12345 goes to lunch Nov 11 11:40:04 blogic: so, what is it? or where can I read about it? Nov 11 11:40:29 its a mainloop implementation Nov 11 11:40:50 that uses elopp and has timer/signal handling Nov 11 11:44:01 luka12345: thanks for that paste. an interesting read, but it seems to futuristic yet for me to want to use. Nov 11 11:44:24 I'm going to keep going with this basic libuci, it lets me plug into luci fairly well too Nov 11 11:44:33 yes Nov 11 13:03:02 if uci_load() fails because the config file doesn't exist (yet) what's the best way of creating it? Nov 11 13:04:35 touch ont he file ? Nov 11 13:05:07 I've touched it, and tried it again, and now it loads ok, but it doens't save it properly? Nov 11 13:05:30 I guess setting a ptr to something in a section that doesn't exist doesn'ðt work? Nov 11 13:14:06 I usually initialize it with echo "package name" > /etc/config/name Nov 11 13:14:23 iirc I used to have issues iwth completely empty files Nov 11 13:14:35 therfore the package placeholder Nov 11 13:24:21 nico * r28942 /trunk/package/base-files-network/ (Makefile files/lib/network/config.sh): package/base-files-network: fix udhcpc issues introduced in r28866 (closes: #10383) Nov 11 13:26:23 jow * r28943 /trunk/package/base-files/ (Makefile files/bin/login.sh): [package] base-files: now that the initial password is completely empty (and not primed with "!") adjust login.sh for it to make telnetd available again Nov 11 14:31:50 jow_laptop: echo package? the file normally only has config sectionx sectionname ? Nov 11 14:32:01 well, it didn't work anyway :) Nov 11 14:32:09 I'll poke a bit more, was out for lunch Nov 11 15:16:19 uci_lookup_option_string causes a segfault on linux, if the file only has a "config sectionname" line and nothing else Nov 11 15:16:37 I was expecting to just get NULL back? Nov 11 15:18:58 well what did you pass to it? Nov 11 15:19:28 the context pointer, a struct uci_section pointer and a char * ? Nov 11 15:19:46 sorry, my bad, hit the debugger in the wrong place Nov 11 15:19:57 uci_lookup_option_string is just fine Nov 11 15:20:25 it was actually getting the option, and then trying to look at it's type without checking it was bad, total user error Nov 11 15:47:18 nico * r28944 /packages/utils/pcsc-lite/ (Makefile files/pcscd.init): packages/pcsc-lite: use new service functions Nov 11 15:47:20 nico * r28945 /packages/utils/anyremote/ (Makefile files/anyremote.init): packages/anyremote: use new service functions Nov 11 15:47:21 nico * r28946 /packages/utils/bandwidthd/ (Makefile files/bandwidthd.init): packages/bandwidthd: use new service functions Nov 11 15:47:23 nico * r28947 /packages/utils/dbus/ (Makefile files/dbus.init): packages/dbus: use new service functions Nov 11 15:47:25 nico * r28948 /packages/utils/collectd/ (Makefile files/collectd.init): packages/collectd: use new service functions Nov 11 15:47:27 nico * r28949 /packages/utils/hd-idle/ (Makefile files/hd-idle.init): packages/hd-idle: use new service functions Nov 11 15:47:28 nico * r28950 /packages/utils/fancontroled/ (Makefile files/fancontroled.init): packages/fanctrolled: use new service functions Nov 11 15:47:31 nico * r28951 /packages/utils/lcd4linux/ (Config.in Makefile files/lcd4linux.conf files/lcd4linux.init): Nov 11 15:47:31 packages/lcd4linux: split into 2 -custom & -full, various fixes: Nov 11 15:47:31 * move all original package customization to a -custom pakage, DEVEL only Nov 11 15:47:31 * enable all (not broken) drivers & plugins in a -full package (closes: #7958, #9096) Nov 11 15:47:31 * ship upstream config file, defaulting to the "Image" driver Nov 11 15:47:31 * use new service functions in initscript Nov 11 15:53:44 <_trine> Can someone have a look at the problem badly affecting compiles for dockstars Nov 11 15:54:27 <_trine> if I start with a new svn download it compiles and the kernel uncompresses onto the pendrive everytime Nov 11 15:55:18 <_trine> if i then do another make the compile compiles perfectly but the kernel then refuses to uncompress onto the pendrive as to try to boot the dockstar Nov 11 15:55:40 <_trine> This is repeatable over and over again Nov 11 15:59:36 <_trine> I missed an 'I' of one of my sentences above Nov 11 15:59:53 <_trine> pendrive as I to try to boot the dockstar Nov 11 17:41:25 nico * r28952 / (14 files in 14 dirs): packages: move Xorg category to its own feed, move X-related packages as well Nov 11 18:02:41 nico * r28953 /packages/ (net/shfs/ net/strongswan/ sound/alsa/): packages: remove packages marked as LINUX_2_4 only (alsa, shfs & strongswan) Nov 11 18:07:40 nico * r28954 /packages/utils/hd-idle/ (Makefile files/hd-idle.init): packages/hd-idle: fix stupid copy/paste in r28949 Nov 11 18:07:43 nico * r28955 /packages/utils/bemused/ (Makefile files/bemused.init): packages/bemused: use new service functions Nov 11 18:07:44 nico * r28956 /packages/utils/bluez-utils/ (Makefile files/bluez-utils.init): packages/bluez-utils: use new service functions, move checks for enabled services earlier Nov 11 18:07:46 nico * r28957 /packages/utils/rrdcollect/ (Makefile files/rrdcollect.init): Nov 11 18:07:46 packages/rrdcollect: fix linking against rrdtool by splitting it into 2 packages Nov 11 18:07:46 * rrdcollect10, linked against rrdtool-1.0.x shared library Nov 11 18:07:46 * rrdcollect12, linked against rrdtool-1.2.x shared library Nov 11 18:07:47 * use new service functions Nov 11 18:07:48 nico * r28958 /packages/net/freepops/Makefile: packages/freepops: remove dependency to unknow 'luacurl' package Nov 11 18:07:51 nico * r28959 /packages/net/freeswitch/Makefile: Nov 11 18:07:51 packages/freeswitch: various fixes: Nov 11 18:07:51 * rename -mod-http_cache to -mod-http-cache Nov 11 18:07:51 * fix -mod-cdr-sqlite dependency on libsqlite3 Nov 11 18:07:51 * remove -mod-mp4 dependency on unknown libmp4v2 package, mark it as BROKEN Nov 11 18:08:00 nico * r28960 /packages/ (48 files in 48 dirs): packages: remove dependency on obsolete LINUX_2_4 symbol Nov 11 18:42:24 build #79 of iop32x is complete: Failure [failed compile_6] Build details are at http://buildbot.openwrt.org:8010/builders/iop32x/builds/79 Nov 11 20:07:20 build #111 of brcm63xx is complete: Failure [failed compile_6] Build details are at http://buildbot.openwrt.org:8010/builders/brcm63xx/builds/111 Nov 11 20:55:44 build #101 of lantiq is complete: Failure [failed compile_6] Build details are at http://buildbot.openwrt.org:8010/builders/lantiq/builds/101 Nov 11 21:59:57 blogic * r28961 /trunk/target/linux/lantiq/ (10 files in 4 dirs): lantiq: fix breakage introduced in 3.1 bump Nov 11 22:00:06 blogic * r28962 /trunk/target/linux/lantiq/falcon/ (profiles/000-generic.mk profiles/001-lantiq.mk target.mk): lantiq: improve falcon package selection Nov 11 22:24:22 blogic * r28963 /trunk/package/pjsip/ (5 files in 3 dirs): pjsip: bump to 1.10 and improve ltq_tapi backend Nov 12 01:31:14 nico * r28964 /packages/net/portsentry/ (Makefile files/portsentry.init): packages/portsentry: pass optimization flags, disable daemon support, use new service functions Nov 12 01:31:17 nico * r28965 /packages/multimedia/kissdx/ (Makefile files/kissdx.init): packages/kissdx: use new service functions Nov 12 01:31:19 nico * r28966 /packages/net/reaim/ (Makefile files/reaim.init): packages/reaim: use new service functions Nov 12 01:31:21 nico * r28967 /packages/net/scanlogd/ (Makefile files/scanlogd.init): packages/scanlogd: change chroot to /var/run/scanlogd, use new service functions, create scanlogd user and group at start Nov 12 01:31:23 nico * r28968 /packages/sound/scmpc/ (Makefile files/scmpc.init): packages/scmpc: use new service functions Nov 12 01:31:26 nico * r28969 /packages/sound/mpdas/ (Makefile files/mpdas.init): packages/mpdas: use new service functions Nov 12 01:31:29 nico * r28970 /packages/net/mdnsresponder/ (4 files in 2 dirs): Nov 12 01:31:29 packages/mdnsreposnder: various changes: Nov 12 01:31:29 * split into mdns-utils (client utilities), mdnsd (server daemon) & mdnsresponder (meta package) Nov 12 01:31:29 * provide a default mDNSReponder config file advertising the SSH server Nov 12 01:31:29 * use new service functions **** ENDING LOGGING AT Sat Nov 12 02:59:56 2011