Community
Participate
Working Groups
The spawner tries to find the executable on the PATH but doesn't consider the PATH var passed down on exec. This was fixed on Linux quite a while ago in 145737. The fix needs to be ported to Mac.
*** cdt cvs genie on behalf of dschaefer *** Bug 334845 - Port Linux pfind to Mac. [*] exec_pty.c 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/library/exec_pty.c?root=Tools_Project&r1=1.3&r2=1.4 [*] exec_unix.c 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/library/exec_unix.c?root=Tools_Project&r1=1.2&r2=1.3 [*] pfind.c 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/library/pfind.c?root=Tools_Project&r1=1.3&r2=1.4 [*] libspawner.jnilib 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86_64/libspawner.jnilib?root=Tools_Project&r1=1.3&r2=1.4 [*] libpty.jnilib 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86_64/libpty.jnilib?root=Tools_Project&r1=1.3&r2=1.4 [*] libspawner.jnilib 1.5 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86/libspawner.jnilib?root=Tools_Project&r1=1.4&r2=1.5 [*] libpty.jnilib 1.5 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86/libpty.jnilib?root=Tools_Project&r1=1.4&r2=1.5 [*] libspawner.jnilib 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/ppc/libspawner.jnilib?root=Tools_Project&r1=1.6&r2=1.7 [*] libpty.jnilib 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/ppc/libpty.jnilib?root=Tools_Project&r1=1.6&r2=1.7 [*] exec_pty.c 1.3.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/library/exec_pty.c?root=Tools_Project&r1=1.3&r2=1.3.2.1 [*] exec_unix.c 1.2.20.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/library/exec_unix.c?root=Tools_Project&r1=1.2&r2=1.2.20.1 [*] pfind.c 1.3.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/library/pfind.c?root=Tools_Project&r1=1.3&r2=1.3.2.1 [*] libspawner.jnilib 1.3.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86_64/libspawner.jnilib?root=Tools_Project&r1=1.3&r2=1.3.2.1 [*] libpty.jnilib 1.3.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86_64/libpty.jnilib?root=Tools_Project&r1=1.3&r2=1.3.2.1 [*] libspawner.jnilib 1.4.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86/libspawner.jnilib?root=Tools_Project&r1=1.4&r2=1.4.2.1 [*] libpty.jnilib 1.4.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/x86/libpty.jnilib?root=Tools_Project&r1=1.4&r2=1.4.2.1 [*] libspawner.jnilib 1.6.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/ppc/libspawner.jnilib?root=Tools_Project&r1=1.6&r2=1.6.2.1 [*] libpty.jnilib 1.6.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.macosx/os/macosx/ppc/libpty.jnilib?root=Tools_Project&r1=1.6&r2=1.6.2.1
Port fix from the Linux fragment. At some point we should consider merging all the spawner code into one project so they have a chance to keep in sync.
BTW, checked into HEAD and cdt_7_0.
BTW what host did you build the new libraries on? We had some issue in the past where libraries built on 10.6 of OS X don't work on 10.5 (bug 248071). Mirko can your confirm that the OS X natives still work for you?
I built on 10.6.6. I don't have access to 10.5. If someone wants to build there and contribute, feel free. Given how old 10.5 is and how well Eclipse runs in 10.6 and how little contribution we obviously get for Mac, I'm happy dropping 10.5.
Wondering if this affects the AIX spawner too... And yeah, a common project would be nice. I think the code is supposed to be the same now amongst all the *NIX based spawners, isn't it?