www/aria2 dependencies & lang/llvm33 build error
andrew clarke
mail at ozzmosis.com
Sun Nov 17 11:01:57 UTC 2013
Following up on my question from yesterday...
On Sun 2013-11-17 00:22:13 UTC+1100, andrew clarke (mail at ozzmosis.com) wrote:
> I'm running FreeBSD 8.4-RELEASE-p4.
>
> www/aria2 1.18.1 requires lang/clang33. Is this really necessary?
> Previous aria2 versions didn't require clang.
I've now had a chance to check the aria2 sources and evidently it now
requires C++11 support, which I find surprising, but that's progress I
suppose...
> If so, I already have lang/clang-devel (3.4) installed, but the port
> still wants to build lang/clang33, which of course requires
> devel/llvm33.
I've just noticed for lang/clang-devel, the actual clang binary has
been recently renamed to clang-devel, but this isn't mentioned in
/usr/ports/UPDATING.
If I set CXX=clang++-devel in make.conf, the aria2 configure script
still fails though, complaining of missing C++11 support. Odd.
> However on 8.4-REL, currently llvm33 fails to build:
>
> gmake[1]: Leaving directory `/usr/ports/devel/llvm33/work/llvm-3.3.src/bindings'
> llvm[0]: ***** Completed Release Build
> sphinx-build -b man -d _build/doctrees . _build/man
> Traceback (most recent call last):
> File "/usr/local/bin/sphinx-build", line 5, in <module>
> from pkg_resources import load_entry_point
> File "build/bdist.freebsd-8.3-RELEASE-p3-amd64/egg/pkg_resources.py", line 2805, in <module>
> File "build/bdist.freebsd-8.3-RELEASE-p3-amd64/egg/pkg_resources.py", line 696, in require
> File "build/bdist.freebsd-8.3-RELEASE-p3-amd64/egg/pkg_resources.py", line 594, in resolve
> pkg_resources.DistributionNotFound: markupsafe
> gmake: *** [man] Error 1
> *** Error code 2
On a hunch I tried reinstalling textproc/py-sphinx, which failed with
the same error. Evidently py-sphinx is missing a dependency on
textproc/py-MarkupSafe. Once markupsafe is installed I could build &
install llvm33 & clang33.
But even so, the aria2 build still complains about missing C++11 support:
checking whether /usr/local/bin/clang++33 supports C++11 features by default... no
checking whether /usr/local/bin/clang++33 supports C++11 features with -std=c++11 ... no
checking whether /usr/local/bin/clang++33 supports C++11 features with -std=c++11 -stdlib=libc++... no
checking whether /usr/local/bin/clang++33 supports C++11 features with -std=c++0x ... no
checking whether /usr/local/bin/clang++33 supports C++11 features with -std=c++0x -stdlib=libc++... no
configure: error: *** A compiler with support for C++11 language features is required.
===> Script "configure" failed unexpectedly.
Any suggestions?
Regards
Andrew
More information about the freebsd-ports
mailing list