Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69202 - x11-misc/3dfm should depend on virtual/glut but doesn't; compilation fails without GLUT
Summary: x11-misc/3dfm should depend on virtual/glut but doesn't; compilation fails wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 17:45 UTC by David Cuddeback
Modified: 2004-10-30 19:16 UTC (History)
0 users

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


Attachments
diff file for 3dfm's ebuild. (3dfm-1.0.ebuild.diff,75 bytes, patch)
2004-10-27 17:47 UTC, David Cuddeback
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Cuddeback 2004-10-27 17:45:14 UTC
emerging x11-misc/3dfm without GLUT installed results in a few undeclared glut* error messages.  Adding virtual/glut to DEPEND solves the problem.

Reproducible: Always
Steps to Reproduce:
1.  emerge 3dfm
Actual Results:  
GRect.cpp:11:21: GL/glut.h: No such file or directory
make[2]: *** [GRect.o] Error 1
make[2]: *** Waiting for unfinished jobs....
FFolder.cpp: In function `void ourPrintString(void*, char*)':
FFolder.cpp:428: error: `glutBitmapCharacter' undeclared (first use this 
   function)
FFolder.cpp:428: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
FFolder.cpp: In member function `int FFolder::execGL(GSelectList*)':
FFolder.cpp:552: error: `GLUT_STROKE_ROMAN' undeclared (first use this 
   function)
FFolder.cpp:552: error: `glutStrokeCharacter' undeclared (first use this 
   function)
FFolder.cpp:558: error: `GLUT_BITMAP_HELVETICA_18' undeclared (first use this 
   function)
make[2]: *** [FFolder.o] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/3dfm-1.0/work/3dfm-1.0'
make: *** [all] Error 2

!!! ERROR: x11-misc/3dfm-1.0 failed.
!!! Function src_compile, Line 510, Exitcode 2
!!! emake failed

Expected Results:  
successful emerge

Very simple fix.  Here's the diff for 3dfm-1.0.ebuild:

13c13
< DEPEND="virtual/opengl"
---
> DEPEND="virtual/opengl virtual/glut"
Comment 1 David Cuddeback 2004-10-27 17:47:24 UTC
Created attachment 42735 [details, diff]
diff file for 3dfm's ebuild.
Comment 2 Sven Wegener gentoo-dev 2004-10-30 19:16:18 UTC
Fixed in CVS. Thanks for reporting!