Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251634 - sci-physics/root-5.22.00 fails to compile on sparc and amd64 --- needs to depend on >=media-libs/ftgl-2.1.3
Summary: sci-physics/root-5.22.00 fails to compile on sparc and amd64 --- needs to dep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 14:25 UTC by Ferris McCormick (RETIRED)
Modified: 2008-12-19 14:36 UTC (History)
2 users (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 Ferris McCormick (RETIRED) gentoo-dev 2008-12-19 14:25:35 UTC
On sparc and two different amd64 systems, build of sci-physics/root-5.22.00 fails thus:
=====================================
graf3d/gl/src/TGLFontManager.cxx:24:24: error: FTGL/ftgl.h: No such file or directory

graf3d/gl/src/TGLFontManager.cxx: In member function ‘void TGLFont::BBox(const char*, Float_t&, Float_t&, Float_t&, Float_t&, Float_t&, Float_t&) const’:
graf3d/gl/src/TGLFontManager.cxx:110: error: invalid use of undefined type ‘struct FTFont’
include/TGLFontManager.h:20: error: forward declaration of ‘struct FTFont’
graf3d/gl/src/TGLFontManager.cxx: In member function ‘void TGLFont::Render(const char*) const’:
graf3d/gl/src/TGLFontManager.cxx:128: error: invalid use of undefined type ‘struct FTFont’
include/TGLFontManager.h:20: error: forward declaration of ‘struct FTFont’
graf3d/gl/src/TGLFontManager.cxx: In destructor ‘virtual TGLFontManager::~TGLFontManager()’:
graf3d/gl/src/TGLFontManager.cxx:243: warning: possible problem detected in invocation of delete operator:
graf3d/gl/src/TGLFontManager.cxx:243: warning: invalid use of undefined type ‘struct FTFont’
include/TGLFontManager.h:20: warning: forward declaration of ‘struct FTFont’
graf3d/gl/src/TGLFontManager.cxx:243: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
graf3d/gl/src/TGLFontManager.cxx: In member function ‘void TGLFontManager::RegisterFont(Int_t, Int_t, TGLFont::EMode, TGLFont&)’:
graf3d/gl/src/TGLFontManager.cxx:272: error: expected type-specifier before ‘FTGLBitmapFont’
graf3d/gl/src/TGLFontManager.cxx:272: error: cannot convert ‘int*’ to ‘FTFont*’ in assignment
graf3d/gl/src/TGLFontManager.cxx:272: error: expected `;' before ‘FTGLBitmapFont’
graf3d/gl/src/TGLFontManager.cxx:275: error: expected type-specifier before ‘FTGLPixmapFont’
graf3d/gl/src/TGLFontManager.cxx:275: error: cannot convert ‘int*’ to ‘FTFont*’ in assignment
graf3d/gl/src/TGLFontManager.cxx:275: error: expected `;' before ‘FTGLPixmapFont’
======================================
and so on.

This file should come from media-libs/ftgl, but its actual name is FTGL/FTGL.h, not FTGL/ftgl.h with the ftgl-2.1.2 series.

The problem is that root-5.22.00 needs to depend on something like
>=media-libs/ftgl-2.1.3
instead of just media-libs/ftgl
because -2.1.3 rearranges include/FTGL for user "convenience".
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2008-12-19 14:36:12 UTC
fixed dependency, thanks.