Bug 5272 - Wrong --build setting in %_configure_target
: Wrong --build setting in %_configure_target
Status: ASSIGNED
: Sisyphus
(All bugs in Sisyphus/rpm-build)
: unstable
: all Linux
: P2 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2004-10-04 02:01 by
Modified: 2013-08-15 16:30 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-10-04 02:01:10
--build should be set to %{_host_alias} (i586-alt-linux) instead of
%{_target_platform}.

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 From 2004-10-31 17:06:27 -------
$ 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 From 2012-01-03 03:14:20 -------
tracked at https://bugs.launchpad.net/rpm/+bug/911026