Skip to content
Tcl Source Code Artifact [cf7d0078fa]
Login

Artifact [cf7d0078fa]

Artifact cf7d0078fad10380dd180d4941c989a7422abb8c:

Ticket change [cf7d0078fa] - New ticket [3490157fffffffff|3490157fff] <i>ranlib after install with read-only permissions</i>. by pooryorick on 2012-02-21 18:34:28.
D 2012-02-21T18:34:28
J assignee dkf
J cmimetype text/plain
J comment the\sinstall-libraries\starget\suses\sranlib\son\sthe\sfile\safter\sit\shas\sbeen\sinstalled\sread-only,\scausing\sa\sfailure\swhen\sinstallation\sis\sdone\sas\sa\snon-root\suser.\s\sThe\sfix\sbelow\ssimply\sremoves\sthe\sranlib\scalls.\s\sAssuming\sthat\sno\smodern\slinker\sout\sthere\sis\scomparing\sthe\stimestamp\sof\sthe\ssymbol\stable\sin\sthe\sarchive\swith\sthe\sfile\smtime,\sthis\sshould\swork.\s\sIf\sit\sis\sstill\snecessary\sto\ssupport\slinkers\sthat\sdo\sthat,\sthe\sMakefile\swould\sneed\sto\sbe\smodified\sto\snot\sremove\swrite\spermissions\suntil\sthe\sranlib\sstep\sis\sdone.\n\n---\sMakefile.in\s2012-02-20\s14:39:38.000000000\s-0500\n+++\sMakefile.in.new\s\s\s\s\s2012-02-21\s12:09:23.000000000\s-0500\n@@\s-136,7\s+136,6\s@@\n\sinstall-package:\spackage\n\s\s\s\s\s\s\s\s@mkdir\s-p\s$(DESTDIR)$(pkglibdir)\n\s\s\s\s\s\s\s\s$(INSTALL_PROGRAM)\s$(PKG_LIB_FILE)\s$(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)\n-\s\s\s\s\s\s\s$(RANLIB)\s$(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)\n\s\s\s\s\s\s\s\s$(INSTALL_DATA)\spkgIndex.tcl\s$(DESTDIR)$(pkglibdir)/pkgIndex.tcl\n\s\s\s\s\s\s\s\s$(INSTALL_DATA)\stclooConfig.sh\s$(DESTDIR)$(pkglibdir)/tclooConfig.sh\n\s#\s\s\s\s\s\sfor\sp\sin\s$(SRC_DIR)/library/*.tcl\s;\sdo\s\\\n@@\s-163,8\s+162,7\s@@\n\sinstall-libraries:\slibraries\n\s\s\s\s\s\s\s\s@echo\s"Installing\s$(PKG_STUB_LIB_FILE)\sin\s$(DESTDIR)$(pkglibdir)"\n\s\s\s\s\s\s\s\s@mkdir\s-p\s$(DESTDIR)$(pkglibdir)\n-\s\s\s\s\s\s\s$(INSTALL_PROGRAM)\s$(PKG_STUB_LIB_FILE)\s$(DESTDIR)$(pkglibdir)\n-\s\s\s\s\s\s\s$(RANLIB_STUB)\s$(DESTDIR)$(pkglibdir)/$(PKG_STUB_LIB_FILE)\n+\s\s\s\s\s\s\s$(INSTALL_DATA)\s$(PKG_STUB_LIB_FILE)\s$(DESTDIR)$(pkglibdir)\n\s\n\s#========================================================================\n\s#\sInstall\sdocumentation.\sUnix\smanpages\sshould\sgo\sin\sthe\s$(mandir)\sdirectory.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter pooryorick
J subsystem 35.\sTclOO\sPackage
J title ranlib\safter\sinstall\swith\sread-only\spermissions
J type Bug
K 3490157fffffffffffffffffffffffffffffffff
U pooryorick
Z 8c013ac2c1eaa2b8537c4e74472c80b6