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

Bug 67849

Summary: media-video/piave-0.2.4-r1 compile fails
Product: Gentoo Linux Reporter: chalito <chalito>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description chalito 2004-10-17 00:58:32 UTC
media-video/piave-0.2.4-r1 compile fails on vorbisfile.cc and sndfile.cc complaining about undeclared function 'ceil'.

Reproducible: Always
Steps to Reproduce:
1.emerge piave


Actual Results:  
The ebuild failed due to a compile error while compiling
plugins/iostream/vorbisfile/vorbisfile.cc and plusing/iostream/sndfile/sndfile.cc



Expected Results:  
Should have compiled successfully

According to `man ceil`, that function is included in math.h, so adding:

#include <math.h>

to both files fixes the problem. Maybe somebody can provide a
path/diff/something and a new ebuild? (I'd like to help but I'm not sure how)
Comment 1 Malcolm Lashley (RETIRED) gentoo-dev 2004-10-26 15:05:49 UTC
Hi - can you emerge sync and try again - this gcc-porting issue was patched.

18 Oct 2004; Marc Hildebrand <zypher@gentoo.org> piave-0.2.4-r1.ebuild:
  Added gcc-3.4 patch. Thanks to Mathijs Mohlmann for the patch.

If you see the same issue - please re-open this bug.
Comment 2 chalito 2004-10-27 13:45:57 UTC
Emerges ok now. Thanks!