From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 X-Authority-Analysis: v=1.0 c=1 a=puJnZKdGtSAA:10 a=cUTpVy7XU-V42C-wD9sA:9 a=fVdlmLsItzmGwR4Vs0kA:7 a=f9uVPO8v17s0LDiXyEWlvm_FOxYA:4 a=5WZzfXpOq_gA:10 Message-ID: <47BD8C87.4080702@comcast.net> Date: Thu, 21 Feb 2008 09:36:55 -0500 From: Marty Jack User-Agent: Thunderbird 2.0.0.9 (X11/20071113) MIME-Version: 1.0 To: kbd@lists.altlinux.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [kbd] [PATCH] Install fails due to attempt to apply "install -s" to a shell script X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2008 14:38:10 -0000 Archived-At: List-Archive: 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