Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83320 - media-plugins/mythphone-0.17 - Compile failed
Summary: media-plugins/mythphone-0.17 - Compile failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-25 10:19 UTC by Gal Goldschmidt
Modified: 2005-05-18 06:13 UTC (History)
0 users

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


Attachments
This add the missing #include <cmath> (mythphone-0.17-include.patch,285 bytes, patch)
2005-02-25 14:36 UTC, Gal Goldschmidt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gal Goldschmidt 2005-02-25 10:19:37 UTC
g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -D_REENTRANT -DUSE_PTHREADS -DWAV49 -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/qt/3/include -o dtmffilter.o dtmffilter.cpp
gsm/short_term.c: In function `Decoding_of_the_coded_Log_Area_Ratios':
gsm/short_term.c:33: warning: unused variable `ltmp'
gsm/short_term.c: In function `Coefficients_0_12':
gsm/short_term.c:102: warning: unused variable `ltmp'
gsm/short_term.c: In function `Coefficients_13_26':
gsm/short_term.c:116: warning: unused variable `ltmp'
gsm/short_term.c: In function `Coefficients_27_39':
gsm/short_term.c:128: warning: unused variable `ltmp'
gsm/short_term.c: In function `LARp_to_rp':
gsm/short_term.c:159: warning: unused variable `ltmp'
gsm/short_term.c: In function `Gsm_Short_Term_Analysis_Filter':
gsm/short_term.c:381: warning: unused variable `i'
/usr/qt/3/bin/moc phoneui.h -o moc_phoneui.cpp
/usr/qt/3/bin/moc sipfsm.h -o moc_sipfsm.cpp
/usr/qt/3/bin/moc tone.h -o moc_tone.cpp
g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -D_REENTRANT -DUSE_PTHREADS -DWAV49 -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/qt/3/include -o moc_sipfsm.o moc_sipfsm.cpp
g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -D_REENTRANT -DUSE_PTHREADS -DWAV49 -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/qt/3/include -o moc_tone.o moc_tone.cpp
distcc[25583] ERROR: compile /root/.ccache/dtmffilter.tmp.pvr.25567.ii on 192.168.1.2 failed
dtmffilter.cpp: In member function `void goertzel::checkMatch()':
dtmffilter.cpp:180: error: `sqrt' undeclared (first use this function)
dtmffilter.cpp:180: error: (Each undeclared identifier is reported only once for each function it appears in.)
dtmffilter.cpp: In member function `void goertzel::initialise(int, float, float)':
dtmffilter.cpp:233: error: `M_PI' undeclared (first use this function)
dtmffilter.cpp:234: error: `sin' undeclared (first use this function)
dtmffilter.cpp:235: error: `cos' undeclared (first use this function)
distcc[25567] ERROR: compile dtmffilter.cpp on 192.168.1.2 failed
make[1]: *** [dtmffilter.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/portage/mythphone-0.17/work/mythphone-0.17/mythphone'
make: *** [sub-mythphone] Error 2

!!! ERROR: media-plugins/mythphone-0.17 failed.
!!! Function myth_src_compile, Line 54, Exitcode 2


Reproducible: Always
Steps to Reproduce:
1.emerge =media-plugins/mythphone-0.17


Actual Results:  
The compile failed  

Expected Results:  
A clean install  

It seems  dtmffilter.cpp is missing #include <cmath>.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-25 11:01:45 UTC
Gal: "compile failed" is one of the most unsuitable summary entries you can choose. Also there's no justification for setting the severity to blocking.
Comment 2 Gal Goldschmidt 2005-02-25 14:36:34 UTC
Created attachment 52157 [details, diff]
This add the missing  #include <cmath>
Comment 3 Hans-Christian Armingeon 2005-03-30 05:13:37 UTC
please commit into protage, this works for me.

Johnny
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2005-05-15 23:35:35 UTC
Is it still needed for 0.18?
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2005-05-18 06:13:01 UTC
Fixed in 0.18-r1 then.