[MacPorts] #37450: expect 5.45 + libnewt 0.52.14 error on upgrading Tcl & Tk
#37450: expect 5.45 + libnewt 0.52.14 error on upgrading Tcl & Tk --------------------------+-------------------------------- Reporter: phildobbin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: --------------------------+-------------------------------- 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... -- Ticket URL: <https://trac.macports.org/ticket/37450> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#37450: expect 5.45 error on upgrading Tcl & Tk to 8.6.0 ---------------------------+--------------------- Reporter: phildobbin@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: expect | ---------------------------+--------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: I have filed an expect bug report: https://sourceforge.net/tracker/?func=detail&aid=3603799&group_id=13179&atid... -- Ticket URL: <https://trac.macports.org/ticket/37450#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37450: expect 5.45 error on upgrading Tcl & Tk to 8.6.0 ---------------------------+--------------------- Reporter: phildobbin@… | Owner: markd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: expect | ---------------------------+--------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: In that bug report it was pointed out that we need to add `-ltclstub8.6` to LDFLAGS. Fixed in r102801. -- Ticket URL: <https://trac.macports.org/ticket/37450#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts