Bug 5272 - Wrong --build setting in %_configure_target
Summary: Wrong --build setting in %_configure_target
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
Depends on:
Reported: 2004-10-04 02:01 MSD by Sir Raorn
Modified: 2021-10-03 08:58 MSK (History)
10 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2004-10-04 02:01:10 MSD
--build should be set to %{_host_alias} (i586-alt-linux) instead of

We are building everything on THIS machine, for which _target_platform was set
at rpm's build time, so now it's _host_alias. _target_platform depends on
--target argument to rpmbuild and can even be set to ``noarch-alt-linux''...
Comment 1 Dmitry V. Levin 2004-10-31 17:06:27 MSK
$ rpm --showrc |fgrep _alias
-14: _build_alias       %{_host_alias}
-14: _host_alias        i586-alt-linux%{nil}
-14: _target_alias      %{_host_alias}

Maybe we should change _target_alias and use these macros instead?
Comment 2 Jeff Johnson 2012-01-03 03:14:20 MSK
tracked at https://bugs.launchpad.net/rpm/+bug/911026