Updating, or building throws: pkg-static: Unable to access file /usr/ports/lang/tcl86/work/stage/usr/local/lib/libtcl86.so.1:No such file or directory pkg-static: Unable to access file /usr/ports/lang/tcl86/work/stage/usr/local/lib/libtclstub86.a:No such file or directory *** Error code 1 Those files are confirmed missing. Contents of /usr/ports/lang/tcl86/work/stage/usr/local/lib/ is : drwxr-xr-x 3 root wheel 3B Jan 7 04:14 X11 drwxr-xr-x 2 root wheel 2B Jan 7 04:14 debug -r-xr-xr-x 1 root wheel 1.7M Jan 7 04:14 libtcl8.6.so -r-xr-xr-x 1 root wheel 3.2M Jan 7 04:14 libtcl86.a lrwxr-xr-x 1 root wheel 12B Jan 7 04:14 libtcl86.so -> libtcl8.6.so -rwxr-xr-x 1 root wheel 8.4K Jan 7 04:14 libtclstub8.6.a drwxr-xr-x 8 root wheel 25B Jan 7 04:14 tcl8.6 Creating symlinks for the missing files allowed port to build: ln -s libtcl86.so libtcl86.so.1 ln -s libtclstub8.6.a libtclstub86.a However, not without errors and not without resulting problems building other ports depending on it (eg: databases/sqlite3).
I'm not sure how you could end up in that situation. The port looks fine to me, it passes "port test", and binary packages are being built. What commit of the ports tree are you on? Are you building from a clean directory (make clean)?
I experience the same problem. My options: ===> The following configuration options are available for tcl86-8.6.12: DEBUG=off: Build with debugging support DTRACE=off: Build with DTrace probes TCLMAN=off: Install Tcl function manpages THREADS=off: Threading support TZDATA=off: Install Tcl timezone data
Thanks, I could reproduce the issue with that set of options. Investigating now.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=552140e98ee4fad6376883482f47cbd6c7c6a05d commit 552140e98ee4fad6376883482f47cbd6c7c6a05d Author: Pietro Cerutti <gahr@FreeBSD.org> AuthorDate: 2022-01-06 13:10:55 +0000 Commit: Pietro Cerutti <gahr@FreeBSD.org> CommitDate: 2022-01-06 13:13:58 +0000 lang/tcl86: fix build with non-default options (THREADS off) The additional lines in the patch to unix/configure were erroneously placed inside an if block that was guarded by the enablement of the THREADS option. PR: 260970 Reported by: David Armstrong <bink19th@pm.me> lang/tcl86/files/patch-unix-configure | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-)
Fixed. Please update your ports tree and try again. Thanks!
Success! Thank you Pietro.