Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#43323 closed defect (fixed)

port_cutleaves doesn't work without macports_fastload.tcl

Reported by: xeron (Ivan Larionov) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.99
Keywords: Cc: lperry (Perry Lee)
Port: port_cutleaves

Description

~$ sudo port_cutleaves 
Error: couldn't read file "/Library/Tcl/macports1.0/macports_fastload.tcl": no such file or directory

Removal of macports_fastload.tcl — r118559 and r118562

Change History (7)

comment:1 Changed 11 years ago by neverpanic (Clemens Lang)

Change the shebang line of port_cutleaves to #!/usr/bin/env port-tclsh and remove the block of code that sources macports_fastload.tcl. I probably won't commit this before the 2.3 release, though.

comment:2 in reply to:  1 ; Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to cal@…:

Change the shebang line of port_cutleaves to #!/usr/bin/env port-tclsh and remove the block of code that sources macports_fastload.tcl. I probably won't commit this before the 2.3 release, though.

This seems like an API change that would also affect any other scripts similar to port_cutleaves...

comment:3 in reply to:  2 Changed 11 years ago by xeron (Ivan Larionov)

Replying to cal@…:

Change the shebang line of port_cutleaves to #!/usr/bin/env port-tclsh and remove the block of code that sources macports_fastload.tcl. I probably won't commit this before the 2.3 release, though.

Thanks, works now.

Replying to egall@…:

Replying to cal@…: This seems like an API change that would also affect any other scripts similar to port_cutleaves...

Agreed.

Last edited 11 years ago by xeron (Ivan Larionov) (previous) (diff)

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

See r118830, which fixes this for port_cutleaves.

Yes, this is an API change and it affects all scripts that use the MacPorts API. Since we're changing the blessed Tcl interpreter with 2.3.0 that cannot be avoided, though. It needs to be done for all contributed scripts.

comment:5 Changed 10 years ago by xeron (Ivan Larionov)

BTW 2.3.0 has been released but port_cutleaves still doesn't work.

comment:6 Changed 10 years ago by neverpanic (Clemens Lang)

comment:7 Changed 10 years ago by xeron (Ivan Larionov)

Thank you!

Note: See TracTickets for help on using tickets.