RPM

Wrong --build setting in %_configure_targe

Bug #911026 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
ALT Linux
In Progress
Low

Bug Description

Default values for AutoFu macro analogues.

Tags: macros alt
Revision history for this message
In , Alexey I. Froloff (raorn) wrote :

--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''...

Revision history for this message
In , Dmitry V. Levin (ldv) wrote :

$ 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?

Revision history for this message
In , Jeff Johnson (n3npq) wrote :
tags: added: alt macros
Changed in altlinux:
importance: Unknown → Low
status: Unknown → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.