[opensuse-buildservice] Odd value for 'uname -p' in build service?
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/... ? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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 -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* Marcus Rueckert
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. Thanks, Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sep 24, 2007, at 5:58 PM, Bernhard Walle wrote:
* Marcus Rueckert
[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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2007-09-25 10:13:10 +0200, Andrew Beekhof wrote:
apparently -m/-i/-p _all_ print the above string... groan
and this is /bin/uname? not a script somewhereelse in the $PATH? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* Marcus Rueckert
On 2007-09-25 10:13:10 +0200, Andrew Beekhof wrote:
apparently -m/-i/-p _all_ print the above string... groan
and this is /bin/uname? not a script somewhereelse in the $PATH?
Of course, on x86_64: $ /bin/uname -pim x86_64 x86_64 x86_64 Thanks, Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sep 25, 2007, at 11:33 AM, Marcus Rueckert wrote:
On 2007-09-25 10:13:10 +0200, Andrew Beekhof wrote:
apparently -m/-i/-p _all_ print the above string... groan
and this is /bin/uname? not a script somewhereelse in the $PATH?
correct --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sep 25, 2007, at 11:48 AM, Andrew Beekhof wrote:
On Sep 25, 2007, at 11:33 AM, Marcus Rueckert wrote:
On 2007-09-25 10:13:10 +0200, Andrew Beekhof wrote:
apparently -m/-i/-p _all_ print the above string... groan
and this is /bin/uname? not a script somewhereelse in the $PATH?
correct
sorry, just to reiterate... this is only for mandriva builds everything else behaves as expected stupid mandriva --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Andrew Beekhof
-
Bernhard Walle
-
Marcus Rueckert