ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] File path component must be directory (installer-hpc-0.3-alt2: i586 rebuild failed)
Date: Mon, 7 Apr 2008 13:07:23 +0400
Message-ID: <20080407090723.GN14175@solemn.turbinal> (raw)
In-Reply-To: <20080407061644.D1543151C80E@granary.armor.altlinux.org>

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

On Mon, Apr 07, 2008 at 10:16:44AM +0400, QA Team Robot wrote:
> Package: installer-hpc-0.3-alt2
> Packager: Stanislav Ievlev <inger@altlinux>
> Status: i586 rebuild failed.

> RPM build errors:
> error: File path component must be directory (/usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA): /usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA/basesystem.html
> error: File path component must be directory (/usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA): /usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA/network.html
> error: File path component must be directory (/usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA): /usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA/time.html
> error: File path component must be directory (/usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA): /usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA/user.html

Здесь ru_UA является симлинком на ru_RU:

[builder@people ~]$ ls -dl /usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA
lrwxrwxrwx 1 builder builder 5 Apr  7 13:00 /usr/src/tmp/installer-hpc-buildroot/usr/share/alterator/help/ru_UA -> ru_RU
[builder@people ~]$ 

Но этот симлинк пытаются использовать в качестве каталога, чтобы
запаковать файлы под этим каталогом:

%files
%_datadir/alterator/help/*/*

То есть этот глоб глобит симлинк ru_UA как каталог, и в результате
до последнего времени вместо симлинка это дело паковалось в количестве
двух штук.

[at@people ~]$ rpm -qlvp /ALT/Sisyphus/files/noarch/RPMS/installer-hpc-0.3-alt2.noarch.rpm 
-rw-r--r--    1 root    root              972 Mar  3 18:10 /usr/share/alterator/help/ru_RU/basesystem.html
-rw-r--r--    1 root    root             3032 Mar  3 18:10 /usr/share/alterator/help/ru_RU/network.html
-rw-r--r--    1 root    root             1387 Mar  3 18:10 /usr/share/alterator/help/ru_RU/time.html
-rw-r--r--    1 root    root             1223 Mar  3 18:10 /usr/share/alterator/help/ru_RU/user.html
-rw-r--r--    1 root    root              972 Mar  3 18:10 /usr/share/alterator/help/ru_UA/basesystem.html
-rw-r--r--    1 root    root             3032 Mar  3 18:10 /usr/share/alterator/help/ru_UA/network.html
-rw-r--r--    1 root    root             1387 Mar  3 18:10 /usr/share/alterator/help/ru_UA/time.html
-rw-r--r--    1 root    root             1223 Mar  3 18:10 /usr/share/alterator/help/ru_UA/user.html
[at@people ~]$ 

А теперь такой фокус больше не проходит.

Думаю что исправление может иметь вид
-%_datadir/alterator/help/*/*
+%_datadir/alterator/help/*

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

       reply	other threads:[~2008-04-07  9:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-07  9:07 ` Alexey Tourbin [this message]
2008-04-08  6:33   ` Stanislav Ievlev

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=20080407090723.GN14175@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