Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399237

Summary: sci-astronomy/celestia-1.6.1 - oggtheoracapture.cpp:(.text+0x117): undefined reference to `ogg_stream_pageout'
Product: Gentoo Linux Reporter: boxcars
Component: New packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
output of $ emerge --info --color=n =sci-astronomy/celestia-1.6.1
ebuild environment

Description boxcars 2012-01-18 02:42:52 UTC
When I (unintentionally) tried to emerge celestia-1.6.1 without gtk but with theora, ld failed during make.  I'll mark this as minor, because who wants celestia without gtk anyway?  I'll attach the full build log &c., but maybe this is all you need:

oggtheoracapture.cpp:(.text+0xe22): undefined reference to `ogg_stream_pageout'
oggtheoracapture.cpp:(.text+0xe31): undefined reference to `ogg_stream_flush'
oggtheoracapture.cpp:(.text+0xe88): undefined reference to `theora_clear'
oggtheoracapture.cpp:(.text+0xe90): undefined reference to `ogg_stream_clear'
collect2: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.6.1/work/celestia-1.6.1/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.6.1/work/celestia-1.6.1/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.6.1/work/celestia-1.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.6.1/work/celestia-1.6.1'
make: *** [all] Error 2
emake failed

Reproducible: Always

Steps to Reproduce:
1. USE="theora -gtk"
2. emerge celestia-1.6.1

Actual Results:  
build fails

Expected Results:  
celestia builds successfully
Comment 1 boxcars 2012-01-18 02:44:06 UTC
Created attachment 299189 [details]
build log
Comment 2 boxcars 2012-01-18 02:47:15 UTC
Created attachment 299191 [details]
output of $ emerge --info --color=n =sci-astronomy/celestia-1.6.1

and here's emerge -pqv

$ emerge -pqv --color=n =sci-astronomy/celestia-1.6.1
[ebuild   R   ] sci-astronomy/celestia-1.6.1  USE="cairo nls theora threads -debug -gnome -gtk* -pch"
Comment 3 boxcars 2012-01-18 02:48:32 UTC
Created attachment 299193 [details]
ebuild environment
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-02-04 19:08:39 UTC
+  04 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org>
+  files/celestia-1.6.1-linking.patch:
+  Allow to use theora with glut wrt #399237 by <boxcars@gmx.net>