Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 42e2ef5a356fe7c09b7cb48957d68449d0c926955e342ffd836ebc1bb385499c
Ticket: 3d6d7523525d19ffe95109e08a90f2413c956f82
libraries not installed if configured with zipfs
User & Date: jan.nijtmans on 2024-10-17 13:24:43
Changes

  1. icomment:
    Looking at the log:
    <pre>
    find-debuginfo: starting
    Extracting debug info from 2 files
    objcopy: unable to copy file '/builddir/build/BUILD/tcl-9.0.0-build/BUILDROOT/usr/lib64/libtcl9.0.so'; reason: Permission denied
    objcopy: unable to copy file '/builddir/build/BUILD/tcl-9.0.0-build/BUILDROOT/usr/lib64/libtcl9.0.so'; reason: Permission denied
    DWARF-compressing 2 files
    </pre>
    My guess is that "find-debuginfo" strips the debug info from libtcl9.0.so. If it does, it will strip the attached zip-file as well.
    
    You can re-add the zip-file after this processing with something like:
    <pre>
    cat /builddir/build/BUILD/tcl-9.0.0-build/tcl9.0.0/unix/libtcl9.0.0.zip >>/builddir/build/BUILD/tcl-9.0.0-build/BUILDROOT/usr/lib64/libtcl9.0.so
    zip -A /builddir/build/BUILD/tcl-9.0.0-build/BUILDROOT/usr/lib64/libtcl9.0.so
    </pre>
    
    The first command appends the zip-file to the shared library. The second command updates the offsets.
    This zip-file contains the "init.tcl" and the other required files, so they don't need to be installed separately any more. They simply became part of libtcl9.0.so
    
    Hope this helps,
            Jan Nijtmans
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"