Artifacts Associated With Ticket cb458261c3aa62ca
Ticket change [b856ada318] (rid 187800) by stu on 2020-10-18 09:05:36:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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" - is_private initialized to: "0"
- login: "stu"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "stu"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "Strip comme il faut"
- type initialized to: "Bug"
Ticket change [d574ba497c] (rid 187815) by stu on 2020-10-19 06:11:35:
- assignee changed to: "jan.nijtmans"
- login: "stu"
- mimetype: "text/plain"
Ticket change [df41cc4b55] (rid 187820) by jan.nijtmans on 2020-10-19 07:48:38:
- closedate changed to: "2459141.82545134"
- closer changed to: "jan.nijtmans"
- 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.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- severity changed to: "Minor"
- status changed to: "Closed"
Ticket change [57dd0cc97a] (rid 187824) by stu on 2020-10-19 12:07:42:
- closer changed to: "nobody"
- icomment:
Could you please try again but also change this? -INSTALL_STRIP_LIBRARY = -S -x +INSTALL_STRIP_LIBRARY = -x
- login: "stu"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Open"
Ticket change [4672ec2912] (rid 187825) by stu on 2020-10-19 12:13:29:
- icomment:
Also maybe this change as well, since -s is the default. -INSTALL_STRIP_PROGRAM = -s +INSTALL_STRIP_PROGRAM =
- login: "stu"
- mimetype: "text/plain"
- icomment:
Ticket change [cc2ef33e42] (rid 187828) by jan.nijtmans on 2020-10-19 12:34:42:
- icomment:
Ok, thanks! With this additional changes it appears to work. Committed to a bug-fix branch now. Let's see if Travis agrees.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- icomment:
Ticket change [cdb4e28151] (rid 188544) by stu on 2020-11-14 18:27:07:
- icomment: "How is this looking to you?"
- login: "stu"
- mimetype: "text/plain"
Ticket change [7af4252178] (rid 188694) by jan.nijtmans on 2020-11-18 16:25:41:
- 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.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [348932eb09] (rid 188695) by jan.nijtmans on 2020-11-18 16:27:26:
- closedate changed to: "2459172.18572392"
- closer changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
- status changed to: "Closed"