* [devel] File path component must be directory (installer-hpc-0.3-alt2: i586 rebuild failed)
@ 2008-04-07 9:07 ` Alexey Tourbin
2008-04-08 6:33 ` Stanislav Ievlev
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2008-04-07 9:07 UTC (permalink / raw)
To: devel
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] File path component must be directory (installer-hpc-0.3-alt2: i586 rebuild failed)
2008-04-07 9:07 ` [devel] File path component must be directory (installer-hpc-0.3-alt2: i586 rebuild failed) Alexey Tourbin
@ 2008-04-08 6:33 ` Stanislav Ievlev
0 siblings, 0 replies; 2+ messages in thread
From: Stanislav Ievlev @ 2008-04-08 6:33 UTC (permalink / raw)
To: ALT Linux Team development discussions
В последней версии вроде как я избавился от этой проблемы ;)
On Mon, Apr 07, 2008 at 01:07:23PM +0400, Alexey Tourbin wrote:
> 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/*
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-08 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07 9:07 ` [devel] File path component must be directory (installer-hpc-0.3-alt2: i586 rebuild failed) Alexey Tourbin
2008-04-08 6:33 ` Stanislav Ievlev
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