Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139435 - media-video/jahshaka-2.0_rc1 doesn't compile with gcc-4.x
Summary: media-video/jahshaka-2.0_rc1 doesn't compile with gcc-4.x
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482 145325
  Show dependency tree
 
Reported: 2006-07-06 08:46 UTC by tim
Modified: 2006-10-04 15:07 UTC (History)
4 users (show)

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


Attachments
jahshaka_gcc4x.patch (jahshaka_gcc4x.patch,1.43 KB, patch)
2006-07-15 10:37 UTC, Ahmed Ammar (RETIRED)
Details | Diff
media-video/jahshaka/jahshaka-2.0_rc1.ebuild (added epatch line) (jahshaka-2.0_rc1.ebuild,1.75 KB, text/plain)
2006-07-15 10:40 UTC, Ahmed Ammar (RETIRED)
Details
jahshaka-2.0_rc3.ebuild (jahshaka-2.0_rc3.ebuild,1.69 KB, text/plain)
2006-07-19 10:03 UTC, Chris Smith
Details
jahshaka-2.0_rc1-gcc41.patch (jahshaka-2.0_rc1-gcc41.patch,6.96 KB, patch)
2006-08-15 15:32 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tim 2006-07-06 08:46:45 UTC
... due to some namespacing problem:

coreeffects.h:57: error: extra qualification 
Comment 1 tim 2006-07-06 08:46:45 UTC
... due to some namespacing problem:

coreeffects.h:57: error: extra qualification EffectInfo:: on member getEffect CategoryName
coreeffects.h:99: error: extra qualification EffectInfo:: on member getEffect TypeName
coreobject.h:45: error: extra qualification JahLayer:: on member getEffectCat egory
coreobject.h:46: error: extra qualification JahLayer:: on member getPluginEff ectCategory

maybe a version bump would solve that?
Comment 2 Ahmed Ammar (RETIRED) gentoo-dev 2006-07-15 10:37:12 UTC
Created attachment 91808 [details, diff]
jahshaka_gcc4x.patch

Please try this patch, I could not test as it requires qt etc .. which i do not plan to install just for this.
Comment 3 Ahmed Ammar (RETIRED) gentoo-dev 2006-07-15 10:40:42 UTC
Created attachment 91809 [details]
media-video/jahshaka/jahshaka-2.0_rc1.ebuild (added epatch line)
Comment 4 Chris Smith 2006-07-19 09:37:30 UTC
I get a different error with the patch:

glworld.h:166: error: extra qualification 'GLWorld::' on member 'SaveAll'
glworld.h:167: error: extra qualification 'GLWorld::' on member 'SaveAllData'
make[2]: *** [glworld.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/jahshaka-2.0_rc1/work/jahshaka/source/Jahshaka/JahCore/jahworld'
make[1]: *** [sub-jahworld] Error 2
make[1]: Leaving directory `/var/tmp/portage/jahshaka-2.0_rc1/work/jahshaka/source/Jahshaka/JahCore'
make: *** [sub-source-Jahshaka-JahCore] Error 2

!!! ERROR: media-video/jahshaka-2.0_rc1 failed.

However, as RC3 is out and available for other platforms a version bump should be released to see if the same problem(s) remain.
Comment 5 Chris Smith 2006-07-19 10:00:09 UTC
Here's the error I get with jahshaka-2.0-rc3 - seems to be opengl related:

i686-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -march=i686 -mtune=pentium4 -pipe -fno-strict-aliasing -rdynamic -D_REENTRANT -fPIC  -DNDEBUG -DJAHPREFIX=\"/usr\" -D_THREAD_SAFE=true -DJAHTHEMES -DJAHGIFT -DNVIDIA_GPU -DMLTSUPPORT -DJAHSCRIPT -DJAHLINUX -DOPENGPULIB_EXPORTS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I/usr/include -I/usr/include -o gpumathlib.o gpumathlib.cpp
In file included from gpumathlib.cpp:10:
gpumathlib.h:17:21: error: GL/glew.h: No such file or directory
glsl_objects.h:22: error: 'GLhandleARB' does not name a type
glsl_objects.h:26: error: 'GLenum' has not been declared
glsl_objects.h:27: error: expected `)' before 'type'
glsl_objects.h:30: error: ISO C++ forbids declaration of 'GLhandleARB' with no type
<snip>
gpumathlib.cpp: In function 'bool checkComplexArbSupport(QString, int, int)':
gpumathlib.cpp:1382: error: 'countARBFPInstructions' cannot be used as a function
make[2]: *** [gpumathlib.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/jahshaka-2.0_rc3/work/jahshaka/source/OpenLibraries/opengpulib'
make[1]: *** [sub-opengpulib] Error 2
make[1]: Leaving directory `/var/tmp/portage/jahshaka-2.0_rc3/work/jahshaka/source/OpenLibraries'
make: *** [sub-source-OpenLibraries] Error 2

!!! ERROR: media-video/jahshaka-2.0_rc3 failed.
Comment 6 Chris Smith 2006-07-19 10:03:18 UTC
Created attachment 92221 [details]
jahshaka-2.0_rc3.ebuild

an edit of the rc1 ebuild to bring it to rc3
might see a 2.0 release soon as the tarball is at 2.0.0 (no rc3 at the end)

doesn't build for me (see above post)
but neither does rc1 (with or without the patch)

Chris
Comment 7 Chris Smith 2006-07-19 10:52:10 UTC
apparently the installation of:

media-libs/glew

gets me past the opengl errors with rc3

but now I get this:
==============================
exr.cpp:12:43: error: openpluginlib/openpluginlib.hpp: No such file or directory
exr.cpp:13:40: error: openpluginlib/utf8_utils.hpp: No such file or directory
exr.cpp:15:51: error: openimagelib/il/openimagelib_plugin.hpp: No such file or directory
exr.cpp:19: error: 'olib' has not been declared
exr.cpp:19: error: 'openpluginlib' is not a namespace-name
exr.cpp:19: error: expected namespace-name before ';' token
exr.cpp:20: error: 'olib' has not been declared
<snip>
exr.cpp:61: error: 'il' has not been declared
exr.cpp:62: error: 'il' has not been declared
make[2]: *** [exr.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/jahshaka-2.0_rc3/work/jahshaka/source/OpenLibraries/openimagelib'
make[1]: *** [sub-openimagelib] Error 2
make[1]: Leaving directory `/var/tmp/portage/jahshaka-2.0_rc3/work/jahshaka/source/OpenLibraries'
make: *** [sub-source-OpenLibraries] Error 2

!!! ERROR: media-video/jahshaka-2.0_rc3 failed.
==============================

Seems it wants openlibraries from:
http://www.openlibraries.org/

which I don't find an ebuild for.

Chris
Comment 8 Andrei Slavoiu 2006-08-15 15:32:44 UTC
Created attachment 94355 [details, diff]
jahshaka-2.0_rc1-gcc41.patch

The first patch attached here fixes just 2 of the errors for gcc4, this is the complete one.
Comment 9 Ahmed Ammar (RETIRED) gentoo-dev 2006-08-16 04:27:51 UTC
Comment on attachment 91808 [details, diff]
jahshaka_gcc4x.patch

This patch is now oboslete
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-19 14:43:03 UTC
Confirm that the patch from comment #7 works, could a video dev commit it?
Comment 11 Christoph Mende (RETIRED) gentoo-dev 2006-09-01 15:50:47 UTC
I can confirm, that the patch works under amd64, *but* I had to emerge glew before and the ebuild fails multilib-strict.
Comment 12 Steve Dibb (RETIRED) gentoo-dev 2006-10-04 15:07:10 UTC
Removing from tree, see bug 150116