| Summary: | media-libs/amanith-0.3-r1 fails to build | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christoph Brill (egore) (RESIGNED) <egore> |
| Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugs, hkbst, mark_alec, Shingoshi, yngwin |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 143388 | ||
| Attachments: |
LC_ALL=C emerge -1 amanith &> amanith.log
amanith-glew-update.patch amanith-0.3-r1-ebuild-glew.patch The patched ebuild |
||
|
Description
Christoph Brill (egore) (RESIGNED)
2007-12-14 20:01:07 UTC
Created attachment 138498 [details]
LC_ALL=C emerge -1 amanith &> amanith.log
Created attachment 138500 [details, diff]
amanith-glew-update.patch
I updated the glew.c (which is a copy of the media-libs/glew package) to the latest version (1.4.0) and it works.
I'm not sure if this is the same compile problem but.. I noticed if you don't have the jpeg use flag it fails, and if you have the opengl flag it fails.. This command is how I solved the problem... echo "=media-libs/amanith-0.3-r1 jpeg png -opengl -truetype -examples" >> /etc/portage/package.use I noticed all this when trying to install the fretsonfire ebuild. More here: http://gentoo-wiki.com/Frets_On_Fire_-_FoF#Problem:_emerging_amanith for future reference... Created attachment 138838 [details, diff]
amanith-0.3-r1-ebuild-glew.patch
Patch that pacthes the ebuild to use the patch.
*** Bug 204873 has been marked as a duplicate of this bug. *** Same error applies to ~x86 When emerged with all USE flags disabled, it fails with >>> Source compiled. >>> Test phase [not enabled]: media-libs/amanith-0.3-r1 >>> Install amanith-0.3-r1 into /var/tmp/portage/media-libs/amanith-0.3-r1/image/ category media-libs !!! dolib: plugins/*.so* does not exist * * ERROR: media-libs/amanith-0.3-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_install * ebuild.sh, line 1138: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * amanith-0.3-r1.ebuild, line 59: Called die * The specific snippet of code: * dolib.so lib/*.so* plugins/*.so* || die * The die message: * (no error message) Created attachment 150976 [details]
The patched ebuild
A few sabayon users tested the patch and it works. vapier, please update the ebuild.
I am including an already patched ebuild, for convenience.
I added the patched ebuild to the sabayon overlay until this is fixed.
(In reply to comment #8) > Created an attachment (id=150976) [edit] > The patched ebuild > > A few sabayon users tested the patch and it works. vapier, please update the > ebuild. > I am including an already patched ebuild, for convenience. > > I added the patched ebuild to the sabayon overlay until this is fixed. > Thank you so much for mentioning the sabayon overlay. I have now installed and will begin using it immediately. Shingoshi Using the Sabayon overlay, I have managed to install this package. Thank you for the information. Shingoshi amanith-0.3-r2.ebuild works for me with jpeg png opengl USE flags enabled. bumped in cvs, with patches from fedora. Thanks for the bump. It still fails for me, by the looks of it because of gcc-4.3: ../src/rendering/gopenglboard.cpp: In member function ‘void Amanith::GOpenGLBoard::BuildHTMLMask()’: ../src/rendering/gopenglboard.cpp:937: error: ‘memset’ is not a member of ‘std’ ../src/rendering/gopenglboard.cpp: In function ‘int Amanith::CompareSVGColor(const void*, const void*)’: ../src/rendering/gopenglboard.cpp:953: error: ‘strcmp’ was not declared in this scope ../src/rendering/gopenglboard.cpp: In member function ‘Amanith::GVector4 Amanith::GOpenGLBoard::ColorFromString(const std::string&)’: ../src/rendering/gopenglboard.cpp:1088: error: ‘strncpy’ is not a member of ‘std’ make[1]: *** [gopenglboard.o] Error 1 reopening in this case, it worked w/o problems on gcc-4.3. which USE-flags did you enable? Ben, please see comment #14. USE="jpeg opengl png truetype -examples" But strangely enough I can't reproduce. It compiles fine now, with gcc-4.3. So let's close it. :-) |