Mailinglist Archive: opensuse-buildservice (287 mails)

< Previous Next >
Re: [opensuse-buildservice] Odd value for 'uname -p' in build service?
  • From: Andrew Beekhof <abeekhof@xxxxxxx>
  • Date: Tue, 25 Sep 2007 10:13:10 +0200
  • Message-id: <CE74A0B6-B05E-49D9-9E6E-B2E1316C96F3@xxxxxxx>

On Sep 24, 2007, at 5:58 PM, Bernhard Walle wrote:

* Marcus Rueckert <mrueckert@xxxxxxx> [2007-09-24 17:30]:
On 2007-09-24 15:48:26 +0200, Andrew Beekhof wrote:
In a recent build of:
    http://build.opensuse.org/package/live_build_log?
arch=i586&project=server%3Aha-
clustering&repository=Mandriva_2006&package=openais

'uname -p' expanded into "Dual-Core AMD Opteron(tm) Processor 8214"
and broke the makefile (due to various quoting issues)

Is such a value to be expected?
Should I perhaps be using 'uname -i' instead if I'm looking for i386/
x86_64/... ?

slackware has a similar issue.

uname -p on suse just reports x86_64

Yes, but you cannot rely on this:

    $ linux32 uname -p
    athlon

"uname -i" should be used for this since it prints i386 and not i586
or i686 on IA32.

apparently -m/-i/-p _all_ print the above string... groan

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

< Previous Next >
Follow Ups