|
2022-08-03
| ||
| 22:21 | • New ticket [d3465c9188] Update install-sh to version "2020-11-14.01; # UTC&... artifact: b04fd8a858 user: stu | |
|
2020-11-18
| ||
| 16:27 | • Closed ticket [cb458261c3]: Strip comme il faut plus 4 other changes artifact: 348932eb09 user: jan.nijtmans | |
| 16:25 | • Ticket [cb458261c3]: 3 changes artifact: 7af4252178 user: jan.nijtmans | |
|
2020-11-14
| ||
| 18:27 | • Ticket [cb458261c3]: 3 changes artifact: cdb4e28151 user: stu | |
|
2020-10-19
| ||
| 12:34 | • Pending ticket [cb458261c3]. artifact: cc2ef33e42 user: jan.nijtmans | |
| 12:13 | • Ticket [cb458261c3]: 3 changes artifact: 4672ec2912 user: stu | |
| 12:07 | • Open ticket [cb458261c3]. artifact: 57dd0cc97a user: stu | |
| 07:48 | • Closed ticket [cb458261c3]. artifact: df41cc4b55 user: jan.nijtmans | |
| 07:21 | Fix [cb458261c3]: Strip comme il faut (without really doing 'il faut' ....). Update 'install-sh' to ... check-in: 541a872788 user: jan.nijtmans tags: core-8-6-branch | |
| 06:11 | • Ticket [cb458261c3] Strip comme il faut status still Open with 3 other chang... artifact: d574ba497c user: stu | |
|
2020-10-18
| ||
| 09:05 | • New ticket [cb458261c3]. artifact: b856ada318 user: stu | |
Strip comme il faut
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"
541a872788Fix [cb458261c3]: Strip comme il faut (without really doing 'il faut' ....). Update 'install-sh' to latest upstream version, but re-add this commit: [b269db5d3e97b67c] check-in2020-10-19 07:21:45
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.
Could you please try again but also change this? -INSTALL_STRIP_LIBRARY = -S -x +INSTALL_STRIP_LIBRARY = -x
Also maybe this change as well, since -s is the default. -INSTALL_STRIP_PROGRAM = -s +INSTALL_STRIP_PROGRAM =
Ok, thanks! With this additional changes it appears to work.
Committed to a bug-fix branch now. Let's see if Travis agrees.
How is this looking to you?
Fixed now in 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.