Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149572 - kpowersave 0.6.2 fails during compilation due to missing dependency
Summary: kpowersave 0.6.2 fails during compilation due to missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-29 16:26 UTC by Juergen Nagel
Modified: 2006-09-30 10:01 UTC (History)
1 user (show)

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 Juergen Nagel 2006-09-29 16:26:39 UTC
kpowersave 0.6.2 failed for me with the following error message:

/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium-m -pipe -ggdb -falign-functions=4 -falign-jumps=4 -frename-registers -fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common    -o libkdeinit_kpowersave.la -rpath /usr/lib -no-undefined -avoid-version -L/usr/qt/3/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib main.lo kpowersave.lo pdaemon.lo screen.lo configuredialog.lo settings.lo suspenddialog.lo autosuspend.lo blacklisteditdialog.lo schemes.lo dbusPowersave.lo infodialog.lo detaileddialog.lo inactivity.lo kpowersave_skel.lo configure_Dialog.lo suspend_Dialog.lo blacklistedit_Dialog.lo info_Dialog.lo detailed_Dialog.lo autosuspend.moc.lo dbusPowersave.moc.lo pdaemon.moc.lo screen.moc.lo inactivity.moc.lo  -lkio -lhal -lpowersave -lpowersave_dbus -ldbus-1   -ldbus-qt-1 -lXss -lXext -lXtst
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXss
collect2: ld returned 1 exit status
make[3]: *** [libkdeinit_kpowersave.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kpowersave-0.6.2/work/kpowersave-0.6.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kpowersave-0.6.2/work/kpowersave-0.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kpowersave-0.6.2/work/kpowersave-0.6.2'
make: *** [all] Error 2

!!! ERROR: sys-power/kpowersave-0.6.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 331:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 327:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


After having added x11-libs/libXScrnSaver to RDEPEND the compilation went fine.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-29 23:05:39 UTC
./src/Makefile.am:kpowersave_la_LIBADD = $(LIB_KIO) @PACKAGE_LIBS@ -ldbus-qt-1 -lXss -lXext -lXtst

libXscrnsaver is not the only one missing.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-30 10:01:09 UTC
thanks, committed :)