Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270625 - sys-power/powertop-1.11 fails if sys-devel/gettext is not installed
Summary: sys-power/powertop-1.11 fails if sys-devel/gettext is not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 20:09 UTC by Boris
Modified: 2009-10-16 18:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris 2009-05-20 20:09:33 UTC
If I try to install sys-power/powertop-1.11 it fails if sys-devel/gettext is not installed.
gettext does not seem to be part of the base system profile - as far as I can judge this. So there should be a dependency on gettext or (if the usage is optional) a use-flag.

Reproducible: Always

Steps to Reproduce:
1. don't have gettext installed (happens on on my hardened-server with USE=-nls)
2. try to install powertop-1.11
3.

Actual Results:  
urbnum.c: In function 'update_urbnum':
urbnum.c:77: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
urbnum.c:84: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
urbnum.c:104: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
urbnum.c:111: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
urbnum.c: In function 'count_usb_urbs':
urbnum.c:154: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -O2 -pipe -march=prescott -fstack-protector  powertop.o config.o process.o misctips.o bluetooth.o display.o suggestions.o wireless.o cpufreq.o sata.o xrandr.o ethernet.o cpufreqstats.o usb.o urbnum.o intelcstates.o -lncursesw -o powertop
make[1]: Entering directory `/var/tmp/paludis/sys-power-powertop-1.11/work/powertop-1.11/po'
msgfmt -o de.mo de.po
make[1]: msgfmt: Command not found
make[1]: *** [de.mo] Error 127
make[1]: Leaving directory `/var/tmp/paludis/sys-power-powertop-1.11/work/powertop-1.11/po'
make: *** [powertop] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in sys-power/powertop-1.11:
!!! In src_compile at line 3393
!!! (no message provided)

Expected Results:  
Build gettext as a dependency or don't fail if it's missing.

Portage 2.1.6.11 (hardened/x86, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-hardened-r7 i686)
=================================================================                          
System uname: Linux-2.6.28-hardened-r7-i686-Intel-R-_Celeron-R-_M_CPU_440_@_1.86GHz-with-glibc2.1.3
Timestamp of tree: Tue, 19 May 2009 16:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb cracklib crypt hardened midi nptl nptlonly pam pic readline ssl symlink tcpd urandom x86 xorg 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel         mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware       voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-16 18:47:49 UTC
thanks for the report. fixed in cvs.

kind regards
Thilo