Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64389 - y-windows-0.2 does not compile
Summary: y-windows-0.2 does not compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 05:00 UTC by Patrick Lauer
Modified: 2005-09-09 17:40 UTC (History)
1 user (show)

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


Attachments
Fixes M_PI, sin, cos compile bug in Y-Windows Clock applet (Y-clock-cmath-fix.patch,336 bytes, patch)
2005-01-12 18:54 UTC, joseph.bebel
Details | Diff
Y-windows ebuild with patch applied. (y-windows-0.2-r1.ebuild,1.10 KB, application/octet-stream)
2005-03-05 01:35 UTC, Francisco José Cañizares Santofimia
Details
Ebuild patch against current portage ebuild for developer reference. (y-windows-0.2.ebuild.patch,783 bytes, patch)
2005-03-20 17:25 UTC, Francisco José Cañizares Santofimia
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2004-09-17 05:00:20 UTC
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"
Comment 1 joseph.bebel 2005-01-12 18:54:30 UTC
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).
Comment 2 Francisco José Cañizares Santofimia 2005-03-05 01:35:21 UTC
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.
Comment 3 Francisco José Cañizares Santofimia 2005-03-20 17:25:28 UTC
Created attachment 54008 [details, diff]
Ebuild patch against current portage ebuild for developer reference.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 14:45:47 UTC
Re-assign. Unless someone picks this up, this package should be removed from
portage.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-09-09 17:40:31 UTC
This package will soon be removed due to open bugs and the URL attached.