From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: devel@altlinux.ru
Subject: Re: [devel] I: rpm4 & Co is available
Date: Tue, 13 Nov 2001 21:50:07 +0300
Message-ID: <20011113185006.GA5924@ldv.office.alt-linux.org> (raw)
In-Reply-To: <20011113183213.GA17506@voins.local>
[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]
On Tue, Nov 13, 2001 at 09:32:14PM +0300, Alexey Voinov wrote:
> > > 3. во всех файлах /usr/lib/rpm/%arch/macros присутствует строчка
> > > %vendor mandrake
> > > из-за чего получаем:
> > > + /usr/lib/rpm/find-lang apt
> > > + /usr/lib/rpm/brp-mandrake
> > > /home/voins/tmp/rpm-tmp.31678: /usr/lib/rpm/brp-mandrake: No such file or directory
> > > error: Bad exit status from /home/voins/tmp/rpm-tmp.31678 (%install)
> > У Вас rpm неправильной сборки.
> > Посмотрите пакет из Сизифа - там этого безобразия нет.
> пакет из сизифа. сегодня пересобрал и установил alt0.6 --- проблема осталась.
> Цитата из файла /usr/lib/rpm/i586-alt-linux/macros
>
> #==============================================================================
> # ---- per-platform macros.
> #
> %_arch i586
> %_vendor mandrake
> %_os linux
> %_gnu -gnu
> %_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
> %optflags %optflags_default -march=i586 -mcpu=i686
Дело в том, что %_vendor наследуется из текущей конфигурации системы.
Т. е. если у Вас однажды им стал mandrake, то это навсегда. :)
Способ это исправить:
--define '_vendor alt'
при сборке rpm.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.ru/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-11-13 18:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-09 16:39 Dmitry V. Levin
2001-11-09 16:38 ` Peter Novodvorsky
2001-11-10 11:48 ` Alexey Voinov
2001-11-10 13:13 ` Anton Farygin
2001-11-11 10:03 ` Alexey Voinov
2001-11-13 8:02 ` Dmitry V. Levin
2001-11-12 7:54 ` Dmitry V. Levin
2001-11-13 18:32 ` Alexey Voinov
2001-11-13 18:50 ` Dmitry V. Levin [this message]
2001-11-14 5:20 ` Alexey Voinov
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=20011113185006.GA5924@ldv.office.alt-linux.org \
--to=ldv@alt-linux.org \
--cc=devel@altlinux.ru \
--cc=devel@linux.iplabs.ru \
/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