Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67849 - media-video/piave-0.2.4-r1 compile fails
Summary: media-video/piave-0.2.4-r1 compile fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-17 00:58 UTC by chalito
Modified: 2004-10-27 13:45 UTC (History)
0 users

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 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!