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>.
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.
Created attachment 52157 [details, diff] This add the missing #include <cmath>
please commit into protage, this works for me. Johnny
Is it still needed for 0.18?
Fixed in 0.18-r1 then.