Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH 4/6] obs-server, webui: update SPARC definitions
  • From: Martin Mohring <martin.mohring@xxxxxxxxxxxx>
  • Date: Tue, 13 Apr 2010 14:04:01 +0200
  • Message-id: <4BC45DB1.6090509@xxxxxxxxxxxx>
Ludwig Nussel wrote:
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


This is not a hack, it is due to the behavior of rpm. We found no other
way working with all rpm versions to handle this. And: the problem
solved with this is not limited to ARM.

Martin

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups