FS#59154 - [audaspace] fails to build

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Wednesday, 27 June 2018, 09:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 07 July 2018, 15:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

extra-x86_64-build fails with:

[ 9%] Building CXX object CMakeFiles/audaspace.dir/src/fx/BinauralSound.cpp.o
In file included from /build/audaspace/src/audaspace-1.3.0/include/fx/BinauralSound.h:28,
from /build/audaspace/src/audaspace-1.3.0/src/fx/BinauralSound.cpp:17:
/build/audaspace/src/audaspace-1.3.0/include/util/ThreadPool.h: In member function ‘std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> aud::ThreadPool::enqueue(T&&, Args&& ...)’:
/build/audaspace/src/audaspace-1.3.0/include/util/ThreadPool.h:94:68: error: ‘bind’ is not a member of ‘std’
std::shared_ptr<pkgdTask> task = std::make_shared<pkgdTask>(std::bind(std::forward<T>(t), std::forward<Args>(args)...));
^~~~
/build/audaspace/src/audaspace-1.3.0/include/util/ThreadPool.h:94:68: note: ‘std::bind’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
/build/audaspace/src/audaspace-1.3.0/include/util/ThreadPool.h:33:1:
+#include <functional>

/build/audaspace/src/audaspace-1.3.0/include/util/ThreadPool.h:94:68:
std::shared_ptr<pkgdTask> task = std::make_shared<pkgdTask>(std::bind(std::forward<T>(t), std::forward<Args>(args)...));
^~~~
make[2]: *** [CMakeFiles/audaspace.dir/build.make:232: CMakeFiles/audaspace.dir/src/fx/BinauralSound.cpp.o] Error 1

Additional info:
* package version(s)
audaspace 1.3.0-1 (git revision bd8f49b9f74d2f9b731fd5b0e28bf88fb69a4f48)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout bd8f49b9f74d2f9b731fd5b0e28bf88fb69a4f48
> cd audaspace/repos/community-x86_64
> extra-x86_64-build
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 07 July 2018, 15:41 GMT
Reason for closing:  Fixed

Loading...