pkgsrc-Bugs archive

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

pkg/47706: devel/cpuflags fails to work



>Number:         47706
>Category:       pkg
>Synopsis:       devel/cpuflags fails to work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 30 12:05:00 +0000 2013
>Originator:     Onno van der Linden
>Release:        NetBSD 6.99.18
>Organization:
>Environment:
NetBSD sheep 6.99.18 NetBSD 6.99.18 (SHEEP) #3: Sun Mar 24 16:27:05 MET 2013  
onno@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
>Description:
devel/cpuflags responds with
eval: 1: Syntax error: word unexpected (expecting ")")
>How-To-Repeat:
install and run devel/cpuflags from pkgsrc
>Fix:
Adding a -x to /bin/sh at the top of /usr/pkg/bin/cpuflags shows

eval 'cpu_name=""Intel(R) Pentium(R) 4 CPU 2.26GHz""
[ multiple cpu_feature_* lines skipped]
cpu_feature_SS=1' 

Possible fixes
1) in subr_NetBSD of the cpuflags package
- remove the inside double quotes
- escape the inside double quotes
or
2) fix the shell ??




Home | Main Index | Thread Index | Old Index