Skip to content
Tcl Source Code History Of Ticket cb458261c3
Login

History Of Ticket cb458261c3

Artifacts Associated With Ticket cb458261c3

  1. Ticket change [b856ada318] (rid 187800) by stu on 2020-10-18 09:05:36:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The install-strip target hasn't been right for a long time.
      Library stripping was even removed in checkin [517d7010fc] due to problems.
      
      The way to do it is to set the STRIPPROG env var,
      similar to how the CPPROG env var is set for DIST_INSTALL_*.
      
      This way, install-sh can simply be updated from
      [https://git.savannah.gnu.org/cgit/automake.git/tree/lib/install-sh]
      without having to fiddle with it, which is wrong anyway,
      since passing strip options to any install probably won't work ... anywhere?
      
      Latest version of install-sh is 2020-07-26.22.
      
      I think this will still need to be tested to vis-a-vis [517d7010fc]
      to see what effect it has on that problem.
      
      The Makefile.in patch would look like this:
      
      -INSTALL_PROGRAM="$(INSTALL_PROGRAM) ${INSTALL_STRIP_PROGRAM}" \
      -INSTALL_LIBRARY="$(INSTALL_LIBRARY) ${INSTALL_STRIP_LIBRARY}"
      +INSTALL_PROGRAM="STRIPPROG='strip ${INSTALL_STRIP_PROGRAM}' $(INSTALL_PROGRAM) -s" \
      +INSTALL_LIBRARY="STRIPPROG='strip ${INSTALL_STRIP_LIBRARY}' $(INSTALL_LIBRARY) -s"
      
    5. is_private initialized to: "0"
    6. login: "stu"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Important"
    10. status initialized to: "Open"
    11. submitter initialized to: "stu"
    12. subsystem initialized to: "53. Configuration and Build Tools"
    13. title initialized to: "Strip comme il faut"
    14. type initialized to: "Bug"
  2. Ticket change [d574ba497c] (rid 187815) by stu on 2020-10-19 06:11:35:

    1. assignee changed to: "jan.nijtmans"
    2. login: "stu"
    3. mimetype: "text/plain"
  3. Ticket change [df41cc4b55] (rid 187820) by jan.nijtmans on 2020-10-19 07:48:38:

    1. closedate changed to: "2459141.82545134"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Thank you for your suggestion!
      
      Well, I tried your patch with the MacOS build, and it didn't work. Whatever the problem, we cannot get rid of the '-S' option in 'install-sh' anyway, because the same 'install-sh' is used in TEA as well. External Makefile depend on it, we cannot force external packages doing an upgrade to change their Makefile.in too.
      
      Better idea would be to submit the '-S' modification to the GNU 'automake' project. I'll see what I can do (unless you want to do it ....)
      
      I upgraded 'install-sh' to the latest version now, but re-added the '-S' option.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. severity changed to: "Minor"
    8. status changed to: "Closed"
  4. Ticket change [57dd0cc97a] (rid 187824) by stu on 2020-10-19 12:07:42:

    1. closer changed to: "nobody"
    2. icomment:
      Could you please try again but also change this?
      
      -INSTALL_STRIP_LIBRARY	= -S -x
      +INSTALL_STRIP_LIBRARY	= -x
      
    3. login: "stu"
    4. mimetype: "text/plain"
    5. resolution changed to: "Rejected"
    6. status changed to: "Open"
  5. Ticket change [4672ec2912] (rid 187825) by stu on 2020-10-19 12:13:29:

    1. icomment:
      Also maybe this change as well, since -s is the default.
      
      -INSTALL_STRIP_PROGRAM	= -s
      +INSTALL_STRIP_PROGRAM	=
      
    2. login: "stu"
    3. mimetype: "text/plain"
  6. Ticket change [cc2ef33e42] (rid 187828) by jan.nijtmans on 2020-10-19 12:34:42:

    1. icomment:
      Ok, thanks! With this additional changes it appears to work.
      
      Committed to a bug-fix branch now. Let's see if Travis agrees.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Pending"
  7. Ticket change [cdb4e28151] (rid 188544) by stu on 2020-11-14 18:27:07:

    1. icomment: "How is this looking to you?"
    2. login: "stu"
    3. mimetype: "text/plain"
  8. Ticket change [7af4252178] (rid 188694) by jan.nijtmans on 2020-11-18 16:25:41:

    1. icomment:
      Fixed now in [https://core.tcl-lang.org/tk/info/e3fe3bec53|e3fe3bec53], but in a different way: install-sh is upgraded (as you suggested), but the Tcl-specific tweak is re-added (for compatibility with extensions with still might use it). However in the MacOS GNUMakefile, "strip-install" is no longer used. This fixes the problem on MacOS too.
      
      I think that's the best we can do for now.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  9. Ticket change [348932eb09] (rid 188695) by jan.nijtmans on 2020-11-18 16:27:26:

    1. closedate changed to: "2459172.18572392"
    2. closer changed to: "jan.nijtmans"
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"
    5. status changed to: "Closed"