[kbd] [PATCH] Install fails due to attempt to apply "install -s" to a shell script

Marty Jack martyj19 at comcast.net
Thu Feb 21 17:36:55 MSK 2008


In 1.14 and 1.14.1wip, install fails with the following error:

install -s -m 0755 dumpkeys loadkeys showkey setfont showconsolefont setleds setmetamode kbd_mode chvt deallocvt psfxtable kbdrate fgconsole openvt mapscrn loadunimap unicode_start unicode_stop /usr/bin
strip: /usr/bin/unicode_start: File format not recognized
install: strip process terminated abnormally

The coreutils that is supplying install is version 6.10.  It is unknown to me whether other versions also fail.

The following patch corrects the problem.

diff -Naur kbd-1.14.1wip.orig/src/Makefile.in kbd-1.14.1wip/src/Makefile.in
--- kbd-1.14.1wip.orig/src/Makefile.in	2008-02-06 19:10:09.000000000 -0500
+++ kbd-1.14.1wip/src/Makefile.in	2008-02-21 08:56:33.000000000 -0500
@@ -50,7 +50,8 @@
 
 install: all
 	install -d -m 0755 $(bindir)
-	install -s -m 0755 $(PROGS) $(OLDPROGS) $(SHCMDS) $(bindir)
+	install -s -m 0755 $(PROGS) $(OLDPROGS) $(bindir)
+	install -m 0755 $(SHCMDS) $(bindir)
 	for i in psfaddtable psfgettable psfstriptable; do \
 		rm -f $(bindir)/$$i; ln -s psfxtable $(bindir)/$$i; \
 	done




More information about the kbd mailing list