Bug#273336: gnome-control-center: control-center/acme is trying to open /dev/pmu even on powerpc subarches who don't have a pmu device

Sven Luther Sven Luther <luther@debian.org>, 273336@bugs.debian.org
Sat, 25 Sep 2004 15:19:48 +0200


Package: gnome-control-center
Version: 1:2.6.1-12
Severity: important


On powerpc subarches who don't have pmu support (everything except pmacs or
even possibly newworld pmacs), there is no /dev/pmu device. Particluarly when
using a 2.6 kernel (default on powerpc) with udev.

In debian/patches/08_pmu_fix.patch, there is ade which displays a error
message in this case, which should be removed, or better yet check for
subarches posssesing a pmu device. 

mkvmlinuz distinguishes such machines in shell by :

	case $(grep ^pmac-generation /proc/cpuinfo) in
		*NewWorld) arch=pmac ;;
		*OldWorld) arch=coff ;;
	esac

So, this could be done in a similar way.

It would be really nice if this would be fixed before the 'imminent' sarge
freeze, as it is really annoying.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.27-powerpc
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro

Versions of packages gnome-control-center depends on:
ii  capplets                  1:2.6.1-12     configuration applets for GNOME 2 
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-3        The ATK accessibility toolkit
ii  libbonobo2-0              2.6.2-6        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libgconf2-4               2.6.4-2        GNOME configuration database syste
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.6-2        The GLib library of C routines
ii  libgnome-desktop-2        2.6.1-2        Utility library for loading .deskt
ii  libgnome2-0               2.6.1.2-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgnomeui-0              2.6.1.1-4      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.6.2-2        The GNOME virtual file-system libr
ii  libgtk2.0-0               2.4.9-1        The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-7 Inter-Client Exchange library
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.4.1-2        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-7 X Window System Session Management
ii  libstartup-notification0  0.7-1          library for program launch feedbac
ii  libx11-6                  4.3.0.dfsg.1-7 X Window System protocol client li
ii  libxml2                   2.6.11-3       GNOME XML library
ii  xlibs                     4.3.0.dfsg.1-7 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-7    compression library - runtime

-- no debconf information