ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] jakarta-commons-latka-0:1.0-alt2_0.r389670.2jpp1.7
@ 2007-09-11 16:43 Alexey Tourbin
  2007-09-11 16:55 ` Led
  0 siblings, 1 reply; 11+ messages in thread
From: Alexey Tourbin @ 2007-09-11 16:43 UTC (permalink / raw)
  To: devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-09-16 21:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-11 16:43 [devel] jakarta-commons-latka-0:1.0-alt2_0.r389670.2jpp1.7 Alexey Tourbin
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

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