From: Led <ledest@gmail.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] BuildConflicts?
Date: Tue, 29 May 2007 16:36:17 +0300
Message-ID: <200705291636.17927.ledest@gmail.com> (raw)
In-Reply-To: <200705291629.08001.icesik@mail.ru>
В сообщении от Tuesday 29 May 2007 16:29:06 Igor Zubkov написал(а):
> В сообщении от Tuesday 29 May 2007 15:02:59 Alexey Rusakov написал(а):
> > > Стало в gnome-mime-data-2.18.0:
> > > ./configure \
> > > --prefix=%{_prefix} \
> > > --exec-prefix=%{_exec_prefix} \
> > > --bindir=%{_bindir} \
> > > --sbindir=%{_sbindir} \
> > > --sysconfdir=%{_sysconfdir} \
> > > --datadir=%{_datadir} \
> > > --includedir=%{_includedir} \
> > > --libdir=%{_libdir} \
> > > --libexecdir=%{_libexecdir} \
> > > --localstatedir=%{_localstatedir} \
> > > --sharedstatedir=%{_sharedstatedir} \
> > > --mandir=%{_mandir} \
> > > --infodir=%{_infodir} \
> > > --disable-dependency-tracking \
> > > --without-included-gettext
> > >
> > > Т.е. я банально расскрыл макрос %configure.
> >
> > Не совсем банально, и в этом корень зла. Расскажи публике, в чём разница
> > :)
>
> Оригиналный %configure максов выглядит вот так:
> %_configure_script ./configure
> %_configure_target --build=%{_target_platform}
> --host=%{_target_platform} %_configure_gettext
> --without-included-gettext
> %configure \
> CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
> CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
> FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
> %{?_disable_static:export lt_cv_prog_cc_static_works=no ;} \
> %{?_enable_static:export lt_cv_prog_cc_static_works=yes ;} \
> export lt_cv_deplibs_check_method=pass_all ; \
> %{?__libtoolize:[ -f configure.ac -o -f configure.in ]
> && %{__libtoolize} --copy --force ;} \
> %{_configure_script} %{?_configure_target:%{_configure_target}} \\\
> --prefix=%{_prefix} \\\
> --exec-prefix=%{_exec_prefix} \\\
> --bindir=%{_bindir} \\\
> --sbindir=%{_sbindir} \\\
> --sysconfdir=%{_sysconfdir} \\\
> --datadir=%{_datadir} \\\
> --includedir=%{_includedir} \\\
> --libdir=%{_libdir} \\\
> --libexecdir=%{_libexecdir} \\\
> --localstatedir=%{_localstatedir} \\\
> --sharedstatedir=%{_sharedstatedir} \\\
> --mandir=%{_mandir} \\\
> --infodir=%{_infodir} \\\
> --disable-dependency-tracking \\\
> %{?_configure_gettext:%{_configure_gettext}}
>
> Т.е. я расскрыл этот макрос и убрал из
> него --build=%{_target_platform} --host=%{_target_platform}
>
> Это надо для того что бы не было вот такого:
> checking build system type... Invalid configuration `noarch-alt-linux':
> machine `noarch-alt' not recognized
> configure: error: /bin/sh ./config.sub noarch-alt-linux failed
> ошибка: Неверный код возврата из /home/icesik/tmp/rpm-tmp.15143 (%build)
Может лучше configure*/config.sub подправить?
___
Led
next prev parent reply other threads:[~2007-05-29 13:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-28 22:20 Alexey Rusakov
2007-05-28 22:28 ` Dmitry V. Levin
2007-05-29 10:06 ` Igor Zubkov
2007-05-29 12:02 ` Alexey Rusakov
2007-05-29 13:29 ` Igor Zubkov
2007-05-29 13:36 ` Led [this message]
2007-05-29 18:39 ` Alexey Rusakov
2007-05-29 13:59 ` Sergey Vlasov
2007-06-10 13:59 ` Igor Zubkov
2007-05-29 13:59 ` Dmitry V. Levin
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=200705291636.17927.ledest@gmail.com \
--to=ledest@gmail.com \
--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