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

Bug 169282

Summary: sys-power/kpowersave-0.7.2 wants to use unsermake but it is not good to
Product: Gentoo Linux Reporter: Hamlet <hamletghost>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Complete log of emerging kpowersave ex novo

Description Hamlet 2007-03-04 13:38:44 UTC
Trying to emerge sys-power/kpowersave-0.7.2, it fails with:

WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!
unsermake all
ERROR:src/Makefile.am: unknown source extension .ui for kpowersave.la
[...]
ERROR:src/Makefile.am: unknown source extension .ui for kpowersave.la

(the ebuild wished me good luck with using unsermake, but it was not enough).
It seems that kpowersave configure uses unsermake only if it finds it, otherwise it falls back to the usual make. But the ebuild always requires unsermake as dependency, so the followed path is always emerge unsermake -> use unsermake -> error.
Some other packages (like libkdeedu) check UNSERMAKE variable and setting it to "no" it did compile (but not otherwise); kpowersave ebuild, instead, ignores that variable.
If I unmerge unsermake and emerge kpowersave with --nodep option, it works just fine.

I would suggest to either introduce a unsermake flag or get rid of unsermake dependency or, at least, modify the DEPEND variable of kpowersave ebuild to consider UNSERMAKE variable value when filling DEPEND variable.


Reproducible: Always

Steps to Reproduce:
1. emerge -pv kpowersave
2. emerge kpowersave

Actual Results:  
# emerge -pv kpowersave
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] kde-base/unsermake-0.4.20050710  0 kB
[ebuild   R   ] sys-power/kpowersave-0.7.2  USE="arts xinerama -debug" 0 kB

# emerge kpowersave

Fails...


Expected Results:  
>>> sys-power/kpowersave-0.7.2 merged.

;-)


# : this is on a x86 Gentoo; a different one, amd64, brings the same results
# emerge --info

Portage 2.1.2-r13 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r3 i686)
=================================================================
System uname: 2.6.19-suspend2-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 03 Mar 2007 11:00:09 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp://ftp.unina.it/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib accessibility acpi afs alsa apm arts audiofile avi bcmath berkdb bindist bitmap-fonts bonobo bzlib calendar caps cdr cli cracklib crypt crypy cscope ctype cups curl curlwrappers dbx dedicated dga divx4linux doc dri dvb dvd dvdr emacs emacs-w3 encode ethereal exif fam fastcgi fdftk fftw flac foomaticdb fortran ftp gb gd gdbm ggi gif ginac gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib ipv6 isdnlog java jikes joystick jpeg junit kde kdeenablefinal kerberos krb4 ladcca lcms ldap leim lesstif libg++ libgda libwww lirc lm_sensors mad maildir mailwrapper mbox mcal memlimit mhash midi mikmod mime mmx mng motif mozilla mpeg msn mule mysql mysqli nas ncurses netcdf nis nls nptl nptlonly offensive ogg oggvorbis openal opengl oscar pam pcmcia pcntl pcre pdflib perl pic pie plotutils pmu png pnp ppds pppd python qt qt3 quicktime readline real reflection ruby sasl scanner sdl session simplexml slang slp snmp sockets socks5 speex spell spl sqlite sse ssl svga sysvipc szip tcltk tcpd tetex theora tiff timidity truetype truetype-fonts trusted type1-fonts unicode usb vhosts videos vorbis wmf wxwindows x86 xface xine xinerama xml xml2 xmlrpc xorg xosd xpm xv xvid yahoo yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm fglrx radeon tga v4l vesa vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Hamlet 2007-03-04 13:41:22 UTC
Created attachment 112052 [details]
Complete log of emerging kpowersave ex novo
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-04 13:44:15 UTC

*** This bug has been marked as a duplicate of bug 169268 ***
Comment 3 Hamlet 2007-03-04 13:57:18 UTC
(In reply to comment #2)

> *** This bug has been marked as a duplicate of bug 169268 ***

Please reconsider:

- I have no UNSERMAKE= line in my make.conf: 

# grep -R UNSERMAKE /etc 2> /dev/null || echo "None found."
None found.

- ebuild of kplayer (took as example in #169268) doesn't depend on unsermake

- kpowersave ebuild makes no difference in setting UNSERMAKE environment variable in any way

I think that while the cause is the same in both bugs, the solution of this one must be specific.
Comment 4 Hamlet 2007-03-07 21:32:48 UTC
I just confirm that now the new version of kpowersave-0.72 works as expected for me.