Mailinglist Archive: opensuse-buildservice (269 mails)

< Previous Next >
Re: [opensuse-buildservice] FC workers produce i586 rpms, OS 11 produce i386!!
  • From: Anas Nashif <nashif@xxxxxxxxxxxxxxx>
  • Date: Wed, 03 Sep 2008 09:51:32 -0400
  • Message-id: <48BE9664.7040408@xxxxxxxxxxxxxxx>

Meanwhile I manage it to narrow it down to how rpm detects the cpu and it seems it detects the cpu in the workers as pentium3 although it is a Xeon E5450 (Harpertown). (the function is_pentium3() in rpmrc.c which uses cpuid always returns 1 on this specific cpu)

So it not related to the distribution. I happen to have opensuse installed on all new hardware and some fedora worker on older hardware.

I am not sure it is the right solution, but to make worker build the way I want, I changed the bs_worker code to start the build process with --target, i.e. add the line

push @args, '--target', $arch;

to the list of arguments for starting the build. This always works, never mind what rpm thinks my cpu is.


Adrian Schröter wrote:
On Dienstag 02 September 2008 14:17:10 Anas Nashif wrote:
I am noticing a strange behavior of workers running on different
distributions. Workers running on opensuse 11 produce *.i386.rpm
packages while workers running on fedora produce *.i586.rpm (the
expected result).
Local builds on the OBS server produce the expected i586 rpms, but using
local builds on one of the opensuse 11 workers which has a minimal
installation produces i386 rpms.

Any hint on what might be the problem or the cause and how to fix it?

IIRC this definition comes from the macros from rpm package in /usr/lib/rpm , if no overwrite was given on command line.

Do you have a changed rpm package or an overwrite in your project config ? Do you see any suspicious rpmbuild command line parameter ?

check also /etc/rpm in your build enviroment.

sorry, no better ideas yet.

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

< Previous Next >