Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681554 - media-sound/darkice-1.3: FaacEncoder.cpp:219:45: error: ‘memmove’ was not declared in this scope
Summary: media-sound/darkice-1.3: FaacEncoder.cpp:219:45: error: ‘memmove’ was not dec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 16:06 UTC by ernsteiswuerfel
Modified: 2020-09-05 16:28 UTC (History)
0 users

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


Attachments
buil.log (darkice-1.3:20190323-155914.log,381.65 KB, text/plain)
2019-03-23 16:06 UTC, ernsteiswuerfel
Details
emerge --info (file_681554.txt,5.91 KB, text/plain)
2019-03-23 16:07 UTC, ernsteiswuerfel
Details
build.log (darkice-1.3:20190323-155914.log,381.65 KB, text/plain)
2019-03-23 16:07 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2019-03-23 16:06:33 UTC
Created attachment 570434 [details]
buil.log

Fails to build with USE='aac' if no other codecs are selected.

[ebuild   R   ] media-sound/darkice-1.3  USE="aac pulseaudio -aacplus -alsa -debug -jack -libsamplerate -mp3 -opus -twolame -vorbis"

[...]
FaacEncoder.cpp: In member function ‘virtual unsigned int FaacEncoder::write(const void*, unsigned int)’:
FaacEncoder.cpp:219:45: error: ‘memmove’ was not declared in this scope
                 resampledOffset = (short *) memmove(resampledOffset, &resampledOffset[processedSamples*channels],
                                             ^~~~~~~
FaacEncoder.cpp:219:45: note: ‘memmove’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
FaacEncoder.cpp:44:1:
+#include <cstring>
 
FaacEncoder.cpp:219:45:
                 resampledOffset = (short *) memmove(resampledOffset, &resampledOffset[processedSamples*channels],
                                             ^~~~~~~
FaacEncoder.cpp: At global scope:
FaacEncoder.cpp:252:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                                                             throw ( Exception )
                                                             ^~~~~
FaacEncoder.cpp:266:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 FaacEncoder :: close ( void )                           throw ( Exception )
                                                         ^~~~~
make[2]: *** [Makefile:836: darkice-FaacEncoder.o] Error 1
Comment 1 ernsteiswuerfel archtester 2019-03-23 16:07:20 UTC
Created attachment 570436 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2019-03-23 16:07:41 UTC
Created attachment 570438 [details]
build.log
Comment 3 Larry the Git Cow gentoo-dev 2020-09-05 16:28:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e485c4563d46bd0f78da893349959983b0f8cc7

commit 5e485c4563d46bd0f78da893349959983b0f8cc7
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-09-05 16:27:46 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-09-05 16:28:00 +0000

    media-sound/darkice: fixed compilation
    
    Closes: https://bugs.gentoo.org/681554
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/darkice/darkice-1.3.ebuild             |  4 ++++
 media-sound/darkice/darkice-1.4.ebuild             |  4 ++++
 .../darkice/files/darkice-1.3-include.patch        | 26 ++++++++++++++++++++++
 3 files changed, 34 insertions(+)