Linux console tools development discussion
 help / color / mirror / Atom feed
From: Marty Jack <martyj19@comcast.net>
To: kbd@lists.altlinux.org
Subject: [kbd] [PATCH] Install fails due to attempt to apply "install -s" to a shell script
Date: Thu, 21 Feb 2008 09:36:55 -0500
Message-ID: <47BD8C87.4080702@comcast.net> (raw)

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



             reply	other threads:[~2008-02-21 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21 14:36 Marty Jack [this message]
2008-02-21 15:07 ` Alexey Gladkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47BD8C87.4080702@comcast.net \
    --to=martyj19@comcast.net \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git