From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6c49cc2fbe38c68838ffd940011de293@coraid.com> From: erik quanstrom Date: Mon, 3 Mar 2008 14:02:04 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] plan9port build failure on Linux (debian) In-Reply-To: <20080303172726.GD28226@morris-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 6d9a574c-ead3-11e9-9d60-3106f5b1d025 > > For what its worth, I just added the following lines to > yacc.c at the top of the file: > > #include > #define sprint sprintf > > The build of plan9port just completed with no errors, the > problem is somewhere in sprint(). > > I'll try and find time tonight to test out the plan9port > build to verify it works. Let me know if I can provide any > other useful information. I might try tracking down the bug > later this week, but not certain I'll have much time to do > so. it is very likely that you have broken yacc in a different way by doing this. stdio formats are not compatable with plan 9 print formats. for example, u is a flag when used with sprint but a verb when used with printf. (not to mention the fact that other programs than yacc use sprint.) have you verified that a standalone program with a similar print statement has the same problems? - erik