Making all in clock make[2]: Entering directory `/var/tmp/portage/y-windows-0.2/work/Y--devel--0.2-- patch-26/clients/clock' if g++ -DHAVE_CONFIG_H -I. -I. -I../../Y -I../.. -I../.. -I/usr/lib/sigc++-1.0/i nclude -I/usr/include/sigc++-1.0 -I../../libY -I../../libYc++ -D_REENTRANT -pt hread -g -O0 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wimplicit -Wstri ct-prototypes -Wmissing-prototypes -W -Wno-unused -Wno-shadow -Wundef -Wpacked - Wfloat-equal -Werror -O2 -march=athlon-xp -pipe -MT clock.o -MD -MP -MF ".deps/c lock.Tpo" -c -o clock.o clock.cc; \ then mv -f ".deps/clock.Tpo" ".deps/clock.Po"; else rm -f ".deps/clock.Tpo"; exi t 1; fi cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ clock.cc: In member function `void Clock::drawClock()': clock.cc:102: error: `M_PI' undeclared (first use this function) clock.cc:102: error: (Each undeclared identifier is reported only once for each function it appears in.) clock.cc:108: error: `sin' undeclared (first use this function) clock.cc:109: error: `cos' undeclared (first use this function) make[2]: *** [clock.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/y-windows-0.2/work/Y--devel--0.2--p atch-26/clients/clock' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/y-windows-0.2/work/Y--devel--0.2--p atch-26/clients' make: *** [all-recursive] Error 1 !!! ERROR: x11-base/y-windows-0.2 failed. Reproducible: Always Steps to Reproduce: 1. emerge y-windows 2. 3. Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7 i686) ================================================================= System uname: 2.6.7 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" 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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dga dvd encode esd faad ffmpeg foomaticdb freetype gdbm gif gnome gpm gtk2 gtkhtml imlib java jpeg kde libg++ libwww mikmod motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype x86 xml2 xmms xprint xv zlib"
Created attachment 48363 [details, diff] Fixes M_PI, sin, cos compile bug in Y-Windows Clock applet Just does #include <cmath> in the correct file. Y-Windows now compiles cleanly. Please add patch to ebuild (epatch works ok).
Created attachment 52704 [details] Y-windows ebuild with patch applied. The patch previously submitted in this bug should be renamed as y-windows-clock.patch and you should put it onto ${FILESDIR} This appears to compile y-windows without problems.
Created attachment 54008 [details, diff] Ebuild patch against current portage ebuild for developer reference.
Re-assign. Unless someone picks this up, this package should be removed from portage.
This package will soon be removed due to open bugs and the URL attached.