Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68838 - icewm-1.2.17_pre1 does not handle USE=-esd correctly
Summary: icewm-1.2.17_pre1 does not handle USE=-esd correctly
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 07:55 UTC by Stefan Schweizer (RETIRED)
Modified: 2004-11-11 17:33 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 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-25 07:55:50 UTC
Icewm does not compile because it does not find esd:
I disabled and unmerged esd because icewm compile errors out missing pthreads with it here

Anyway it should not use -lesd if I do not set the esd Use-flag.

  LD     icewm-menu-gnome1
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: canno                                                                                          t find -lesd
collect2: ld gab 1 als Ende-Status zur
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-25 07:55:50 UTC
Icewm does not compile because it does not find esd:
I disabled and unmerged esd because icewm compile errors out missing pthreads with it here

Anyway it should not use -lesd if I do not set the esd Use-flag.

  LD     icewm-menu-gnome1
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: canno                                                                                          t find -lesd
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [icewm-menu-gnome1] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: Leaving directory `/var/tmp/portage/icewm-1.2.17_pre1/work/icewm-1.2.17                                                                                          pre1/src'
make: *** [base] Fehler 2

!!! ERROR: x11-wm/icewm-1.2.17_pre1 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

/home/stefan # emerge -va icewm

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] x11-wm/icewm-1.2.17_pre1 [1.2.16-r1] -esd* +gnome +imlib +nls +s                                                                                          ilverxp +spell +truetype +xinerama 0 kB 

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] no

Quitting.
Comment 2 Disenchanted (RETIRED) gentoo-dev 2004-10-25 22:43:14 UTC
i really would like to see your 'emerge info' like i said o irc, i am ot able to hit your problem here, i am merging it fie with 'USE=-esd emerge icewm'

ok emerge -C esound and it shows it's ugly face

im gonna have to report this upstream, till i get to that ill leave this bug open

USE="-esd -gnome" works too

as the linking error happens on:

icewmbg.cc:331:2: warning: #warning "leak needs to be fixed when multiple background desktops are enabled again"
  CXX    icehelp.o
  CXX    gnome.o
  CXX    ycmdline.o
  CXX    gnome2.o
  CXX    genpref.o
  LD     icewm
  LD     icewm-session
  LD     icesh
  LD     icewmhint
  LD     icewmbg
  LD     icewmtray
  LD     icehelp
  LD     icewm-menu-gnome1
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lesd
collect2: ld returned 1 exit status
make[1]: *** [icewm-menu-gnome1] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/icewm-1.2.17_pre1/work/icewm-1.2.17pre1/src'
make: *** [base] Error 2






Comment 3 Disenchanted (RETIRED) gentoo-dev 2004-10-25 22:45:01 UTC
upstream: --without-esd-config is in ./configure 
why does --enable-menus-gnome1 --enable-menus-gnome2 depend on esd?
should it?

filing this bug tomorrow upstream
Comment 4 Disenchanted (RETIRED) gentoo-dev 2004-10-28 11:24:18 UTC
after a talk with upstream i decided to not file a bug there, as gnome-config is the culprit pulling in too many deps

what version of gnome did you merge, so the "fix" for now is to either accompany your USE=gnome with a USE=esd, or to just - them both, as the esd requirement is not caused by icewm and thus not controllable by icewm
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-29 13:52:35 UTC
  LD     icewmbg
  LD     icewmtray
  LD     icehelp
  LD     icewm-menu-gnome1
/usr/lib/libesd.so: undefined reference to `pthread_create'
/usr/lib/libesd.so: undefined reference to `pthread_mutex_trylock'
/usr/lib/libesd.so: undefined reference to `pthread_join'
collect2: ld gab 1 als Ende-Status zur
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-29 13:52:35 UTC
  LD     icewmbg
  LD     icewmtray
  LD     icehelp
  LD     icewm-menu-gnome1
/usr/lib/libesd.so: undefined reference to `pthread_create'
/usr/lib/libesd.so: undefined reference to `pthread_mutex_trylock'
/usr/lib/libesd.so: undefined reference to `pthread_join'
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [icewm-menu-gnome1] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: Leaving directory `/var/tmp/portage/icewm-1.2.17_pre1/work/icewm-1.2.17pre1/src'
make: *** [base] Fehler 2

!!! ERROR: x11-wm/icewm-1.2.17_pre1 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


with USE="esd gnome"



Portage 2.0.51-r2 (default-linux/x86/2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.10-rc1-mm2 i686)
=================================================================
System uname: 2.6.10-rc1-mm2 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Gentoo Base System version 1.6.4
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -fomit-frame-pointer -pipe -Os"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -fomit-frame-pointer -pipe -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache confcache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acpi alsa arts avi bitmap-fonts bootspla cdparanoia cdr crypt cups dga distcache divx4linux dvd dvdread edl f77 fam fbcon foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 hal imlib java javascript jpeg kde libg++ libwww live lzo mikmod mmx mng mozilla mpeg ncurses network nls nptl oggvorbis opengl pam pdflib perl png qt quicktime readline rtc samba scanner sdl slang spell sse ssl svg svga tcltk tcpd tga tiff truetype usb wxwindows x86 xfs xine xinerama xml xml2 xmms xosd xv xvid zlib video_cards_radeon"
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-08 08:52:21 UTC
bug 66836 seems to be related
Comment 8 Disenchanted (RETIRED) gentoo-dev 2004-11-08 22:26:59 UTC
Lv: does this sound like a glibc problem?
if yes shouldnt he go and live happy with 1102? 

i cant reproduce it and genstef, you are the only one reporting this issue, linking to another bug with people and broken systems....

if this is an issue to you, open a bug on something more appropriate, unless Lv could point out a problem with icewm here

Comment 9 Disenchanted (RETIRED) gentoo-dev 2004-11-08 22:27:53 UTC
Lv: i mean comment #4 + #5 btw
Comment 10 Disenchanted (RETIRED) gentoo-dev 2004-11-11 17:33:13 UTC
nope, can't do