From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Jeannot Content-Type: multipart/alternative; boundary="Apple-Mail=_BC9F1F59-A308-4BB5-9761-700A1508F961" Date: Sat, 6 Aug 2011 19:57:17 +0200 Message-Id: To: 9fans@9fans.net Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c058084-ead7-11e9-9d60-3106f5b1d025 --Apple-Mail=_BC9F1F59-A308-4BB5-9761-700A1508F961 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello, I would like to use Plan9port (including Acme) on OS X Lion. But = building the current Plan9port tree (1ddb9b093c12) with Xcode 4.1 gives = me multiple errors.* Is there a place where I could find Plan9port binaries from an older OS = X? I miss Acme terribly. I wish you a lovely weekend. * The "multiple errors" are: 1) Devdraw fails to build = (http://9fans.net/archive/?q=3Dplan9port%3A+cocoa+programmer+needed). 2) The linker gives "malformed archive TOC entry for" errors with = libraries such as lib9, libbio, libmap, libplumb, or libthread = (https://bitbucket.org/rsc/plan9port/issue/81/devdraw-does-not-build-on-os= -x-lion-latest#comment-585887). Running "for(i in $PLAN9/lib/*.a) ranlib = $i" at the right time seems to solve the issue. 3) There seems to be an issue with 9pserve too; launching Plumber gives = for example: 9pserve : Aug 6 19:20:04.214 note: sys: bus error plumber: post9pservice plumb: 9pserve failed "uname -a" gives: Darwin djmac.lan 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 = 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64 "gcc -v" gives: Using built-in specs. Target: i686-apple-darwin11 Configured with: = /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure = --disable-checking --enable-werror --prefix=3D/Developer/usr/llvm-gcc-4.2 = --mandir=3D/share/man --enable-languages=3Dc,objc,c++,obj-c++ = --program-prefix=3Dllvm- = --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ = --with-slibdir=3D/usr/lib --build=3Di686-apple-darwin11 = --enable-llvm=3D/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCo= re/Developer/usr/local --program-prefix=3Di686-apple-darwin11- = --host=3Dx86_64-apple-darwin11 --target=3Di686-apple-darwin11 = --with-gxx-include-dir=3D/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build = 2335.15.00) --Apple-Mail=_BC9F1F59-A308-4BB5-9761-700A1508F961 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

I = would like to use Plan9port (including Acme) on OS X Lion. But building = the current Plan9port tree (1ddb9b093c12) with Xcode 4.1 gives me = multiple errors.*

Is = there a place where I could find Plan9port binaries from an older OS X? = I miss Acme terribly.


I wish you a lovely = weekend.



* The "multiple errors" are:

1) Devdraw fails to build (http://9fans.net/archive/?q=3Dplan9port%3A+cocoa+programmer+needed).=

2) The linker gives "malformed = archive TOC entry for" errors with libraries such as lib9, libbio, = libmap, libplumb, or libthread (https://bitbucket.org/rsc/plan9port/= issue/81/devdraw-does-not-build-on-os-x-lion-latest#comment-585887). = Running "for(i in $PLAN9/lib/*.a) ranlib $i" at the right time seems to = solve the issue.

3) = There seems to be an issue with 9pserve too; launching Plumber gives for = example:

= 9pserve <nil>: Aug  6 19:20:04.214 note: sys: bus = error
plumber: post9pservice plumb: = 9pserve failed


"uname -a" gives:

"gcc -v" gives:
Target: = i686-apple-darwin11
Configured with: = /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure = --disable-checking --enable-werror --prefix=3D/Developer/usr/llvm-gcc-4.2 = --mandir=3D/share/man --enable-languages=3Dc,objc,c++,obj-c++ = --program-prefix=3Dllvm- = --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ = --with-slibdir=3D/usr/lib --build=3Di686-apple-darwin11 = --enable-llvm=3D/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCo= re/Developer/usr/local --program-prefix=3Di686-apple-darwin11- = --host=3Dx86_64-apple-darwin11 --target=3Di686-apple-darwin11 = --with-gxx-include-dir=3D/usr/include/c++/4.2.1
gcc version 4.2.1 (Based on Apple Inc. build = 5658) (LLVM build 2335.15.00)

= --Apple-Mail=_BC9F1F59-A308-4BB5-9761-700A1508F961-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 7 Aug 2011 10:07:46 +0200 Message-ID: From: david jeannot To: 9fans@9fans.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c0be03c-ead7-11e9-9d60-3106f5b1d025 > 3) There seems to be an issue with 9pserve too; > launching Plumber gives for example: > 9pserve : Aug=C2=A0 6 19:20:04.214 note: sys: bus error > plumber: post9pservice plumb: 9pserve failed (The "bus error" line doesn't appear if I remove /tmp/ns.* before I run Plumber, but the "9pserve failed" line always do.) From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Mon, 8 Aug 2011 00:23:32 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c1202d2-ead7-11e9-9d60-3106f5b1d025 > Is there a place where I could find Plan9port binaries from an older OS X= ? I > miss Acme terribly. Sorry, even an old build doesn't work. Some dynamic libraries bits have disappeared. Maybe one can force a static build? --=20 Aram H=C4=83v=C4=83rneanu From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 7 Aug 2011 18:09:22 -0600 Message-ID: From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c2f43f6-ead7-11e9-9d60-3106f5b1d025 sorry, i posted the binaries in the wrong thread. take a look at "cocoa programmer wanted" to get the three binaries that work on my lion installation. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: Charles Forsyth Date: Mon, 8 Aug 2011 10:10:56 +0100 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c3cd462-ead7-11e9-9d60-3106f5b1d025 >The "bus error" line doesn't appear if I remove /tmp/ns.* it's remarkable that the pdp-11 lives on in long-outdated error numbering schemes. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 8 Aug 2011 11:40:33 +0200 Message-ID: From: david jeannot To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c430eb8-ead7-11e9-9d60-3106f5b1d025 Thank you so much Andrey! On 8 August 2011 02:09, andrey mirtchovski wrote: > sorry, i posted the binaries in the wrong thread. take a look at > "cocoa programmer wanted" to get the three binaries that work on my > lion installation. > > From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 8 Aug 2011 13:39:01 +0200 Message-ID: From: david jeannot To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c48ef04-ead7-11e9-9d60-3106f5b1d025 If anyone ever had /bin/9p too, it would be great. (If someone is interested, I have most of the other binaries, including bin/plumber, or even bin/acme with 2-3 chording instead of 2-1 chording, so one can use the Alt key, the Cmd key, and the trackpad instead of the mouse. I don't have bin/acmeevent.) From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Mon, 8 Aug 2011 23:29:14 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c4e870c-ead7-11e9-9d60-3106f5b1d025 > (If someone is interested, I have most of the > other binaries, including bin/plumber [...] I don't understand what binaries are this? How do they work in Lion? --=20 Aram H=C4=83v=C4=83rneanu From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 8 Aug 2011 14:36:45 -0600 Message-ID: From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c5953a8-ead7-11e9-9d60-3106f5b1d025 they're i386 binaries compiled with an older toolchain (Snow Leopard) before Lion was installed. $ file /tmp/9p /tmp/9p: Mach-O executable i386 $ /tmp/9p -na sources.cs.bell-labs.com ls -l d-rwxrwxr-x M 0 9grid 9grid 0 Oct 20 2005 9grid ... From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Tue, 9 Aug 2011 02:00:30 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c5ee386-ead7-11e9-9d60-3106f5b1d025 > they're i386 binaries compiled with an older toolchain (Snow Leopard) > before Lion was installed. Yes. How to these work in Lion? My old p9p build simply didn't display anything devdraw related. --=20 Aram H=C4=83v=C4=83rneanu From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 8 Aug 2011 19:03:32 -0600 Message-ID: From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c64d64c-ead7-11e9-9d60-3106f5b1d025 > Yes. How to these work in Lion? My old p9p build simply didn't display > anything devdraw related. i got the 9pserve fail once (no bus error, just '9pserve failed'), but it went away when i copied a binary from a different machine. upon inspection the two binaries were identical. i haven't gotten any devdraw failures. my p9p tree does not seem to contain any changes that may be relevant, so I suspect I just got lucky to compile p9p with a toolchain that works. acme works for me both on my personal machine, and on my wife's imac which can be considered a 'pristine' Lion upgrade with no xcode. i'm unable to compile anything. the cc1-output asm can't be compiled. i'm useless in diagnosing that. andrey From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 8 Aug 2011 21:35:02 -0400 To: 9fans@9fans.net Message-ID: <8963e42b8411edf0a09f0d4e47c7133a@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c6d0088-ead7-11e9-9d60-3106f5b1d025 > i got the 9pserve fail once (no bus error, just '9pserve failed'), but > it went away when i copied a binary from a different machine. upon > inspection the two binaries were identical. !? how do you explain that? - erik From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <8963e42b8411edf0a09f0d4e47c7133a@brasstown.quanstro.net> References: <8963e42b8411edf0a09f0d4e47c7133a@brasstown.quanstro.net> Date: Mon, 8 Aug 2011 18:44:01 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c73643c-ead7-11e9-9d60-3106f5b1d025 On Mon, Aug 8, 2011 at 6:35 PM, erik quanstrom wrot= e: >> i got the 9pserve fail once (no bus error, just '9pserve failed'), but >> it went away when i copied a binary from a different machine. upon >> inspection the two binaries were identical. > > !? =A0how do you explain that? well I just hope it's not extended attributes, but I've had weird problems with them lately on osx. ron From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <8963e42b8411edf0a09f0d4e47c7133a@brasstown.quanstro.net> References: <8963e42b8411edf0a09f0d4e47c7133a@brasstown.quanstro.net> Date: Mon, 8 Aug 2011 20:01:08 -0600 Message-ID: From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c79b56c-ead7-11e9-9d60-3106f5b1d025 >> i got the 9pserve fail once (no bus error, just '9pserve failed'), but >> it went away when i copied a binary from a different machine. upon >> inspection the two binaries were identical. > > !? =C2=A0how do you explain that? i can't. the failing 9pserve was from time machine. i re-copied it from the same place again and it wasn't failing anymore. there may have been something broken with /tmp/ns.* that got cleared, but apart from that i'm at a loss to explain it. From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 8 Aug 2011 22:04:46 -0400 To: 9fans@9fans.net Message-ID: <7fb89774fe33d7c19f8dcbbe4eba9c16@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c7fb5a2-ead7-11e9-9d60-3106f5b1d025 On Mon Aug 8 22:02:00 EDT 2011, mirtchovski@gmail.com wrote: > >> i got the 9pserve fail once (no bus error, just '9pserve failed'), but > >> it went away when i copied a binary from a different machine. upon > >> inspection the two binaries were identical. > > > > !?  how do you explain that? > > i can't. the failing 9pserve was from time machine. i re-copied it > from the same place again and it wasn't failing anymore. there may > have been something broken with /tmp/ns.* that got cleared, but apart > from that i'm at a loss to explain it. why does this remind of of sinkholes in ancient cities. they're just a fun way of finding you built your house on a 2d century bce cistern. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Eric Van Hensbergen Date: Tue, 9 Aug 2011 09:02:37 -0500 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Where can I find Plan9port binaries running on OS X Lion? Topicbox-Message-UUID: 0c9e467a-ead7-11e9-9d60-3106f5b1d025 On Mon, Aug 8, 2011 at 8:03 PM, andrey mirtchovski wrote: >> Yes. How to these work in Lion? My old p9p build simply didn't display >> anything devdraw related. > > i got the 9pserve fail once (no bus error, just '9pserve failed'), but > it went away when i copied a binary from a different machine. upon > inspection the two binaries were identical. i haven't gotten any > devdraw failures. my p9p tree does not seem to contain any changes > that may be relevant, so I suspect I just got lucky to compile p9p > with a toolchain that works. > > acme works for me both on my personal machine, and on my wife's imac > which can be considered a 'pristine' Lion upgrade with no xcode. > Just to add to the confusion... Everything worked fine on mine until I downloaded the new Xcode and then even without recompiling, the mouse stopped working in everything Plan 9 related. -eric