When trying to record or play a soundfile with gramofile , gramofile doesn't do anything. The logfiles show a segmentation fault. Steps to reproduce 1) Start gramofile 2) Select: Record audio to a sound file select the file and start recording Actual results: Gramofile returns to main menu at once In the log you'll get for example: Jan 7 17:40:19 tux64 brec_gramo[5219]: segfault at ffffffffff9a0b5c rip 000000000040230a rsp 00007fffff99f5c0 error 4 Jan 7 17:41:16 tux64 brec_gramo[5222]: segfault at ffffffffff848b58 rip 000000000040230a rsp 00007fffff8472d0 error 4 Jan 7 17:47:07 tux64 brec_gramo[5277]: segfault at ffffffffff838b5c rip 00002aaaaad88c90 rsp 00007fffff836f28 error 4 Expected results a saved soundfile Tested versions: gramofile-1.6 and gramofile-1.6-r1
This problem is caused by a missing call to basename if the macrovariable linux is not set Solved this problem by adding the following line sed -i -e "s/CFLAGS = -Wall -O2 -DUSEBUFFLOCK -DREDHAT50 -DLP2CD -DVUMETER/CFLAGS \= -Wall `echo ${CFLAGS} ` -DUSEBUFFLOCK -DLP2CD -DVUMETER -Dlinux/" bplaysrc/Makefile to the ebuild. Additionally this line assures that the CFLAGS from make.conf are used. A new ebuild is attached
Created attachment 76473 [details] Ebuild for changing some CFLAGS in gramofile
Please test w/ gramofile-1.6_p3 and reopen if you have issues with that one.