Skip to content
Tcl Source Code History Of Ticket 3490157
Login

History Of Ticket 3490157

Artifacts Associated With Ticket 3490157

  1. Ticket change [cf7d0078fa] (rid 112987) by pooryorick on 2012-02-21 18:34:28:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      the install-libraries target uses ranlib on the file after it has been installed read-only, causing a failure when installation is done as a non-root user.  The fix below simply removes the ranlib calls.  Assuming that no modern linker out there is comparing the timestamp of the symbol table in the archive with the file mtime, this should work.  If it is still necessary to support linkers that do that, the Makefile would need to be modified to not remove write permissions until the ranlib step is done.
      
      --- Makefile.in 2012-02-20 14:39:38.000000000 -0500
      +++ Makefile.in.new     2012-02-21 12:09:23.000000000 -0500
      @@ -136,7 +136,6 @@
       install-package: package
              @mkdir -p $(DESTDIR)$(pkglibdir)
              $(INSTALL_PROGRAM) $(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)
      -       $(RANLIB) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)
              $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)/pkgIndex.tcl
              $(INSTALL_DATA) tclooConfig.sh $(DESTDIR)$(pkglibdir)/tclooConfig.sh
       #      for p in $(SRC_DIR)/library/*.tcl ; do \
      @@ -163,8 +162,7 @@
       install-libraries: libraries
              @echo "Installing $(PKG_STUB_LIB_FILE) in $(DESTDIR)$(pkglibdir)"
              @mkdir -p $(DESTDIR)$(pkglibdir)
      -       $(INSTALL_PROGRAM) $(PKG_STUB_LIB_FILE) $(DESTDIR)$(pkglibdir)
      -       $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$(PKG_STUB_LIB_FILE)
      +       $(INSTALL_DATA) $(PKG_STUB_LIB_FILE) $(DESTDIR)$(pkglibdir)
       
       #========================================================================
       # Install documentation. Unix manpages should go in the $(mandir) directory.
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pooryorick"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "ranlib after install with read-only permissions"
    12. type initialized to: "Bug"
  2. Ticket change [1abdd46033] (rid 123034) by dkf on 2012-02-22 03:54:36:

    1. closedate changed to: "2012-02-21T20:54:36"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"
  3. Ticket change [f68f335bfb] (rid 130323) by dkf on 2012-02-22 03:56:01:

    1. icomment:
      Fixed. It was just something cargo-culted in from somewhere else. (Maybe Tile? Maybe sampleextension?) It didn't need to be done either, as ranlib's done during the build phase.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"