Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 318087

Summary: sys-power/pm-utils-1.2.5: Misspelt function 'add_parameter' in 98smart-kernel-video
Product: Gentoo Linux Reporter: Jeremy Murphy <jeremy.william.murphy>
Component: [OLD] Core systemAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeremy Murphy 2010-05-02 05:10:17 UTC
The 'add_parameters' function has been misspelt in /usr/lib/pm-utils/sleep.d/98smart-kernel-video as 'add_parameter' (missing the final 's').

Reproducible: Always

Steps to Reproduce:
1. Enable KMS
2. Suspend

Actual Results:  
*** from /var/log/pm-suspend.log

/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: /usr/lib/pm-utils/sleep.d/98smart-kernel-video: line 37: add_parameter: command not found             
not applicable.                                                                    


Expected Results:  
*** from /var/log/pm-suspend.log

/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: not applicable.


Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33-gentoo-r1 i686)                                                               
=================================================================                  
System uname: Linux-2.6.33-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-1.12.13                                                                 
Timestamp of tree: Sat, 01 May 2010 00:15:01 +0000                                 
distcc 3.1 i686-pc-linux-gnu [enabled]                                             
app-shells/bash:     4.0_p37                                                       
dev-java/java-config: 2.1.10                                                       
dev-lang/python:     2.6.4-r1                                                      
dev-util/cmake:      2.6.4-r3                                                      
sys-apps/baselayout: 1.12.13                                                       
sys-apps/sandbox:    1.6-r2                                                        
sys-devel/autoconf:  2.13, 2.65                                                    
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1                            
sys-devel/binutils:  2.18-r3                                                       
sys-devel/gcc:       4.3.4                                                         
sys-devel/gcc-config: 1.4.1                                                        
sys-devel/libtool:   2.2.6b                                                        
virtual/os-headers:  2.6.30-r1                                                     
ACCEPT_KEYWORDS="x86"                                                              
ACCEPT_LICENSE="* -@EULA skype-eula"                                               
CBUILD="i686-pc-linux-gnu"                                                         
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"                           
CHOST="i686-pc-linux-gnu"                                                          
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"         
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                                                                           
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"                         
DISTDIR="/usr/portage/distfiles"                                                   
FEATURES="assume-digests distcc distlocks fixpackages news parallel-fetch prelink protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"        
GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo "                               
LANG="en_AU.UTF-8"                                                                 
LDFLAGS="-Wl,-O1"                                                                  
LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8"                                      
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/kde /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 avahi bash-completion berkdb blas branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl cxx dbus djvu dri dts dv dvb dvd dvdr emboss encode exif expat fam ffmpeg fftw flac fontconfig fortran gd gdbm geoip gif gmp gnutls gphoto2 gpm graphviz gsl gtk hal iconv icu ieee1394 imagemagick imlib ipod ipv6 java java5 java6 javascript jpeg kde kqemu lame lapack laptop latex lcms ldap libnotify libsamplerate lirc lzo mad matroska mikmod mmap mmx mng modules mp3 mp4 mpeg mplayer mtp mudflap musepack mysql mysqli ncurses nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp pam pango pch pcre pdf perl php png ppds pppd python qt3support qt4 readline recode reflection samba sdl session sharedmem sndfile sockets spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog sysvipc taglib tcpd theora threads tiff timidity truetype unicode usb vorbis wavpack wifi wmf wxwindows x264 x86 xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-02 06:05:41 UTC
1.2.5?  Try 1.3.0-r2.
Comment 2 Jeremy Murphy 2010-05-02 06:53:55 UTC
Mark it stable and I will.  :)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-05-05 14:07:43 UTC
1.2.5 is obsolete, try 1.3.0 instead
Comment 4 Jeremy Murphy 2010-05-05 15:17:42 UTC
Hmm, OK, I guess I don't quite understand the Gentoo philosophy on package maintenance, and I love Gentoo, so I would like to understand.  I thought that since 1.2.5 is marked stable that it would matter that there are bugs in it.  And that since it's marked stable, it's not obsolete for Gentoo.  Otherwise you could call every stable package with a newer testing package available "obsolete".  So why, in this case, don't you bump out a 1.2.5-r1 with a fixed script?  (Unless you know that >1.2.5 is about to go stable any day now.)
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-05 15:32:52 UTC
a little search turns out: bug #318209.
Most of the time we consider a bug fixed when there is a version in tree greater than the one the bug is reported for. If you want the fix early, fill a stabilization request bug.