ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] jakarta-commons-latka-0:1.0-alt2_0.r389670.2jpp1.7
Date: Tue, 11 Sep 2007 20:43:28 +0400
Message-ID: <20070911164328.GP6051@solemn.turbinal> (raw)

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

> jakarta-commons-latka-0:1.0-alt2_0.r389670.2jpp1.7
> 	find-requires: running scripts
> 	(files,lib,pam,perl,pkgconfig,python,shebang,shell,static,symlinks,tcl)
> 	/usr/src/tmp/jakarta-commons-latka-buildroot/usr/share/jakarta-commons-latka-1.0/bin/latka.sh:
> 	line 19: syntax error near unexpected token `do\r'
> 	/usr/src/tmp/jakarta-commons-latka-buildroot/usr/share/jakarta-commons-latka-1.0/bin/latka.sh:
> 	line 19: `do\r'
> 	error: /bin/sh failed
> 	error: Failed to find Requires
> 	RPM build errors:

Это чистый #!/bin/sh скрипт, в котором досовские окончания строк \r\n.
Именно из-за этого шелл не может его распарсить.

Раньше зависимости в этом скрипте не искались, потому что он не
исполняемый.  Теперь зависимости ищутся во всех шелл-скриптах -- как
исполняемых, так и не исполняемых (rationale: нельзя отличить скрипт
от библиотеки шелл-функций, которая подключается через "." или source).

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2007-09-11 16:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 16:43 Alexey Tourbin [this message]
2007-09-11 16:55 ` Led
2007-09-11 17:14   ` [devel] shell dependencies Alexey Tourbin
2007-09-11 17:19   ` [devel] jakarta-commons-latka-0:1.0-alt2_0.r389670.2jpp1.7 Alexey I. Froloff
2007-09-11 17:27     ` Led
2007-09-11 19:20       ` Alexey Tourbin
2007-09-11 19:55         ` Led
2007-09-11 20:09           ` Alexey Tourbin
2007-09-11 20:26             ` Led
2007-09-11 20:35               ` Alexey Tourbin
2007-09-16 21:36         ` [devel] AutoReq: yes, shell Michael Shigorin

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=20070911164328.GP6051@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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