Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60272 - USE=-opengl --> dev-perl/gtk-perl-0.7008-r11 failed
Summary: USE=-opengl --> dev-perl/gtk-perl-0.7008-r11 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 14:19 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-03-07 07:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2004-08-13 14:19:57 UTC
Creating reference documentation
No parent info for package Gtk/HTML/Types
No parent info for package Gnome/Types
No parent info for package Gtk/GladeXML/Types
FORCE installing header: build/GtkGLAreaDefs.h
FORCE installing header: build/PerlGtkGLAreaInt.h
'PASTHRU_DEFINE' is not a known MakeMaker parameter name.
'PASTHRU_INC' is not a known MakeMaker parameter name.
Note (probably harmless): No library found for -lgtkgl
Unrecognized argument in LIBS ignored: '-rdynamic'
Writing Makefile for Gtk::GLArea
make[1]: Entering directory `/var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea'
/usr/bin/perl ../tools/genext.pl GtkGLArea </dev/null
cp Glut.pm blib/lib/Gtk/GLArea/Glut.pm
cp build/GtkGLAreaTypes.pm blib/arch/Gtk/GLArea/Types.pm
cp /var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/pkg.typemap blib/arch/Gtk/GLArea/Install/pkg.typemap
cp Constants.pm blib/lib/Gtk/GLArea/Constants.pm
AutoSplitting blib/lib/Gtk/GLArea/Constants.pm (blib/lib/auto/Gtk/GLArea/Constants)
cp build/GtkGLAreaDefs.h blib/arch/Gtk/GLArea/Install/GtkGLAreaDefs.h
cp GtkGLArea.pm blib/arch/Gtk/GLArea.pm
cp build/Files.pm blib/arch/Gtk/GLArea/Install/Files.pm
cp build/PerlGtkGLAreaInt.h blib/arch/Gtk/GLArea/Install/PerlGtkGLAreaInt.h
cp /var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/build/GtkGLAreaTypemap blib/arch/Gtk/GLArea/Install/GtkGLAreaTypemap
/usr/bin/perl /usr/lib/perl5/5.8.4/ExtUtils/xsubpp  -noversioncheck -typemap /usr/lib/perl5/5.8.4/ExtUtils/typemap -typemap /var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/../Gtk/../blib/arch/Gtk/Install//GtkTypemap -typemap /var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/../Gtk/../blib/arch/Gtk/Install//gtk-0.99.typemap -typemap /var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/../Gtk/../blib/arch/Gtk/Install//gtk-1.2.typemap -typemap /var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/pkg.typemap -typemap /var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/build/GtkGLAreaTypemap  xs/GtkGLArea.xs > xs/GtkGLArea.xsc && mv xs/GtkGLArea.xsc xs/GtkGLArea.c
Please specify prototyping behavior for GtkGLArea.xs (see perlxs manual)
gcc -c  -I/var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea/../Gtk/../blib/arch/Gtk/Install/ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I. -I./build -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64    -DVERSION=\"0.7008\" -DXS_VERSION=\"0.7008\" -fPIC "-I/usr/lib/perl5/5.8.4/i686-linux/CORE"  -DPERL_POLLUTE -DLAZY_LOAD -DGTK_HVER=0x01020a xs/GtkGLArea.c
In file included from GtkGLArea.xs:7:
build/GtkGLAreaDefs.h:24:29: gtkgl/gtkglarea.h: No such file or directory
In file included from GtkGLArea.xs:7:
build/GtkGLAreaDefs.h:34: error: syntax error before '*' token
build/GtkGLAreaDefs.h:35: error: syntax error before '*' token
build/GtkGLAreaDefs.h:35: warning: data definition has no type or storage class
build/GtkGLAreaDefs.h:36: error: syntax error before '*' token
build/GtkGLAreaDefs.h:36: warning: data definition has no type or storage class
build/GtkGLAreaDefs.h:37: error: syntax error before '*' token
build/GtkGLAreaDefs.h:37: warning: data definition has no type or storage class
build/GtkGLAreaDefs.h:39: error: syntax error before '*' token
build/GtkGLAreaDefs.h:40: error: syntax error before '*' token
build/GtkGLAreaDefs.h:40: warning: data definition has no type or storage class
build/GtkGLAreaDefs.h:41: error: syntax error before '*' token
build/GtkGLAreaDefs.h:41: warning: data definition has no type or storage class
build/GtkGLAreaDefs.h:42: error: syntax error before '*' token
build/GtkGLAreaDefs.h:42: warning: data definition has no type or storage class
GtkGLArea.c: In function `XS_Gtk__GLArea_new':
GtkGLArea.c:59: error: `Gtk__GLArea_Sink' undeclared (first use in this function)
GtkGLArea.c:59: error: (Each undeclared identifier is reported only once
GtkGLArea.c:59: error: for each function it appears in.)
GtkGLArea.c:59: error: syntax error before "RETVAL"
GtkGLArea.xs:45: warning: assignment makes pointer from integer without a cast
GtkGLArea.xs:46: error: `RETVAL' undeclared (first use in this function)
GtkGLArea.c: In function `XS_Gtk__GLArea_share_new':
GtkGLArea.c:92: error: `Gtk__GLArea' undeclared (first use in this function)
GtkGLArea.c:92: error: syntax error before "share"
GtkGLArea.c:93: error: `Gtk__GLArea_Sink' undeclared (first use in this function)
GtkGLArea.c:100: error: `share' undeclared (first use in this function)
GtkGLArea.xs:63: error: `RETVAL' undeclared (first use in this function)
GtkGLArea.xs:63: error: `GtkGLArea' undeclared (first use in this function)
GtkGLArea.xs:63: error: syntax error before ')' token
GtkGLArea.c: In function `XS_Gtk__GLArea_begingl':
GtkGLArea.c:131: error: `Gtk__GLArea' undeclared (first use in this function)
GtkGLArea.c:131: error: syntax error before "self"
GtkGLArea.c:140: error: `self' undeclared (first use in this function)
GtkGLArea.c: In function `XS_Gtk__GLArea_endgl':
GtkGLArea.c:156: error: `Gtk__GLArea' undeclared (first use in this function)
GtkGLArea.c:156: error: syntax error before "self"
GtkGLArea.c:163: error: `self' undeclared (first use in this function)
GtkGLArea.c: In function `XS_Gtk__GLArea_swapbuffers':
GtkGLArea.c:178: error: `Gtk__GLArea' undeclared (first use in this function)
GtkGLArea.c:178: error: syntax error before "self"
GtkGLArea.c:185: error: `self' undeclared (first use in this function)
GtkGLArea.c: In function `XS_Gtk__GLArea_size':
GtkGLArea.c:200: error: `Gtk__GLArea' undeclared (first use in this function)
GtkGLArea.c:200: error: syntax error before "self"
GtkGLArea.c:209: error: `self' undeclared (first use in this function)
GtkGLArea.c: In function `XS_Gtk__GLArea_glcontext':
GtkGLArea.c:224: error: `Gtk__GLArea' undeclared (first use in this function)
GtkGLArea.c:224: error: syntax error before "self"
GtkGLArea.c:232: error: `self' undeclared (first use in this function)
GtkGLArea.xs:91: error: `RETVAL' undeclared (first use in this function)
GtkGLArea.c: In function `XS_Gtk__Gdk__GL__Context_DESTROY':
GtkGLArea.c:258: error: syntax error before "self"
GtkGLArea.c:263: error: `self' undeclared (first use in this function)
GtkGLArea.c: In function `XS_Gtk__Gdk__GL__Pixmap_DESTROY':
GtkGLArea.c:280: error: syntax error before "self"
GtkGLArea.c:285: error: `self' undeclared (first use in this function)
make[1]: *** [xs/GtkGLArea.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-perl-0.7008-r11/work/Gtk-Perl-0.7008/GtkGLArea'
make: *** [subdirs] Error 2
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-09-10 19:54:30 UTC
Looks like we may have to resort to ugly measures here (ie, sed) - seems that the --without directives aren't being honored in the least but as far as the gl check is concerned
Comment 2 Fluff 2004-10-13 17:14:43 UTC
Sorry I'm not into patching and diff so I'll write it out in plain text.

The gtk-perl-0.7008-r11.ebuild and gtk-perl-0.7009.ebuild both have the following line:
use opengl || mycong="${myconf} --without-gtkglarea"

which should be changed into:
use opengl || myconf="${myconf} --without-gtkglarea"

and that should resolve the problem.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2004-10-15 02:22:06 UTC
Ay yeesh, how could I have missed a typo like that???

OK, that's been fixed, please let me know if this resolves it on your end (giving it a whirl over here now)
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-03-07 07:11:32 UTC
No comment after my last post, closing