[MacPorts] #37450: expect 5.45 + libnewt 0.52.14 error on upgrading Tcl & Tk

MacPorts noreply at macports.org
Sun Dec 30 10:39:34 PST 2012


#37450: expect 5.45 + libnewt 0.52.14 error on upgrading Tcl & Tk
---------------------------+---------------------
  Reporter:  phildobbin@…  |      Owner:  markd@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.2
Resolution:                |   Keywords:
      Port:  expect        |
---------------------------+---------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => markd@…
 * port:   => expect


Old description:

> When running selfupdate scanning binaries found:
>
> 'Scanning binaries for linking errors: 9.9%
>  Could not open /opt/local/lib/libtcl8.5.dylib: Error opening or reading
> file (referenced from /opt/local/bin/expect)'
>
> This was after running port upgrade outdated & involved the ports Tcl &
> Tk (Tcl 8.5.13 -> 8.6.0_1 & Tk the same) amongst others.
>
> The package manager went on to try to rebuild the ports expect, libnewt &
> Vim & failed on all but Vim which was uninstalled & then re-installed.
> The original Vim was compiled with the +tcl variant & the subsequent
> rebuild excluded it.
>
> I have attached the log files for the failed builds of expect &
> libnewt...

New description:

 When running selfupdate scanning binaries found:

 {{{
 Scanning binaries for linking errors: 9.9%
  Could not open /opt/local/lib/libtcl8.5.dylib: Error opening or reading
 file (referenced from /opt/local/bin/expect)
 }}}

 This was after running port upgrade outdated & involved the ports Tcl & Tk
 (Tcl 8.5.13 -> 8.6.0_1 & Tk the same) amongst others.

 The package manager went on to try to rebuild the ports expect, libnewt &
 Vim & failed on all but Vim which was uninstalled & then re-installed. The
 original Vim was compiled with the +tcl variant & the subsequent rebuild
 excluded it.

 I have attached the log files for the failed builds of expect & libnewt...

--

Comment:

 expect links with libtcl8.5.dylib:

 {{{
 $ port installed expect
 The following ports are currently installed:
   expect @5.45_3+universal (active)
 $ otool -L /opt/local/bin/expect
 /opt/local/bin/expect:
         /opt/local/lib/libtcl8.5.dylib (compatibility version 8.5.0,
 current version 8.5.13)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 169.3.0)
 }}}

 Now that tcl has been updated to 8.6.0 libtcl8.5.dylib no longer exists;
 the port needs to be rebuilt to link with libtcl8.6.dylib instead.

 We could also use this opportunity to update expect to use the tcl 8.6.0
 sources.

 Unfortunately expect does not build with tcl 8.6.0 (regardless of what
 version of tcl sources it uses). Attached is a patch to update the port,
 and a log showing how it fails to build.

 libnewt is a different port maintained by a different maintainer and
 probably needs a separate ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/37450#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list