Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77595 - yacas 1.0.56 compile breaks with gcc 3.4.3-r1
Summary: yacas 1.0.56 compile breaks with gcc 3.4.3-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 14:55 UTC by Gary Stein
Modified: 2005-01-14 02:06 UTC (History)
0 users

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


Attachments
Patches extra ; in openglapi.cc (yacas-1.0.56-opengl.patch,227 bytes, patch)
2005-01-11 14:57 UTC, Gary Stein
Details | Diff
Slight revision of old ebuild to apply the patch (yacas-1.0.56-r1.ebuild,1.30 KB, text/plain)
2005-01-11 14:57 UTC, Gary Stein
Details
File which breaks the compile (openglapi.cc,18.13 KB, text/plain)
2005-01-13 08:52 UTC, Gary Stein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Stein 2005-01-11 14:55:50 UTC
While it has been said before that the new "features" of the gcc C++
compiler, this popped up on me for another example
that the main yacas-1.056.patch missed one problem I had

in plugins/opengl/openglapi.cc file there is another
"};" that the new gcc breaks on

same thing that is in most of the main patch file

Reproducible: Always
Steps to Reproduce:
1. emerge -vu yacas
2. ...
3. gcc complains about extra ";"

Actual Results:  
as stated in the 3rd step gcc complains about extra ;
on line 562 of openglapi.cc (which is made dynamically from the stub)



Expected Results:  
generally compile without error, but I'm not sure how to submit to the main
patch file (or if this is fixed in some CVS version)

adding own patch and ebuild later, not seen it anywhere on the bugs lists so far

Gentoo Base System version 1.6.8
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-rc2 i686)
=================================================================
System uname: 2.6.10-rc2 i686 Intel(R) Xeon(TM) CPU 1.70GHz
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 18 2004, 06:08:33)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.9.4, 1.4_p6, 1.5, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium3 -fomit-frame-pointer -mmmx -msse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -fomit-frame-pointer -mmmx -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.osuosl.org/ ftp://ftp.ndlug.nd.edu/pub/gentoo/"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X acl apm avi berkdb bitmap-fonts crypt directfb encode esd fam fbcon
foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java jpeg libwww
mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib
perl png python quicktime readline sdl smp spell sse ssl svga tcpd tiff truetype
xml2 xmms xv zlib"
Comment 1 Gary Stein 2005-01-11 14:57:04 UTC
Created attachment 48246 [details, diff]
Patches extra ; in openglapi.cc
Comment 2 Gary Stein 2005-01-11 14:57:43 UTC
Created attachment 48247 [details]
Slight revision of old ebuild to apply the patch
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-13 04:50:01 UTC
I can't reproduce this with the same gcc version. Could you perhaps send me the source file that makes gcc choke on your system?
Comment 4 Gary Stein 2005-01-13 08:52:56 UTC
Created attachment 48402 [details]
File which breaks the compile

For me this breaks the compile, it is created from
the openglapi.stub, assuming this part of it:

extern \"C\" {
LispPluginBase* maker(void)
{
    return NULL;
}
};
#endif //HAVE_GL_GLUT_H
");
Comment 5 Gary Stein 2005-01-13 08:54:30 UTC
Actually, I just checked the homepage for Yacas.

Looks like they are on 1.0.57 for the current version

I wonder if they fixed most of the stuff the patch file uses

http://yacas.sourceforge.net/downloads.html
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-14 01:12:46 UTC
I wonder, too. But first it would be nice to get compile errors of the stable version fixed :-)

Let me guess: You don't have media-libs/glut installed? That would explain why it failed on your system and didn't on mine.

I think we should get GSL usage and GL stuff as optional dependencies with the next version.

Applying your patch, declaring this fixed. Thanks!
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-14 02:06:09 UTC
About .57, I've created bug #77948