First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 77595
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gary Stein <gstein@ucf.edu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
yacas-1.0.56-opengl.patch Patches extra ; in openglapi.cc patch Gary Stein 2005-01-11 14:57 0000 227 bytes Details | Diff
yacas-1.0.56-r1.ebuild Slight revision of old ebuild to apply the patch text/plain Gary Stein 2005-01-11 14:57 0000 1.30 KB Details
openglapi.cc File which breaks the compile text/plain Gary Stein 2005-01-13 08:52 0000 18.13 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 77595 depends on: Show dependency tree
Show dependency graph
Bug 77595 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-11 14:55 0000
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 From Gary Stein 2005-01-11 14:57:04 0000 -------
Created an attachment (id=48246) [edit]
Patches extra ; in openglapi.cc

------- Comment #2 From Gary Stein 2005-01-11 14:57:43 0000 -------
Created an attachment (id=48247) [edit]
Slight revision of old ebuild to apply the patch

------- Comment #3 From Patrick Kursawe 2005-01-13 04:50:01 0000 -------
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 From Gary Stein 2005-01-13 08:52:56 0000 -------
Created an attachment (id=48402) [edit]
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 From Gary Stein 2005-01-13 08:54:30 0000 -------
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 From Patrick Kursawe 2005-01-14 01:12:46 0000 -------
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 From Patrick Kursawe 2005-01-14 02:06:09 0000 -------
About .57, I've created bug #77948

First Last Prev Next    No search results available      Search page      Enter new bug