ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] shell.req
@ 2012-08-27 13:39 Denis Kuznetsov
  2012-08-27 15:56 ` Alexey Tourbin
  0 siblings, 1 reply; 6+ messages in thread
From: Denis Kuznetsov @ 2012-08-27 13:39 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Доброго времени суток.
Решил попробовать собрать zfs. Сборка завершается с ошибкой:

/home/kde/tmp/zfs-buildroot/usr/bin/zpool_layout: line 176: syntax error 
near unexpected token `('
/home/kde/tmp/zfs-buildroot/usr/bin/zpool_layout: line 176: `            
ls ${LABEL}-+([0-9a-f])-switch-port:${p}-slot:+([0-9]) \'
shell.req: ERROR: /home/kde/tmp/zfs-buildroot/usr/bin/zpool_layout: 
/bin/bash --rpm-requires failed
find-requires: ERROR: /usr/lib/rpm/shell.req failed
ошибка: /bin/sh не удалось
ошибка: Невозможно найти Requires


Собственно что в скрипте.
167 # Generate channel/disk layout table for comment header.
168 print_channel_layout() {
169     pushd ${DEV_DISK_DIR} >/dev/null
170     echo "# ----------------- Channel/Disk Layout -------------------"
171     echo "# Channel  Disks"
172     if [ ${TOPOLOGY} = "switch" ] ; then
173         for (( i=0; i<${#SWITCH_PORTS[*]}; i++ )); do
174             printf "# %-9s" ${CHANNELS[$i]}
175             p=${SWITCH_PORTS[$i]}
176             ls ${LABEL}-+([0-9a-f])-switch-port:${p}-slot:+([0-9]) \
177                 2>/dev/null | cut -f3 -d':' | sort -u -n | \
178                 xargs | tr ' ' ','
179         done
180     else
181         for (( i=0, k=0; i<${#BUSES[*]}; i++ )); do
182             for (( j=0; j<${#HOST_PORTS[*]}; j++, k++ )); do
183                 printf "# %-9s" ${CHANNELS[$k]}
184                 ls *:${BUSES[$i]}:*:${HOST_PORTS[$j]}* \
185                     2>/dev/null | cut -f7 -d'-' | \
186                     sort -u -n | xargs | tr ' ' ','
187             done
188         done
189     fi
190     echo "#"
191     popd > /dev/null
192 }
193

Собственно вопрос как всегда, куда копать?

-- 
Denis Kuznetsov
mail:   kde{at}kde.kiev.ua
gtalk: kde{at}kde.kiev.ua



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

end of thread, other threads:[~2012-08-28  7:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-27 13:39 [sisyphus] shell.req Denis Kuznetsov
2012-08-27 15:56 ` Alexey Tourbin
2012-08-27 19:19   ` Denis Kuznietsov
2012-08-27 21:17     ` Dmitry V. Levin
2012-08-28  6:46         ` [sisyphus] bash Alexey Tourbin
2012-08-28  7:14           ` Denis Kuznetsov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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