On Mon, Mar 03, 2008 at 01:23:06PM +0800, Hongzheng Wang wrote: > Hi, > > I have just cvsed and rebuilt the whole system. No error > occurs. And my system is Debian sid. So, I think the > problem you encountered might due to some missing or > mismatched packages on your debian box. Perhaps, the > install.log in /usr/local/plan9/ would be helpful to > discover what's wrong during installation.
Well, one step forward, one step back.... install.log was no help, the message I quoted was everything relevant. I took a stab at running gdb through yacc, but the compiler optimized the code to the point finding the problem was nearly impossible.....best I can say is its somewhere in the dofmt() function (lib9/fmt/dofmt.c) or something it calls. So I pulled out my VERY slow laptop and spent a few hours letting it compile plan9port. This time the build worked, so looks like some lenny/sid packages don't work well together. Hmm, or another possibility occurs to me. I use the AMD64 kernel (2.6.22-3-amd64) on my desktop, but i686 on the laptop (2.6.22-3-i686). Any chance that could cause a problem? I tried copying the "pure lenny" install to the main system file structure, but that clearly does not work because wmii (the application I need plan9port for) does not run. So, any ideas on how to fix the build process? The problem stems from yacc.c at line #2173 in the sprint() function. Could I replace that with the standard library sprintf() function as a stop-gap measure? --David