View Ticket
2024-10-08
22:05 Closed ticket [854f0e38eb]: FreeBSD - ssp.h: No such file or directory plus 3 other changes artifact: 6d2eedf06d user: anonymous
21:34 Ticket [854f0e38eb]: 3 changes artifact: 4e01ab3c5a user: anonymous
21:28 Ticket [854f0e38eb]: 3 changes artifact: 5b1d55b94c user: anonymous
21:16 Ticket [854f0e38eb]: 5 changes artifact: 286b2d6b84 user: anonymous
21:14 New ticket [854f0e38eb]. artifact: 93631d6d1b user: anonymous

Ticket Hash: 854f0e38eb901be684f83d842999cc49a7ae2536
Title: FreeBSD - ssp.h: No such file or directory
Status: Closed Type: Build Problem
Severity: Severe Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2024-10-08 22:05:24
Version Found In: 1.8.0 tcltls-216954cfae
User Comments:
anonymous added on 2024-10-08 21:14:27:

When executing make, I receive an error that ssp.h doesn't exist, yet it does.

/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd15.0/13.3.0/include/ssp/stdio.h:38:10: fatal error: ssp.h: No such file or directory
38 | #include <ssp.h>

yet it exists

[root@navitcl2 /srv/~scrap/tcltls-216954cfae]# locate ssp.h
/usr/include/ssp/ssp.h
[root@navitcl2 /srv/~scrap/tcltls-216954cfae]# ls -lha /usr/include/ssp/ssp.h
-r--r--r--  1 root wheel  4.0K Aug 22 04:24 /usr/include/ssp/ssp.h

any thoughts?

Many Thanks, -mookie


anonymous added on 2024-10-08 21:28:45:

additional: tcltls-bc6ff74449 builds but doesn't install


anonymous added on 2024-10-08 21:34:46:

tcltls-1505883e4a -- compiles, obtained from branch tls-1.8.0

but requires configure and Makefile from tcltls-bc6ff74449 to compile correctly.

-mookie


anonymous added on 2024-10-08 22:05:24:

Branch

tcltls-1505883e4a
https://core.tcl-lang.org/tcltls/info/1505883e4a18b50e

Error

checking for OpenSSL pkgconfig... 
./configure: : Permission denied
checking for tclsh... /srv/~scrap/tcl9.0.0/unix/tclsh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgIndex.tcl

[root@navitcl2 /srv/~scrap/tcltls/tcltls-1505883e4a]# make
sed -e '/^\\s*\#/d' -e '/^\\s*$/d' -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/^/"/' -e 's/$/\\n\"/' < `echo ` > tls.tcl.h || { rm -f tls.tcl.h; exit 1; }
/bin/sh: cannot open : No such file or directory
*** Error code 1
Stop.
make: stopped making "all" in /srv/~scrap/tcltls/tcltls-1505883e4a

Branch

tcltls-bc6ff744494d3b41
https://core.tcl-lang.org/tcltls/info/bc6ff744494d3b41

compiles
makes
make install fails

Error

/bin/sh: cannot open ./tclconfig/install-sh: No such file or directory
*** Error code 127
Stop.
make: stopped making "install" in /srv/~scrap/tcltls/tcltls-bc6ff74449

this can be fixed by copying ./tclconfig from tcltls-1505883e4a

 cp -R ../tcltls-1505883e4a/tclconfig/ ./tclconfig/
 make install
 Installing header files in /srv/tcl/include
 Installing ./generic/tls.h

and then is loadable.

% package require tls
1.8.0

However, if I copy Makefile and configure from bc6ff744494d3b41 in to tcltls-1505883e4a -- this enables compilation and installable but not loadable within TCL9

% package require tls
invalid command name "cipher_is_aead"