Solved HELP! Error when compiling www/aria2 on FreeBSD 9.3-RELEASE

I upgraded from FreeBSD 9.1 to FreeBSD 9.3-release from src this days, when I compile the port www/aria2, it does not work and reports an error. Other ports are recompiled well on FreeBSD 9.3-release.
I need help!
Code:
# cd /usr/ports/www/aria2
# make install clean
............
CXX MetalinkParserStateMachine.lo
CXX MetalinkParserStateV3Impl.lo
CXX MetalinkParserStateV4Impl.lo
CXX MetalinkPostDownloadHandler.lo
CXX MetalinkResource.lo
CXX metalink_helper.lo
CXX PollEventPoll.lo
CXX KqueueEventPoll.lo
CXX ApiCallbackDownloadEventListener.lo
CXX aria2api.lo
CXX KeepRunningCommand.lo
CXX main.o
CXXLD libaria2.la
libtool: link: `LibsslTLSContext.lo' is not a valid libtool object
*** [libaria2.la] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/www/aria2.
Second
make:
Code:
root@rawBSD:/usr/ports/www/aria2 # make
===> Building for aria2-1.18.10
/usr/bin/make all-recursive
Making all in po
Making all in lib
Making all in deps
Making all in wslay
/usr/bin/make all-recursive
Making all in lib
Making all in includes
Making all in tests
Making all in src
Making all in includes
CXX LibsslTLSContext.lo
LibsslTLSContext.cc: In constructor 'aria2::OpenSSLTLSContext::OpenSSLTLSContext(aria2::TLSSessionSide, aria2::TLSVersion)':
LibsslTLSContext.cc:107:17: error: 'SSL_OP_NO_TLSv1_1' was not declared in this scope
ver_opts |= SSL_OP_NO_TLSv1_1;
^
CXXLD libaria2.la
libtool: link: `LibsslTLSContext.lo' is not a valid libtool object
*** [libaria2.la] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/www/aria2.
Help!
 
I just attempted to replicate the issue on r385024 and I was able to compile the port just fine in Poudriere on a 9.3-RELEASE build jail. Follow tobik's advise and update your ports tree and you should be good to go.
 
Back
Top