Opened 12 years ago
Closed 12 years ago
#37450 closed defect (fixed)
expect 5.45 error on upgrading Tcl & Tk to 8.6.0
Reported by: | phildobbin@… | Owned by: | markd@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | dale+macports@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | expect |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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...
Attachments (4)
Change History (8)
Changed 12 years ago by phildobbin@…
Attachment: | expect_main.log added |
---|
Changed 12 years ago by phildobbin@…
Attachment: | libnewt_main.log added |
---|
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to markd@… |
Port: | expect added |
Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | expect.diff added |
---|
Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Summary: | expect 5.45 + libnewt 0.52.14 error on upgrading Tcl & Tk → expect 5.45 error on upgrading Tcl & Tk to 8.6.0 |
I have filed an expect bug report: https://sourceforge.net/tracker/?func=detail&aid=3603799&group_id=13179&atid=113179
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
In that bug report it was pointed out that we need to add -ltclstub8.6
to LDFLAGS. Fixed in r102801.
expect links with libtcl8.5.dylib:
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.