Adrian Schröter wrote:
Am Montag, 12. April 2010 22:27:53 schrieb Jan Engelhardt: ...
diff --git a/src/backend/bs_worker b/src/backend/bs_worker index 6feb6bd..f779e37 100755 --- a/src/backend/bs_worker +++ b/src/backend/bs_worker ... @@ -1393,6 +1394,8 @@ sub dobuild { push @args, '--release', "$release" if defined $release; push @args, '--debug' if $buildinfo->{'debuginfo'}; push @args, '--arch', $arch; + # target can be different from arch (e.g. target=sparcv9, arch=sparc64) + push @args, '--target', $target; push @args, '--jobs', $jobs if $jobs; push @args, '--reason', "Building $buildinfo->{'package'} for project '$projid' repository '$repoid' arch '$arch' srcmd5 '$buildinfo->{'srcmd5'}'"; push @args, '--disturl', $disturl;
This can have been side effects. Michael mumbled something about buggy rpm versions in some distros. You may want to make this for sparc only for now.
There's a hack for ARM in the build script, it looks at 'changetarget' in prjconf in order to define the target I think. Maybe that feature could be used here too. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org