ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Stanislav Ievlev <inger@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] File path component must be directory (installer-hpc-0.3-alt2: i586 rebuild failed)
Date: Tue, 8 Apr 2008 10:33:53 +0400
Message-ID: <20080408063353.GB10018@imap.altlinux.org> (raw)
In-Reply-To: <20080407090723.GN14175@solemn.turbinal>

В последней версии вроде как я избавился от этой проблемы ;)

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



      reply	other threads:[~2008-04-08  6:33 UTC|newest]

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

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=20080408063353.GB10018@imap.altlinux.org \
    --to=inger@altlinux.org \
    --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