Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aria2 1.24.0 build failure under OS X (MacPorts) #683

Closed
Schamschula opened this issue Jun 18, 2016 · 2 comments
Closed

aria2 1.24.0 build failure under OS X (MacPorts) #683

Schamschula opened this issue Jun 18, 2016 · 2 comments
Milestone

Comments

@Schamschula
Copy link

Schamschula commented Jun 18, 2016

When building aria2 1.24.0 on Yosemite under MacPorts, I get the following error:

CXX      DHTMessageFactoryImpl.lo
DHTGetPeersMessage.cc:94:48: error: implicit instantiation of undefined template 'std::__1::array<unsigned char, 16>'
  std::array<uint8_t, sizeof(struct in6_addr)> dst;
                                               ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:95:65: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array;
                                                                ^
1 error generated.
@tatsuhiro-t
Copy link
Collaborator

Thank you. Fix committed via 1e59e35

@tatsuhiro-t tatsuhiro-t added this to the v1.25.0 milestone Jun 19, 2016
@nmaier
Copy link
Collaborator

nmaier commented Jul 5, 2016

Oh yeah, my good old friend, the missing #inlcude <array>. Had to do the same change when building the 1.24.0 release.
Works for me on master after your commit, so closing.

@nmaier nmaier closed this as completed Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants