#37255: py-pygtk @2.22.0_4 returned: could not create new link -------------------------------+-------------------------------- Reporter: nonstop.server@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-pygtk | -------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: g5pw@…, ryandesign@… (added) * port: py27-gtk => py-pygtk Comment: I remember the old Tcl on Leopard and earlier was picky about not wanting to create symlinks to things that didn't already exist. I think that was the problem with using "`file link -symbolic`". I see that the old pre- unification py27-gtk port used "`system "ln -s"`" instead, perhaps for that reason. I believe that was why we have the "`ln -s`" shortcut in MacPorts; it uses symlink(2) directly, bypassing the buggy implementation in old Tcls. You can test whether this is the cause and solution by editing the py- pygtk portfile and changing occurrences of "file link -symbolic A B" to "ln -s B A". Note that the order of the arguments must be reversed. I'll test it myself in a moment, once my Leopard machine finishes what it's doing. -- Ticket URL: <https://trac.macports.org/ticket/37255#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS