y-windows does not compile, it brings thounds of failure lines, when trying to link the software to whatever. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge y-windows 2. 3. Actual Results: It brings up this error lines: [...] /usr/include/sigc++-1.0/sigc++/basic_signal.h:315: warning: undefined reference to `_Unwind_Resume' Y/c++/menu.lo(.text+0x995): In function `Y::Menu::~Menu [in-charge deleting]()': /usr/include/sigc++-1.0/sigc++/basic_signal.h:315: warning: undefined reference to `_Unwind_Resume' Y/c++/menu.lo(.text+0x9a8): In function `Y::Menu::~Menu [in-charge deleting]()': Y/c++/menu.cc:36: warning: undefined reference to `operator delete(void*)' Y/c++/menu.lo(.text+0x9db): In function `__static_initialization_and_destruction_0': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/iostream:77: warning: undefined reference to `std::ios_base::Init::Init[in-charge]()' Y/c++/menu.lo(.text+0xa0e): In function `__tcf_0': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/iostream:77: warning: undefined reference to `std::ios_base::Init::~Init [in-charge]()' Y/c++/menu.lo(.gnu.linkonce.d._ZTIN1Y4MenuE+0x0): warning: undefined reference to `vtable for __cxxabiv1::__si_class_type_info' collect2: ld returned 1 exit status make[1]: *** [libYc++.la] Error 1 make: *** [all-recursive] Error 1 !!! ERROR: x11-base/y-windows-0.2 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! make failed Expected Results: Should compile cleanly I
y-windows does not compile, it brings thounds of failure lines, when trying to link the software to whatever. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge y-windows 2. 3. Actual Results: It brings up this error lines: [...] /usr/include/sigc++-1.0/sigc++/basic_signal.h:315: warning: undefined reference to `_Unwind_Resume' Y/c++/menu.lo(.text+0x995): In function `Y::Menu::~Menu [in-charge deleting]()': /usr/include/sigc++-1.0/sigc++/basic_signal.h:315: warning: undefined reference to `_Unwind_Resume' Y/c++/menu.lo(.text+0x9a8): In function `Y::Menu::~Menu [in-charge deleting]()': Y/c++/menu.cc:36: warning: undefined reference to `operator delete(void*)' Y/c++/menu.lo(.text+0x9db): In function `__static_initialization_and_destruction_0': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/iostream:77: warning: undefined reference to `std::ios_base::Init::Init[in-charge]()' Y/c++/menu.lo(.text+0xa0e): In function `__tcf_0': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3/iostream:77: warning: undefined reference to `std::ios_base::Init::~Init [in-charge]()' Y/c++/menu.lo(.gnu.linkonce.d._ZTIN1Y4MenuE+0x0): warning: undefined reference to `vtable for __cxxabiv1::__si_class_type_info' collect2: ld returned 1 exit status make[1]: *** [libYc++.la] Error 1 make: *** [all-recursive] Error 1 !!! ERROR: x11-base/y-windows-0.2 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! make failed Expected Results: Should compile cleanly I´m using gcc 3.3.2 glibc 2.3.2-r9 CFLAGS="-Os -march=athlon-tbird -funroll-loops -pipe -fomit-frame-pointer"
Since I get the exact same error, with a different set of CFLAGS, I thought I'd post them as well... CFLAGS="-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer" (that'd be a mini-ITX) gcc is version 3.3.2-r5. glibc is version 2.3.2-r9 Thanks.
This looks like a depend problem, I had version 1.2.5 of whatever they wanted... instead of the 1.0.something or 1.1 something they required... from their wiki: ======== Need some Gentoo Ebuilds or want more info on Gentoo support? http://www.cardoe.com/y-base/ If you want to compile Y manually on Gentoo, don't forget that you must emerge -v =libsigc++-1.0.4-r2 to get the right version of sigc++. Otherwise, ./configure will fail, unable to find sigc-config (1.2 uses pkg-config and, even if you write a wrapper script, has different headers that won't work). Simply using "emerge libsigc++" won't get the right version! Taken from Y-Gentoo as of 23 feb 2004. -- The wiki name was " I want to..." install y windows easily on gentoo
here is the wiki URL: http://y-win-wiki.jciteassist.org/y-win-wiki/Gentoo of course, that got me to a different compile error! (granted, I started compilation of y-windows, and it failed, then I did the version switch, but, the one dependancy of y-windows that was built could have needed that funkey version as well.. ---- modules/theme.c: In function `themeDrawButton': modules/theme.c:121: warning: unused variable `result' modules/theme.c: At top level: modules/theme.c:177: warning: `themeWindowGetRegion' defined but not used make[2]: *** [modules/theme.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/y-windows-0.2/work/Y--devel--0.2--patch-26/Y' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/y-windows-0.2/work/Y--devel--0.2--patch-26/Y' make: *** [all-recursive] Error 1 !!! ERROR: x11-base/y-windows-0.2 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! make failed ----------- bash-2.05b# emerge info Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(TM) XP 1700+ Gentoo Base System version 1.4.4 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -O2 -pipe -Wall" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -O2 -pipe -Wall" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa amd apache2 apm arts artswrappersuid avi berkdb bidi bonobo canna cdr cjk cjkcrypt crypt cscope cups dga directfb doc dv dvb dvd encode esd evms2 faad fbcon ffmpeg flac flash foomaticdb freetype freewnn fs gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java javascript joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww mad maildir md5sum mdb mikmod mmx motif mozilla mpeg mpeg4 mule mysql nas ncurses net nls nptl nvidia oggvorbis opengl oss pam pdflib perl pic png postgres python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff transcode truetype unicode usb v4l vhosts virus-scan x86 xine xinerama xml2 xmms xv xvid zeo zlib"
Ok... I didn't look at the error, nor copy it completely, Removing the -Wall CFLAG made it compile... The software _is_ broken, but an unused variable hardly seems important. IT COMPILED!!!!!! So, make the hard depend on that version, and force filtering of -Wall and it should work!!! .. or at least compile... e-pointer -O2 -pipe -Wall -MT modules/theme.o -MD -MP -MF "modules/.deps/theme.Tpo" -c -o modules/theme.o `test -f 'modules/theme.c' || echo './'`modules/theme.c; \ then mv -f "modules/.deps/theme.Tpo" "modules/.deps/theme.Po"; else rm -f "modules/.deps/theme.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I/usr/include/freetype2 -D_REENTRANT -pthread -g -O0 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -W -Wno-unused -Wno-shadow -Wundef -Wpacked -Wbad-function-cast -Wfloat-equal -Werror -march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -O2 -pipe -Wall -MT modules/windowmanager.o -MD -MP -MF "modules/.deps/windowmanager.Tpo" -c -o modules/windowmanager.o `test -f 'modules/windowmanager.c' || echo './'`modules/windowmanager.c; \ then mv -f "modules/.deps/windowmanager.Tpo" "modules/.deps/windowmanager.Po"; else rm -f "modules/.deps/windowmanager.Tpo"; exit 1; fi modules/theme.c: In function `themeDrawCheckBox': modules/theme.c:81: warning: unused variable `result' modules/theme.c: In function `themeDrawLabel': modules/theme.c:101: warning: unused variable `result' modules/theme.c: In function `themeDrawButton': modules/theme.c:121: warning: unused variable `result' modules/theme.c: At top level: modules/theme.c:177: warning: `themeWindowGetRegion' defined but not used make[2]: *** [modules/theme.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/y-windows-0.2/work/Y--devel--0.2--patch-26/Y' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/y-windows-0.2/work/Y--devel--0.2--patch-26/Y' make: *** [all-recursive] Error 1 !!! ERROR: x11-base/y-windows-0.2 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! make failed bash-2.05b# vi /etc/make.conf bash-2.05b# emerge y-windows Calculating dependencies ...done! >>> emerge (1 of 1) x11-base/y-windows-0.2 to /
The fix looks clear, go ahead and commit hhg.
anybody still using y-windows?
Not on a day-to-day basic but...
should have been "basis"... :-)
Re-assign. Unless someone picks this up, this package should be removed from portage.
hhg: Are you no longer maintaining this package, or are you just not on the x11 alias?
(In reply to comment #10) > hhg: Are you no longer maintaining this package, or are you just not on the x11 > alias? See Bug 100072 ;)
Jakub, you rock :) Considering the comments on upstream in 100072 I don't think this should be kept in the tree. Even if it works now it'll probably break at some point in the future. I'll look into removing this soon unless we get massive objection.
This package will soon be removed due to open bugs and the URL attached.
Joshua, about time to punt the thing... ;)
Haha, it was on my list for the weekend. Thanks for the poke :D Done.