Opened 4 years ago

Closed 4 years ago

#62075 closed defect (fixed)

fossil @2.13 crashes when cloning a specific repository on Big Sur - missing _strstr in tcl library

Reported by: snowflake (Dave Evans) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc:
Port: fossil tcl

Description

When cloning a repository that is in the attached zip file I get a crash. This only happens on Big Sur. On El Capitan and Catalina it works perfectly. All other repositories are working perfectly.

sqlite3 .dump and rebuild of the repository works.

Here's the log:

Script started on Mon Jan 18 08:55:25 2021
command: fossil clone fossil-ssh-bug-repo.fossil clone.fossil

Repository cloned into clone.fossil
Rebuilding repository meta-data...
dyld: lazy symbol binding failed: Symbol not found: _strstr
  Referenced from: /opt/local/bin/fossil
  Expected in: /opt/local/lib/libtcl8.6.dylib
dyld: Symbol not found: _strstr
  Referenced from: /opt/local/bin/fossil
  Expected in: /opt/local/lib/libtcl8.6.dylib

Script done on Mon Jan 18 08:55:25 2021

Attachments (1)

fossil-ssh-bug-repo.zip (12.9 KB) - added by snowflake (Dave Evans) 4 years ago.
Fossil repository that does not clone on Big Sur

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by snowflake (Dave Evans)

Attachment: fossil-ssh-bug-repo.zip added

Fossil repository that does not clone on Big Sur

comment:1 Changed 4 years ago by jmroot (Joshua Root)

That looks rather like the configuration bug that was affecting tcl previously, caused by implicit declarations in the test code used by the configure script.

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Does rebuilding fossil against the current tcl version help?

comment:3 Changed 4 years ago by snowflake (Dave Evans)

Rebuilding fossil from source against the current tcl version has fixed it.

The original fossil was built in November 2020

Thank you for the suggestion.

comment:4 Changed 4 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 714c6b9475ca4d97ce507e36364a7fe4752edc7a/macports-ports (master):

fossil: rev bump to pick up tcl configuration fix

Tcl fix made in 9230687.
Closes: #62075

Note: See TracTickets for help on using tickets.