pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37786: qemu configure fails



>Number:         37786
>Category:       pkg
>Synopsis:       qemu configure fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 17 11:42:09 +0000 2008
>Originator:     Ondrej Tuma
>Release:        current
>Organization:
Blackmouse
>Environment:
Linux ip1 2.6.20.1 #3 Thu Mar 8 18:42:01 CET 2007 i686 athlon-4 i386 GNU/Linux
>Description:
The problem is in athlon-4, resp. in patch-ag, that change line cpu=`uname -m` 
to +cpu=`uname -p`. But on Linux PC platform, uname-p could returns names of 
cpus such as athlon-4, pentium4 etc.
>How-To-Repeat:
bmake configure on platform, where uname -m returns name instead of processor
>Fix:
another idea for gets cpu in configure, may be like:

if [ os == 'Linux' ]; then
  cpu=`uname -m`
else
  cpu=`uname -p`
fi

or someone like this




Home | Main Index | Thread Index | Old Index