[MacPorts] #29172: remove dependency on Xcode
#29172: remove dependency on Xcode -------------------------------+-------------------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- I realize this would be a pretty significant change but I'd like for MacPorts to not depend on Xcode. Xcode now costs money, which means that MacPorts depends on non-free (as in beer) software. As far as I know there is no convenient and free developer toolchain on Mac OS X any more. The MacPorts project is probably in the best position of any project to provide that. (Mozilla, the project I'm most heavily involved with, would appreciate it) -- Ticket URL: <https://trac.macports.org/ticket/29172> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode -------------------------------+-------------------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Xcode 3 is still free and still works fine on Snow Leopard. Since Lion is not released we don't know what will happen with that yet. This wish is probably best discussed at length on the mailing list first; it's not a ticket than can be easily resolved with a couple lines of code. This is a major major change. It's probably not realistic to expect MacPorts to ever be free of the Xcode dependency -- not for all variants of all ports, anyway. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode -------------------------------+-------------------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- Changes (by mfeiri@…): * cc: mfeiri@… (added) Comment: Well, it is doable though and it would be nice-to-have in any case. Assuming we use the clang toolchain we'd just need binaries of clang, ld64, and a make tool. Additionally we'd have to provide headers from xnu and Libc. That should be all thats necessary to bootstrap macports. Everything else can be built from there. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode -------------------------------+-------------------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by jmr@…): You should theoretically be able to run MacPorts without Xcode right now, provided your toolchain is installed in the same places as Xcode's. The only thing that actually requires it is the base installer pkg preflight check (and you could fool that with any old executable installed as /usr/bin/xcodebuild). Individual ports may of course rely on all kinds of things from Xcode, most obviously xcodebuild itself. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode -------------------------------+-------------------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by tobias.netzel@…): Replying to [ticket:29172 joshmoz@…]:
I realize this would be a pretty significant change but I'd like for MacPorts to not depend on Xcode. Xcode now costs money, which means that MacPorts depends on non-free (as in beer) software. As far as I know there is no convenient and free developer toolchain on Mac OS X any more. The MacPorts project is probably in the best position of any project to provide that. Did you ever realize there is Gentoo Prefix?[[BR]] http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml [[BR]] I didn't know of it's existence until a fews days ago but they seem to provide exactly what you're looking for. It needs Xcode only for bootstrapping. After that everything gets compiled by it's own toolchain.[[BR]] Although I didn't test it they seem to provide clang 2.9 as well as llvm- gcc-4.2 ready to be built and used on Tiger, Leopard and Snow Leopard.
-- Ticket URL: <https://trac.macports.org/ticket/29172#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode -------------------------------+-------------------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by joshmoz@…): Replying to [comment:4 tobias.netzel@…]:
Did you ever realize there is Gentoo Prefix?[[BR]] http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml [[BR]] I didn't know of it's existence until a fews days ago but they seem to provide exactly what you're looking for. It needs Xcode only for bootstrapping. After that everything gets compiled by it's own toolchain.[[BR]] Although I didn't test it they seem to provide clang 2.9 as well as llvm-gcc-4.2 ready to be built and used on Tiger, Leopard and Snow Leopard.
That's really no better than MacPorts for what I want. I am only interested in getting a developer toolchain on my machine without having to have Xcode myself. I don't care how the toolchain itself is compiled. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode -------------------------------+-------------------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by kaioless@…): Also I'd like to ask why is it not possible to make binary macports package? -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode --------------------------+-------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Changes (by ram@…): * cc: ram@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29172: remove dependency on Xcode --------------------------+-------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): This came up again on the mailing lists here: https://lists.macosforge.org/pipermail/macports-dev/2013-March/022374.html Also I'd like MacPorts to go even further than this: I'd like it to be entirely self-hosting some day. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#29172: remove dependency on Xcode --------------------------+-------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:12 egall@…]:
Also I'd like MacPorts to go even further than this: I'd like it to be entirely self-hosting some day.
I don't think this is something worth pursuing, to be perfectly frank. The bang for the buck just isn't there. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#29172: remove dependency on Xcode --------------------------+-------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Changes (by larryv@…): * cc: c.herbig@… (added) Comment: Has duplicate #39789. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#29172: remove dependency on Xcode --------------------------+-------------------------------- Reporter: joshmoz@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: Port: | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: schwern@…, m@…, Per.Mildner@… (added) * version: 1.9.2 => Comment: Has duplicates #35045, #40982. -- Ticket URL: <https://trac.macports.org/ticket/29172#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts