Tcl Source Code

View Ticket
Login
Ticket UUID: 6a9a2ccfb9f678b5c842c8ea197dcac5a7fc4e8b
Title: Building package 'sqlite3.45.3' for Tcl 8 on TCL 9 source
Type: Bug Created on: 2024-08-28 20:01:17
Submitter: mookie Assigned to: jan.nijtmans
Subsystem: 69. Other Severity: Cosmetic
Priority: 5 Medium Last modified: 2024-08-29 11:04:24
Status: Closed Closed by: jan.nijtmans
Resolution: Invalid Closed on: 2024-08-29 11:04:24
Version: 9.x
Description:
Hi, I've noticed that when compiling 9.0b2 via source, that during the phase of building sqlite, it displays "for TCL 8"

Message Block:

    Building package 'sqlite3.45.3' for Tcl 8
    echo "#define SQLITE3_VERSION_UUID \\" >sqlite3Uuid.h
    cat /srv/~scrap/tcl9.0b2/pkgs/sqlite3.45.3/manifest.uuid >>sqlite3Uuid.h
    echo "" >>sqlite3Uuid.h

This message is located at: unix/Makefile - line: 2065
User Comments:
oehhar added on 2024-08-29 07:41:54:

Yes, b2 and b3 have in /unix/Makefile.in has the following:

2065: echo "Building package '$$pkg' for Tcl 8"; \
2080: echo "Installing package '$$pkg' for Tcl 8"; \

I am not at all involved in the unix make system. Proposed fix is in checkin [ad85f60c42] in branch [6a9a2ccf-unix-makefile-output-tcl8].

A unix Wizard may just merge this to the main branch.

Thank you to make tcl 9 even better !

Harald


jan.nijtmans added on 2024-08-29 11:04:24:

This correct, and as intended. SQLite is compiled twice, once for Tcl 8 and after that for Tcl 9. Both are installed in the same directory, but with non-conflicting filenames. Note the "PKG(8)_DIR" making the difference.

See TIP #628

This is a feature, not a bug.